Skip to content

Commit

Permalink
feat(add pass file show):
Browse files Browse the repository at this point in the history
  • Loading branch information
Insua committed Mar 21, 2019
1 parent 2e05983 commit 4e2ef98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pre-commit
Expand Up @@ -15,6 +15,8 @@ foreach ($files as $file) {
if ($count > 0) {
$report = shell_exec($phpcsCommand." ".$file);
print_r($report);
} else {
print_r($file." pass".PHP_EOL);
}
}
exit($errorCount === 0 ? 0 : 1);

0 comments on commit 4e2ef98

Please sign in to comment.