diff --git a/src/PhpGitHooks/Module/PhpCsFixer/Infrastructure/Tool/PhpCsFixerToolProcessor.php b/src/PhpGitHooks/Module/PhpCsFixer/Infrastructure/Tool/PhpCsFixerToolProcessor.php index 2a50578..58aa007 100644 --- a/src/PhpGitHooks/Module/PhpCsFixer/Infrastructure/Tool/PhpCsFixerToolProcessor.php +++ b/src/PhpGitHooks/Module/PhpCsFixer/Infrastructure/Tool/PhpCsFixerToolProcessor.php @@ -74,7 +74,7 @@ private function processTool($file, $level, $options) private function setError(Process $process) { if (false === $process->isSuccessful()) { - return $process->getErrorOutput(); + return $process->getOutput(); } } }