Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Revert "allow phpmetrics --git option"
This reverts commit df0424e.
  • Loading branch information
flavius committed Mar 13, 2018
commit 941d6423f977eb0ebb32b58921aa740caa50a94e
7 changes: 0 additions & 7 deletions src/Tools/Analyzer/PhpMetricsV2.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ public function __invoke()
$args['report-html'] = $this->options->toFile('phpmetrics/');
$args['report-violations'] = $this->options->toFile('phpmetrics.xml');
}
if ($git = $this->config->value('phpmetrics.git')) {
if (is_bool($git)) {
$args[] = '--git';
} else {
$args['git'] = $git;
}
}
$args[] = $this->options->getAnalyzedDirs(',');
return $args;
}
Expand Down