diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-01 15:26:10 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-01 15:26:10 +0100 |
commit | ee4d57660d6563440fdd61eb9997d0463df136a3 (patch) | |
tree | 31c4fcbc06dd068f86287a3e7eed8adeaafb7141 | |
parent | f19ba49c607dc0f2079d85330186041391d446a4 (diff) | |
parent | af44b5e5736c425b951f3657ac48d81e75a0da8a (diff) | |
download | nextcloud-server-ee4d57660d6563440fdd61eb9997d0463df136a3.tar.gz nextcloud-server-ee4d57660d6563440fdd61eb9997d0463df136a3.zip |
Merge pull request #22751 from owncloud/stable8.2-codecheckeruses
[stable8.2] Fixing CodeChecker usage
-rw-r--r-- | lib/private/installer.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php index 861ce6ea41b..75ff3c2b2e3 100644 --- a/lib/private/installer.php +++ b/lib/private/installer.php @@ -38,6 +38,9 @@ * */ +use OC\App\CodeChecker\CodeChecker; +use OC\App\CodeChecker\EmptyCheck; +use OC\App\CodeChecker\PrivateCheck; use OC\OCSClient; /** @@ -567,7 +570,7 @@ class OC_Installer{ return true; } - $codeChecker = new \OC\App\CodeChecker(); + $codeChecker = new CodeChecker(new PrivateCheck(new EmptyCheck())); $errors = $codeChecker->analyseFolder($folder); return empty($errors); |