Skip to content
Snippets Groups Projects
Commit 9e469046 authored by Joas Schilling's avatar Joas Schilling
Browse files

Use non-zero exit code

parent eb1c4379
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment