Passed
Push — master ( 820e13...09d56e )
by Joas
12:51 queued 14s
created
apps/sharebymail/composer/composer/autoload_static.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -6,33 +6,33 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitShareByMail
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\ShareByMail\\' => 16,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\ShareByMail\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'OCA\\ShareByMail\\Activity' => __DIR__ . '/..' . '/../lib/Activity.php',
25
-        'OCA\\ShareByMail\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
26
-        'OCA\\ShareByMail\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
27
-        'OCA\\ShareByMail\\Settings' => __DIR__ . '/..' . '/../lib/Settings.php',
28
-        'OCA\\ShareByMail\\Settings\\Admin' => __DIR__ . '/..' . '/../lib/Settings/Admin.php',
29
-        'OCA\\ShareByMail\\Settings\\SettingsManager' => __DIR__ . '/..' . '/../lib/Settings/SettingsManager.php',
30
-        'OCA\\ShareByMail\\ShareByMailProvider' => __DIR__ . '/..' . '/../lib/ShareByMailProvider.php',
23
+    public static $classMap = array(
24
+        'OCA\\ShareByMail\\Activity' => __DIR__.'/..'.'/../lib/Activity.php',
25
+        'OCA\\ShareByMail\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
26
+        'OCA\\ShareByMail\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php',
27
+        'OCA\\ShareByMail\\Settings' => __DIR__.'/..'.'/../lib/Settings.php',
28
+        'OCA\\ShareByMail\\Settings\\Admin' => __DIR__.'/..'.'/../lib/Settings/Admin.php',
29
+        'OCA\\ShareByMail\\Settings\\SettingsManager' => __DIR__.'/..'.'/../lib/Settings/SettingsManager.php',
30
+        'OCA\\ShareByMail\\ShareByMailProvider' => __DIR__.'/..'.'/../lib/ShareByMailProvider.php',
31 31
     );
32 32
 
33 33
     public static function getInitializer(ClassLoader $loader)
