php-git-hooks
php-git-hooks copied to clipboard
Fail with no error message
Hi,
Since last days sometimes when PHP-CS-FIXER fails wee only see Fail message like in photo attached. No specific message

Someone with the same problem? version 5.8 configuration php-cs-fixer: enabled: true levels: psr0: false psr1: true psr2: true symfony: true options: null
Hi. I will check it. From last PR is not working fine.
Thanks bruli, it can be php cs fixer last version?
I'm not sure, I think no.
If I change PhpCsFixerToolProcessor
private function setError(Process $process) { if (false === $process->isSuccessful()) { return $process->getErrorOutput(); } }
to
private function setError(Process $process) { if (false === $process->isSuccessful()) { return $process->getOutput(); } }
I get a more verbose message with error file, not error message or line. I think this is because php-cs-fixer changed his output.
