Skip to content

Commit

Permalink
Merge pull request #19 from overtrue/scrutinizer-patch-1
Browse files Browse the repository at this point in the history
Scrutinizer Auto-Fixes
  • Loading branch information
overtrue authored Apr 2, 2017
2 parents 2488483 + 7f5d155 commit e7b20fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Linter.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ public function lint($files = [], $cache = true)
$files = $this->getFiles();
}

$processCallback = is_callable($this->processCallback) ? $this->processCallback : function () {
$processCallback = is_callable($this->processCallback) ? $this->processCallback : function() {
};

$errors = [];
$running = [];
$newCache = [];
$phpbin = PHP_SAPI == 'cli' ? PHP_BINARY : PHP_BINDIR .'/php';
$phpbin = PHP_SAPI == 'cli' ? PHP_BINARY : PHP_BINDIR.'/php';

while (!empty($files) || !empty($running)) {
for ($i = count($running); !empty($files) && $i < $this->procLimit; ++$i) {
Expand Down

0 comments on commit e7b20fd

Please sign in to comment.