34 34
     {
35
-        return \Closure::bind(function () use ($loader) {
35
+        return \Closure::bind(function() use ($loader) {
36 36
             $loader->prefixLengthsPsr4 = ComposerStaticInitShareByMail::$prefixLengthsPsr4;
37 37
             $loader->prefixDirsPsr4 = ComposerStaticInitShareByMail::$prefixDirsPsr4;
38 38
             $loader->classMap = ComposerStaticInitShareByMail::$classMap;
Please login to merge, or discard this patch.
apps/sharebymail/composer/composer/autoload_psr4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'OCA\\ShareByMail\\' => array($baseDir . '/../lib'),
9
+    'OCA\\ShareByMail\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
apps/sharebymail/composer/composer/autoload_classmap.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'OCA\\ShareByMail\\Activity' => $baseDir . '/../lib/Activity.php',
10
-    'OCA\\ShareByMail\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
11
-    'OCA\\ShareByMail\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
12
-    'OCA\\ShareByMail\\Settings' => $baseDir . '/../lib/Settings.php',
13
-    'OCA\\ShareByMail\\Settings\\Admin' => $baseDir . '/../lib/Settings/Admin.php',
14
-    'OCA\\ShareByMail\\Settings\\SettingsManager' => $baseDir . '/../lib/Settings/SettingsManager.php',
15
-    'OCA\\ShareByMail\\ShareByMailProvider' => $baseDir . '/../lib/ShareByMailProvider.php',
9
+    'OCA\\ShareByMail\\Activity' => $baseDir.'/../lib/Activity.php',
10
+    'OCA\\ShareByMail\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
11
+    'OCA\\ShareByMail\\Capabilities' => $baseDir.'/../lib/Capabilities.php',
12
+    'OCA\\ShareByMail\\Settings' => $baseDir.'/../lib/Settings.php',
13
+    'OCA\\ShareByMail\\Settings\\Admin' => $baseDir.'/../lib/Settings/Admin.php',
14
+    'OCA\\ShareByMail\\Settings\\SettingsManager' => $baseDir.'/../lib/Settings/SettingsManager.php',
15
+    'OCA\\ShareByMail\\ShareByMailProvider' => $baseDir.'/../lib/ShareByMailProvider.php',
16 16
 );
Please login to merge, or discard this patch.
apps/updatenotification/composer/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 // autoload.php @generated by Composer
4 4
 
5
-require_once __DIR__ . '/composer/autoload_real.php';
5
+require_once __DIR__.'/composer/autoload_real.php';
6 6
 
7 7
 return ComposerAutoloaderInitUpdateNotification::getLoader();
Please login to merge, or discard this patch.
apps/updatenotification/composer/composer/autoload_psr4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'OCA\\UpdateNotification\\' => array($baseDir . '/../lib'),
9
+    'OCA\\UpdateNotification\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
apps/files_versions/composer/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 // autoload.php @generated by Composer
4 4
 
5
-require_once __DIR__ . '/composer/autoload_real.php';
5
+require_once __DIR__.'/composer/autoload_real.php';
6 6
 
7 7
 return ComposerAutoloaderInitFiles_Versions::getLoader();
Please login to merge, or discard this patch.
apps/files_versions/composer/composer/autoload_psr4.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'OCA\\Files_Versions\\' => array($baseDir . '/../lib'),
9
+    'OCA\\Files_Versions\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
lib/private/Collaboration/Collaborators/SearchResult.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,13 +37,13 @@  discard block
 block discarded – undo
37 37
 
38 38
 	public function addResultSet(SearchResultType $type, array $matches, array $exactMatches = null) {
39 39
 		$type = $type->getLabel();
40
-		if(!isset($this->result[$type])) {
40
+		if (!isset($this->result[$type])) {
41 41
 			$this->result[$type] = [];
42 42
 			$this->result['exact'][$type] = [];
43 43
 		}
44 44
 
45 45
 		$this->result[$type] = array_merge($this->result[$type], $matches);
46
-		if(is_array($exactMatches)) {
46
+		if (is_array($exactMatches)) {
47 47
 			$this->result['exact'][$type] = array_merge($this->result['exact'][$type], $exactMatches);
48 48
 		}
49 49
 	}
@@ -58,12 +58,12 @@  discard block
 block discarded – undo
58 58
 
59 59
 	public function hasResult(SearchResultType $type, $collaboratorId) {
60 60
 		$type = $type->getLabel();
61
-		if(!isset($this->result[$type])) {
61
+		if (!isset($this->result[$type])) {
62 62
 			return false;
63 63
 		}
64 64
 
65 65
 		$resultArrays = [$this->result['exact'][$type], $this->result[$type]];
66
-		foreach($resultArrays as $resultArray) {
66
+		foreach ($resultArrays as $resultArray) {
67 67
 			foreach ($resultArray as $result) {
68 68
 				if ($result['value']['shareWith'] === $collaboratorId) {
69 69
 					return true;
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 	public function unsetResult(SearchResultType $type) {
82 82
 		$type = $type->getLabel();
83 83
 		$this->result[$type] = [];
84
-		if(isset($this->result['exact'][$type])) {
84
+		if (isset($this->result['exact'][$type])) {
85 85
 			$this->result['exact'][$type] = [];
86 86
 		}
87 87
 	}
Please login to merge, or discard this patch.
apps/user_ldap/appinfo/app.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
 $helper = new \OCA\User_LDAP\Helper(\OC::$server->getConfig());
40 40
 $configPrefixes = $helper->getServerConfigurationPrefixes(true);
41
-if(count($configPrefixes) > 0) {
41
+if (count($configPrefixes) > 0) {
42 42
 	$ldapWrapper = new OCA\User_LDAP\LDAP();
43 43
 	$ocConfig = \OC::$server->getConfig();
44 44
 	$notificationManager = \OC::$server->getNotificationManager();
@@ -58,10 +58,10 @@  discard block
 block discarded – undo
58 58
 	$userPluginManager = \OC::$server->query('LDAPUserPluginManager');
59 59
 	$groupPluginManager = \OC::$server->query('LDAPGroupPluginManager');
60 60
 
61
-	$userBackend  = new OCA\User_LDAP\User_Proxy(
61
+	$userBackend = new OCA\User_LDAP\User_Proxy(
62 62
 		$configPrefixes, $ldapWrapper, $ocConfig, $notificationManager, $userSession, $userPluginManager
63 63
 	);
64
-	$groupBackend  = new OCA\User_LDAP\Group_Proxy($configPrefixes, $ldapWrapper, $groupPluginManager);
64
+	$groupBackend = new OCA\User_LDAP\Group_Proxy($configPrefixes, $ldapWrapper, $groupPluginManager);
65 65
 	// register user backend
66 66
 	OC_User::useBackend($userBackend);
67 67
 
Please login to merge, or discard this patch.