From 4e2ef98ef441038a365929452d07c46679d8a2b6 Mon Sep 17 00:00:00 2001 From: insua Date: Thu, 21 Mar 2019 11:12:30 +0800 Subject: [PATCH] feat(add pass file show): --- src/pre-commit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pre-commit b/src/pre-commit index 5b15ed6..62d05c3 100644 --- a/src/pre-commit +++ b/src/pre-commit @@ -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);