Skip to content
Snippets Groups Projects
Commit 6dea5e6a authored by Morris Jobke's avatar Morris Jobke
Browse files

Implement skip checkers and log the currently tested app


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent f920dfe0
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,8 @@ php ./build/htaccess-checker.php ...@@ -12,7 +12,8 @@ php ./build/htaccess-checker.php
RESULT=$(($RESULT+$?)) 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 if
[ "$app" == "dav" ] || \ [ "$app" == "dav" ] || \
[ "$app" == "encryption" ] || \ [ "$app" == "encryption" ] || \
......
...@@ -125,7 +125,10 @@ class CheckCode extends Command implements CompletionAwareInterface { ...@@ -125,7 +125,10 @@ class CheckCode extends Command implements CompletionAwareInterface {
$output->writeln(" <error>line $line: {$p['disallowedToken']} - {$p['reason']}</error>"); $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')) { if(!$input->getOption('skip-validate-info')) {
$infoChecker = new InfoChecker($this->infoParser); $infoChecker = new InfoChecker($this->infoParser);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment