summaryrefslogtreecommitdiffstats
path: root/core/command
diff options
context:
space:
mode:
Diffstat (limited to 'core/command')
-rw-r--r--core/command/app/checkcode.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php
index 8bd079eaad1..5beb13e2c7c 100644
--- a/core/command/app/checkcode.php
+++ b/core/command/app/checkcode.php
@@ -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;
}
}
}