diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 17:35:28 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-01-14 17:35:28 +0100 |
commit | 1d0724a7729ebcc22d286a240eac7363f1bb37d4 (patch) | |
tree | ba5d95dcefb56c93435357ab3b5362f7a79463fa /lib/private/installer.php | |
parent | 7d2a6d4c1acd60605c728d57d71a7143989a70aa (diff) | |
download | nextcloud-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.php | 5 |
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); |