Fail with no error message
sergiolatostadora opened this issue · 4 comments
sergiolatostadora commented
bruli commented
Hi.
I will check it.
From last PR is not working fine.
sergiolatostadora commented
Thanks bruli, it can be php cs fixer last version?
bruli commented
I'm not sure, I think no.
sergiolatostadora commented
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.