Skip to content

Commit

Permalink
Merge pull request #176 from bmitch/bmitchell-175
Browse files Browse the repository at this point in the history
Fixes #175 - Fix failing build
  • Loading branch information
bmitch authored Jan 28, 2018
2 parents 3488123 + 454079b commit d527532
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/Commands/ChurnCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
use Symfony\Component\Yaml\Yaml;
use InvalidArgumentException;

/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class ChurnCommand extends Command
{
/**
Expand Down
4 changes: 2 additions & 2 deletions src/Factories/ProcessFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public function __construct(string $commitsSince)
public function createGitCommitProcess(File $file): ChurnProcess
{
$process = new Process(
'git -C ' . escapeshellarg(getcwd()) . ' log --since=' .
escapeshellarg($this->commitsSince) . ' --name-only --pretty=format: ' .
'git -C ' . escapeshellarg(getcwd()) . ' log --since=' .
escapeshellarg($this->commitsSince) . ' --name-only --pretty=format: ' .
escapeshellarg($file->getFullPath()) . ' | sort | uniq -c | sort -nr'
);

Expand Down

0 comments on commit d527532

Please sign in to comment.