Use non-zero exit code when app is not compliant (so CIs can detect the status)

This commit is contained in:
Joas Schilling 2015-06-24 11:59:43 +02:00
parent ceb80ac123
commit e5bc50d156
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ class CheckCode extends Command {
$output->writeln('<info>App is compliant - awesome job!</info>');
} else {
$output->writeln('<error>App is not compliant</error>');
return 1;
}
}
}