diff --git a/autotest-checkers.sh b/autotest-checkers.sh index 295b3729bf1ce7d417ecdf55dfb74981fef50401..d6a4537387939ba5b5538fab1fbe2c8d1751721f 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 f787529bef9b05e7f6639b589186e436eee830dc..22a1984b1b33be45fa20b8771f6175b56a19431c 100644 --- a/core/Command/App/CheckCode.php +++ b/core/Command/App/CheckCode.php @@ -71,6 +71,12 @@ class CheckCode extends Command implements CompletionAwareInterface { 'enable the specified checker(s)', [ '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,