Use non-zero exit code

This commit is contained in:
Joas Schilling 2015-07-07 11:51:06 +02:00
parent eb1c437941
commit 9e469046fa

View file

@ -87,9 +87,10 @@ class CheckCode extends Command {
$output->writeln('<info>App is compliant - awesome job!</info>');
} elseif ($input->getOption('deprecated')) {
$output->writeln('<comment>App uses deprecated functionality</comment>');
return 102;
} else {
$output->writeln('<error>App is not compliant</error>');
return 1;
return 101;
}
}
}