Implement skip checkers and log the currently tested app

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/4767/head
Morris Jobke 7 years ago
parent f920dfe09b
commit 6dea5e6aad

@ -12,7 +12,8 @@ php ./build/htaccess-checker.php
RESULT=$(($RESULT+$?))
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do
for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;); do
echo "Testing $app"
if
[ "$app" == "dav" ] || \
[ "$app" == "encryption" ] || \

@ -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);

Loading…
Cancel
Save