Skip to content

Commit

Permalink
Fixed error filename. #52
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Nov 27, 2018
1 parent c91bfe0 commit 60b3dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Linter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
Expand Down

0 comments on commit 60b3dfa

Please sign in to comment.