summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xautotest-checkers.sh2
-rw-r--r--core/Command/App/CheckCode.php6
2 files changed, 7 insertions, 1 deletions
diff --git a/autotest-checkers.sh b/autotest-checkers.sh
index 295b3729bf1..d6a45373879 100755
--- a/autotest-checkers.sh
+++ b/autotest-checkers.sh
@@ -29,7 +29,7 @@ for app in $(find "apps/" -mindepth 1 -maxdepth 1 -type d -printf '%f\n'); do
[ "$app" == "updatenotification" ] || \
[ "$app" == "user_ldap" ]
then
- ./occ app:check-code -c strong-comparison "$app"
+ ./occ app:check-code --skip-checkers "$app"
else
./occ app:check-code "$app"
fi
diff --git a/core/Command/App/CheckCode.php b/core/Command/App/CheckCode.php
index f787529bef9..22a1984b1b3 100644
--- a/core/Command/App/CheckCode.php
+++ b/core/Command/App/CheckCode.php
@@ -72,6 +72,12 @@ class CheckCode extends Command implements CompletionAwareInterface {
[ 'private', 'deprecation', 'strong-comparison' ]
)
->addOption(
+ '--skip-checkers',
+ null,
+ InputOption::VALUE_NONE,
+ 'skips the the code checkers to only check info.xml, language and database schema'
+ )
+ ->addOption(
'--skip-validate-info',
null,
InputOption::VALUE_NONE,