Passed
Push — master ( 13846a...151523 )
by Joas
15:13 queued 14s
created
lib/private/DB/SchemaWrapper.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	 */
66 66
 	public function getTableNamesWithoutPrefix() {
67 67
 		$tableNames = $this->schema->getTableNames();
68
-		return array_map(function ($tableName) {
68
+		return array_map(function($tableName) {
69 69
 			if (strpos($tableName, $this->connection->getPrefix()) === 0) {
70 70
 				return substr($tableName, strlen($this->connection->getPrefix()));
71 71
 			}
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	 * @throws \Doctrine\DBAL\Schema\SchemaException
91 91
 	 */
92 92
 	public function getTable($tableName) {
93
-		return $this->schema->getTable($this->connection->getPrefix() . $tableName);
93
+		return $this->schema->getTable($this->connection->getPrefix().$tableName);
94 94
 	}
95 95
 
96 96
 	/**
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 	 * @return boolean
102 102
 	 */
103 103
 	public function hasTable($tableName) {
104
-		return $this->schema->hasTable($this->connection->getPrefix() . $tableName);
104
+		return $this->schema->hasTable($this->connection->getPrefix().$tableName);
105 105
 	}
106 106
 
107 107
 	/**
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 	 */
113 113
 	public function createTable($tableName) {
114 114
 		unset($this->tablesToDelete[$tableName]);
115
-		return $this->schema->createTable($this->connection->getPrefix() . $tableName);
115
+		return $this->schema->createTable($this->connection->getPrefix().$tableName);
116 116
 	}
117 117
 
118 118
 	/**
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 	 */
124 124
 	public function dropTable($tableName) {
125 125
 		$this->tablesToDelete[$tableName] = true;
126
-		return $this->schema->dropTable($this->connection->getPrefix() . $tableName);
126
+		return $this->schema->dropTable($this->connection->getPrefix().$tableName);
127 127
 	}
128 128
 
129 129
 	/**
Please login to merge, or discard this patch.
apps/encryption/lib/AppInfo/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 		$encryptionManager->registerEncryptionModule(
95 95
 			Encryption::ID,
96 96
 			Encryption::DISPLAY_NAME,
97
-			function () use ($container) {
97
+			function() use ($container) {
98 98
 				return new Encryption(
99 99
 				$container->query(Crypt::class),
100 100
 				$container->query(KeyManager::class),
Please login to merge, or discard this patch.
lib/private/Federation/CloudId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 		if ($this->displayName) {
67 67
 			$atPos = strrpos($this->getId(), '@');
68 68
 			$atHost = substr($this->getId(), $atPos);
69
-			return $this->displayName . $atHost;
69
+			return $this->displayName.$atHost;
70 70
 		}
71 71
 		return str_replace('https://', '', str_replace('http://', '', $this->getId()));
72 72
 	}
Please login to merge, or discard this patch.
apps/dav/lib/CardDAV/MultiGetExportPlugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,14 +73,14 @@
 block discarded – undo
73 73
 		$responseXml = $this->server->xml->parse($responseBody);
74 74
 
75 75
 		// Reduce the vcards into one string
76
-		$output = array_reduce($responseXml->getResponses(), function ($vcf, $card) {
77
-			$vcf .= $card->getResponseProperties()[200]['{urn:ietf:params:xml:ns:carddav}address-data'] . PHP_EOL;
76
+		$output = array_reduce($responseXml->getResponses(), function($vcf, $card) {
77
+			$vcf .= $card->getResponseProperties()[200]['{urn:ietf:params:xml:ns:carddav}address-data'].PHP_EOL;
78 78
 			return $vcf;
79 79
 		}, '');
80 80
 
81 81
 		// Build and override the response
82
-		$filename = 'vcfexport-' . date('Y-m-d') . '.vcf';
83
-		$response->setHeader('Content-Disposition', 'attachment; filename="' . $filename . '"');
82
+		$filename = 'vcfexport-'.date('Y-m-d').'.vcf';
83
+		$response->setHeader('Content-Disposition', 'attachment; filename="'.$filename.'"');
84 84
 		$response->setHeader('Content-Type', 'text/vcard');
85 85
 
86 86
 		$response->setStatus(200);
Please login to merge, or discard this patch.
lib/private/Files/ObjectStore/Swift.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
 
153 153
 	public function copyObject($from, $to) {
154 154
 		$this->getContainer()->getObject($from)->copy([
155
-			'destination' => $this->getContainer()->name . '/' . $to
155
+			'destination' => $this->getContainer()->name.'/'.$to
156 156
 		]);
157 157
 	}
158 158
 }
Please login to merge, or discard this patch.
lib/private/Share/Helper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 		if ($defaultExpireDate === 'yes') {
47 47
 			$enforceExpireDate = $config->getAppValue('core', 'shareapi_enforce_expire_date', 'no');
48 48
 			$defaultExpireSettings['defaultExpireDateSet'] = true;
49
-			$defaultExpireSettings['expireAfterDays'] = (int)$config->getAppValue('core', 'shareapi_expire_after_n_days', '7');
49
+			$defaultExpireSettings['expireAfterDays'] = (int) $config->getAppValue('core', 'shareapi_expire_after_n_days', '7');
50 50
 			$defaultExpireSettings['enforceExpireDate'] = $enforceExpireDate === 'yes';
51 51
 		}
52 52
 
Please login to merge, or discard this patch.
apps/testing/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 ComposerStaticInitTesting
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\Testing\\' => 12,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\Testing\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
25
-        'OCA\\Testing\\AlternativeHomeUserBackend' => __DIR__ . '/..' . '/../lib/AlternativeHomeUserBackend.php',
26
-        'OCA\\Testing\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
27
-        'OCA\\Testing\\Controller\\ConfigController' => __DIR__ . '/..' . '/../lib/Controller/ConfigController.php',
28
-        'OCA\\Testing\\Controller\\LockingController' => __DIR__ . '/..' . '/../lib/Controller/LockingController.php',
29
-        'OCA\\Testing\\Controller\\RateLimitTestController' => __DIR__ . '/..' . '/../lib/Controller/RateLimitTestController.php',
30
-        'OCA\\Testing\\Locking\\FakeDBLockingProvider' => __DIR__ . '/..' . '/../lib/Locking/FakeDBLockingProvider.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\Testing\\AlternativeHomeUserBackend' => __DIR__.'/..'.'/../lib/AlternativeHomeUserBackend.php',
26
+        'OCA\\Testing\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
27
+        'OCA\\Testing\\Controller\\ConfigController' => __DIR__.'/..'.'/../lib/Controller/ConfigController.php',
28
+        'OCA\\Testing\\Controller\\LockingController' => __DIR__.'/..'.'/../lib/Controller/LockingController.php',
29
+        'OCA\\Testing\\Controller\\RateLimitTestController' => __DIR__.'/..'.'/../lib/Controller/RateLimitTestController.php',
30
+        'OCA\\Testing\\Locking\\FakeDBLockingProvider' => __DIR__.'/..'.'/../lib/Locking/FakeDBLockingProvider.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 = ComposerStaticInitTesting::$prefixLengthsPsr4;
37 37
             $loader->prefixDirsPsr4 = ComposerStaticInitTesting::$prefixDirsPsr4;
38 38
             $loader->classMap = ComposerStaticInitTesting::$classMap;
Please login to merge, or discard this patch.
apps/testing/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
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
-    'OCA\\Testing\\AlternativeHomeUserBackend' => $baseDir . '/../lib/AlternativeHomeUserBackend.php',
11
-    'OCA\\Testing\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
12
-    'OCA\\Testing\\Controller\\ConfigController' => $baseDir . '/../lib/Controller/ConfigController.php',
13
-    'OCA\\Testing\\Controller\\LockingController' => $baseDir . '/../lib/Controller/LockingController.php',
14
-    'OCA\\Testing\\Controller\\RateLimitTestController' => $baseDir . '/../lib/Controller/RateLimitTestController.php',
15
-    'OCA\\Testing\\Locking\\FakeDBLockingProvider' => $baseDir . '/../lib/Locking/FakeDBLockingProvider.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10
+    'OCA\\Testing\\AlternativeHomeUserBackend' => $baseDir.'/../lib/AlternativeHomeUserBackend.php',
11
+    'OCA\\Testing\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
12
+    'OCA\\Testing\\Controller\\ConfigController' => $baseDir.'/../lib/Controller/ConfigController.php',
13
+    'OCA\\Testing\\Controller\\LockingController' => $baseDir.'/../lib/Controller/LockingController.php',
14
+    'OCA\\Testing\\Controller\\RateLimitTestController' => $baseDir.'/../lib/Controller/RateLimitTestController.php',
15
+    'OCA\\Testing\\Locking\\FakeDBLockingProvider' => $baseDir.'/../lib/Locking/FakeDBLockingProvider.php',
16 16
 );
Please login to merge, or discard this patch.
apps/cloud_federation_api/composer/composer/autoload_static.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -6,31 +6,31 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitCloudFederationAPI
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\CloudFederationAPI\\' => 23,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\CloudFederationAPI\\' => 
18
-        array (
19
-            0 => __DIR__ . '/..' . '/../lib',
18
+        array(
19
+            0 => __DIR__.'/..'.'/../lib',
20 20
         ),
21 21
     );
22 22
 
23
-    public static $classMap = array (
24
-        'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
25
-        'OCA\\CloudFederationAPI\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
26
-        'OCA\\CloudFederationAPI\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
27
-        'OCA\\CloudFederationAPI\\Config' => __DIR__ . '/..' . '/../lib/Config.php',
28
-        'OCA\\CloudFederationAPI\\Controller\\RequestHandlerController' => __DIR__ . '/..' . '/../lib/Controller/RequestHandlerController.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\CloudFederationAPI\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
26
+        'OCA\\CloudFederationAPI\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php',
27
+        'OCA\\CloudFederationAPI\\Config' => __DIR__.'/..'.'/../lib/Config.php',
28
+        'OCA\\CloudFederationAPI\\Controller\\RequestHandlerController' => __DIR__.'/..'.'/../lib/Controller/RequestHandlerController.php',
29 29
     );
30 30
 
31 31
     public static function getInitializer(ClassLoader $loader)
32 32
     {
33
-        return \Closure::bind(function () use ($loader) {
33
+        return \Closure::bind(function() use ($loader) {
34 34
             $loader->prefixLengthsPsr4 = ComposerStaticInitCloudFederationAPI::$prefixLengthsPsr4;
35 35
             $loader->prefixDirsPsr4 = ComposerStaticInitCloudFederationAPI::$prefixDirsPsr4;
36 36
             $loader->classMap = ComposerStaticInitCloudFederationAPI::$classMap;
Please login to merge, or discard this patch.