Merge pull request #3627 from rectorphp/fix-error

fail on found errors
This commit is contained in:
Tomas Votruba 2020-07-01 22:03:19 +02:00 committed by GitHub
commit 9901e54edc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,7 @@ final class ProcessCommand extends AbstractCommand
// some errors were found → fail
if ($this->errorAndDiffCollector->getErrors() !== []) {
return ShellCode::SUCCESS;
return ShellCode::ERROR;
}
// inverse error code for CI dry-run