From 6dea5e6aadc9611821d6f6c3949af56e9ca298f7 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 16 May 2017 16:18:02 -0500 Subject: Implement skip checkers and log the currently tested app Signed-off-by: Morris Jobke --- core/Command/App/CheckCode.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core/Command') 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(" line $line: {$p['disallowedToken']} - {$p['reason']}"); } }); - $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); -- cgit v1.2.3