diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-05-16 16:18:02 -0500 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-05-16 16:18:02 -0500 |
commit | 6dea5e6aadc9611821d6f6c3949af56e9ca298f7 (patch) | |
tree | 3ed0b1c7cf1bf341b6caeb67fda537523c32355b /core/Command/App | |
parent | f920dfe09b15e101bc4bdf7052afe116c6872742 (diff) | |
download | nextcloud-server-6dea5e6aadc9611821d6f6c3949af56e9ca298f7.tar.gz nextcloud-server-6dea5e6aadc9611821d6f6c3949af56e9ca298f7.zip |
Implement skip checkers and log the currently tested app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/Command/App')
-rw-r--r-- | core/Command/App/CheckCode.php | 5 |
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); |