Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-05-11 10:52:55 +0300
committerJoas Schilling <coding@schilljs.com>2017-05-16 17:17:56 +0300
commitf920dfe09b15e101bc4bdf7052afe116c6872742 (patch)
treef8f88c76c126ee5d5ab793c0a5d5385851775e42
parent7ec58479f98ef6c8021c079ad701aebecd0fbea7 (diff)
Skip the code checking for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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,