From e5bc50d1567accbeffd1fa1e2fc811f329f8e898 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 24 Jun 2015 11:59:43 +0200 Subject: [PATCH] Use non-zero exit code when app is not compliant (so CIs can detect the status) --- core/command/app/checkcode.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/command/app/checkcode.php b/core/command/app/checkcode.php index 6d10714d41..9e5514429f 100644 --- a/core/command/app/checkcode.php +++ b/core/command/app/checkcode.php @@ -73,6 +73,7 @@ class CheckCode extends Command { $output->writeln('App is compliant - awesome job!'); } else { $output->writeln('App is not compliant'); + return 1; } } }