diff --git a/src/Linter.php b/src/Linter.php index 2f489a90..23cb96bd 100644 --- a/src/Linter.php +++ b/src/Linter.php @@ -99,7 +99,7 @@ public function lint($files = [], $cache = true) $key = $file->getRelativePathname(); if (!isset($this->cache[$key]) || $this->cache[$key] !== md5_file($filename)) { $lint = new Lint(escapeshellcmd($phpbin).' -d error_reporting=E_ALL -d display_errors=On -l '.escapeshellarg($filename)); - $running[$key] = [ + $running[$filename] = [ 'process' => $lint, 'file' => $file, ];