aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/installer.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-14 17:35:28 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-14 17:35:28 +0100
commit1d0724a7729ebcc22d286a240eac7363f1bb37d4 (patch)
treeba5d95dcefb56c93435357ab3b5362f7a79463fa /lib/private/installer.php
parent7d2a6d4c1acd60605c728d57d71a7143989a70aa (diff)
downloadnextcloud-server-1d0724a7729ebcc22d286a240eac7363f1bb37d4.tar.gz
nextcloud-server-1d0724a7729ebcc22d286a240eac7363f1bb37d4.zip
Fixing CodeChecker usage :see_no_evil:
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index ace3d65c002..f30db9ca659 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;
/**
@@ -605,7 +608,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);