From f920dfe09b15e101bc4bdf7052afe116c6872742 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Thu, 11 May 2017 09:52:55 +0200
Subject: [PATCH] Skip the code checking for now

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 autotest-checkers.sh           | 2 +-
 core/Command/App/CheckCode.php | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

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
@@ -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,
-- 
GitLab