aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/App/CheckCode.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/App/CheckCode.php')
-rw-r--r--core/Command/App/CheckCode.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Command/App/CheckCode.php b/core/Command/App/CheckCode.php
index 22a1984b1b3..46b9b748ada 100644
--- a/core/Command/App/CheckCode.php
+++ b/core/Command/App/CheckCode.php
@@ -125,7 +125,10 @@ class CheckCode extends Command implements CompletionAwareInterface {
$output->writeln(" <error>line $line: {$p['disallowedToken']} - {$p['reason']}</error>");
}
});
- $errors = $codeChecker->analyse($appId);
+ $errors = [];
+ if(!$input->getOption('skip-checkers')) {
+ $errors = $codeChecker->analyse($appId);
+ }
if(!$input->getOption('skip-validate-info')) {
$infoChecker = new InfoChecker($this->infoParser);