Passed
Push — master ( a16703...c6645c )
by John
17:09 queued 13s
created
lib/private/Encryption/Update.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 			if ($params['itemType'] === 'file' || $params['itemType'] === 'folder') {
91 91
 				$path = Filesystem::getPath($params['fileSource']);
92 92
 				[$owner, $ownerPath] = $this->getOwnerPath($path);
93
-				$absPath = '/' . $owner . '/files/' . $ownerPath;
93
+				$absPath = '/'.$owner.'/files/'.$ownerPath;
94 94
 				$this->update($absPath);
95 95
 			}
96 96
 		}
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 			if ($params['itemType'] === 'file' || $params['itemType'] === 'folder') {
107 107
 				$path = Filesystem::getPath($params['fileSource']);
108 108
 				[$owner, $ownerPath] = $this->getOwnerPath($path);
109
-				$absPath = '/' . $owner . '/files/' . $ownerPath;
109
+				$absPath = '/'.$owner.'/files/'.$ownerPath;
110 110
 				$this->update($absPath);
111 111
 			}
112 112
 		}
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	 */
121 121
 	public function postRestore($params) {
122 122
 		if ($this->encryptionManager->isEnabled()) {
123
-			$path = Filesystem::normalizePath('/' . $this->uid . '/files/' . $params['filePath']);
123
+			$path = Filesystem::normalizePath('/'.$this->uid.'/files/'.$params['filePath']);
124 124
 			$this->update($path);
125 125
 		}
126 126
 	}
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 			dirname($source) !== dirname($target)
140 140
 		) {
141 141
 			[$owner, $ownerPath] = $this->getOwnerPath($target);
142
-			$absPath = '/' . $owner . '/files/' . $ownerPath;
142
+			$absPath = '/'.$owner.'/files/'.$ownerPath;
143 143
 			$this->update($absPath);
144 144
 		}
145 145
 	}
@@ -154,10 +154,10 @@  discard block
 block discarded – undo
154 154
 	protected function getOwnerPath($path) {
155 155
 		$info = Filesystem::getFileInfo($path);
156 156
 		$owner = Filesystem::getOwner($path);
157
-		$view = new View('/' . $owner . '/files');
157
+		$view = new View('/'.$owner.'/files');
158 158
 		$path = $view->getPath($info->getId());
159 159
 		if ($path === null) {
160
-			throw new InvalidArgumentException('No file found for ' . $info->getId());
160
+			throw new InvalidArgumentException('No file found for '.$info->getId());
161 161
 		}
162 162
 
163 163
 		return [$owner, $path];
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 				$encryptionModule->update($file, $this->uid, $usersSharing);
194 194
 			} catch (GenericEncryptionException $e) {
195 195
 				// If the update of an individual file fails e.g. due to a corrupt key we should continue the operation and just log the failure
196
-				$this->logger->error('Failed to update encryption module for ' . $this->uid . ' ' . $file, [ 'exception' => $e ]);
196
+				$this->logger->error('Failed to update encryption module for '.$this->uid.' '.$file, ['exception' => $e]);
197 197
 			}
198 198
 		}
199 199
 	}
Please login to merge, or discard this patch.
core/Command/Preview/ResetRenderedTexts.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 		$avatarsToDeleteCount = 0;
96 96
 
97 97
 		foreach ($this->getAvatarsToDelete() as [$userId, $avatar]) {
98
-			$output->writeln('Deleting avatar for ' . $userId, OutputInterface::VERBOSITY_VERBOSE);
98
+			$output->writeln('Deleting avatar for '.$userId, OutputInterface::VERBOSITY_VERBOSE);
99 99
 
100 100
 			$avatarsToDeleteCount++;
101 101
 
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 			}
113 113
 		}
114 114
 
115
-		$output->writeln('Deleted ' . $avatarsToDeleteCount . ' avatars');
115
+		$output->writeln('Deleted '.$avatarsToDeleteCount.' avatars');
116 116
 		$output->writeln('');
117 117
 	}
118 118
 
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
 		$previewsToDeleteCount = 0;
131 131
 
132 132
 		foreach ($this->getPreviewsToDelete() as ['name' => $previewFileId, 'path' => $filePath]) {
133
-			$output->writeln('Deleting previews for ' . $filePath, OutputInterface::VERBOSITY_VERBOSE);
133
+			$output->writeln('Deleting previews for '.$filePath, OutputInterface::VERBOSITY_VERBOSE);
134 134
 
135 135
 			$previewsToDeleteCount++;
136 136
 
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 			}
140 140
 
141 141
 			try {
142
-				$preview = $this->previewFolder->getFolder((string)$previewFileId);
142
+				$preview = $this->previewFolder->getFolder((string) $previewFileId);
143 143
 				$preview->delete();
144 144
 			} catch (NotFoundException $e) {
145 145
 				// continue
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 			}
149 149
 		}
150 150
 
151
-		$output->writeln('Deleted ' . $previewsToDeleteCount . ' previews');
151
+		$output->writeln('Deleted '.$previewsToDeleteCount.' previews');
152 152
 	}
153 153
 
154 154
 	// Copy pasted and adjusted from
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 		 * We take the md5 of the name (fileid) and split the first 7 chars. That way
172 172
 		 * there are not a gazillion files in the root of the preview appdata.
173 173
 		 */
174
-		$like = $this->connection->escapeLikeParameter($data['path']) . '/_/_/_/_/_/_/_/%';
174
+		$like = $this->connection->escapeLikeParameter($data['path']).'/_/_/_/_/_/_/_/%';
175 175
 
176 176
 		$qb = $this->connection->getQueryBuilder();
177 177
 		$qb->select('a.name', 'b.path')
Please login to merge, or discard this patch.
lib/private/Search/Provider/File.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,9 +65,9 @@
 block discarded – undo
65 65
 		}
66 66
 		$userFolder = $rootFolder->getUserFolder($user->getUID());
67 67
 		$fileQuery = new SearchQuery(
68
-			new SearchComparison(ISearchComparison::COMPARE_LIKE, 'name', '%' . $query . '%'),
69
-			(int)$limit,
70
-			(int)$offset,
68
+			new SearchComparison(ISearchComparison::COMPARE_LIKE, 'name', '%'.$query.'%'),
69
+			(int) $limit,
70
+			(int) $offset,
71 71
 			[
72 72
 				new SearchOrder(ISearchOrder::DIRECTION_DESCENDING, 'mtime'),
73 73
 			],
Please login to merge, or discard this patch.
apps/files/lib/Search/FilesSearchProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -103,9 +103,9 @@  discard block
 block discarded – undo
103 103
 	public function search(IUser $user, ISearchQuery $query): SearchResult {
104 104
 		$userFolder = $this->rootFolder->getUserFolder($user->getUID());
105 105
 		$fileQuery = new SearchQuery(
106
-			new SearchComparison(ISearchComparison::COMPARE_LIKE, 'name', '%' . $query->getTerm() . '%'),
106
+			new SearchComparison(ISearchComparison::COMPARE_LIKE, 'name', '%'.$query->getTerm().'%'),
107 107
 			$query->getLimit(),
108
-			(int)$query->getCursor(),
108
+			(int) $query->getCursor(),
109 109
 			$query->getSortOrder() === ISearchQuery::SORT_DATE_DESC ? [
110 110
 				new SearchOrder(ISearchOrder::DIRECTION_DESCENDING, 'mtime'),
111 111
 			] : [],
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
 		return SearchResult::paginated(
116 116
 			$this->l10n->t('Files'),
117
-			array_map(function (Node $result) use ($userFolder) {
117
+			array_map(function(Node $result) use ($userFolder) {
118 118
 				// Generate thumbnail url
119 119
 				$thumbnailUrl = $this->urlGenerator->linkToRouteAbsolute('core.Preview.getPreviewByFileId', ['x' => 32, 'y' => 32, 'fileId' => $result->getId()]);
120 120
 				$path = $userFolder->getRelativePath($result->getPath());
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 					$this->urlGenerator->getAbsoluteURL($link),
134 134
 					$result->getMimetype() === FileInfo::MIMETYPE_FOLDER ? 'icon-folder' : $this->mimeTypeDetector->mimeTypeIcon($result->getMimetype())
135 135
 				);
136
-				$searchResultEntry->addAttribute('fileId', (string)$result->getId());
136
+				$searchResultEntry->addAttribute('fileId', (string) $result->getId());
137 137
 				$searchResultEntry->addAttribute('path', $path);
138 138
 				return $searchResultEntry;
139 139
 			}, $userFolder->search($fileQuery)),
Please login to merge, or discard this patch.
apps/comments/lib/MaxAutoCompleteResultsInitialState.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,6 +43,6 @@
 block discarded – undo
43 43
 	}
44 44
 
45 45
 	public function getData(): int {
46
-		return (int)$this->config->getAppValue('comments', 'maxAutoCompleteResults', '10');
46
+		return (int) $this->config->getAppValue('comments', 'maxAutoCompleteResults', '10');
47 47
 	}
48 48
 }
Please login to merge, or discard this patch.
apps/comments/composer/composer/autoload_classmap.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -6,23 +6,23 @@
 block discarded – undo
6 6
 $baseDir = $vendorDir;
7 7
 
8 8
 return array(
9
-    'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
-    'OCA\\Comments\\Activity\\Filter' => $baseDir . '/../lib/Activity/Filter.php',
11
-    'OCA\\Comments\\Activity\\Listener' => $baseDir . '/../lib/Activity/Listener.php',
12
-    'OCA\\Comments\\Activity\\Provider' => $baseDir . '/../lib/Activity/Provider.php',
13
-    'OCA\\Comments\\Activity\\Setting' => $baseDir . '/../lib/Activity/Setting.php',
14
-    'OCA\\Comments\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
15
-    'OCA\\Comments\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
16
-    'OCA\\Comments\\Collaboration\\CommentersSorter' => $baseDir . '/../lib/Collaboration/CommentersSorter.php',
17
-    'OCA\\Comments\\Controller\\Notifications' => $baseDir . '/../lib/Controller/Notifications.php',
18
-    'OCA\\Comments\\EventHandler' => $baseDir . '/../lib/EventHandler.php',
19
-    'OCA\\Comments\\Listener\\CommentsEntityEventListener' => $baseDir . '/../lib/Listener/CommentsEntityEventListener.php',
20
-    'OCA\\Comments\\Listener\\LoadAdditionalScripts' => $baseDir . '/../lib/Listener/LoadAdditionalScripts.php',
21
-    'OCA\\Comments\\Listener\\LoadSidebarScripts' => $baseDir . '/../lib/Listener/LoadSidebarScripts.php',
22
-    'OCA\\Comments\\MaxAutoCompleteResultsInitialState' => $baseDir . '/../lib/MaxAutoCompleteResultsInitialState.php',
23
-    'OCA\\Comments\\Notification\\Listener' => $baseDir . '/../lib/Notification/Listener.php',
24
-    'OCA\\Comments\\Notification\\Notifier' => $baseDir . '/../lib/Notification/Notifier.php',
25
-    'OCA\\Comments\\Search\\CommentsSearchProvider' => $baseDir . '/../lib/Search/CommentsSearchProvider.php',
26
-    'OCA\\Comments\\Search\\LegacyProvider' => $baseDir . '/../lib/Search/LegacyProvider.php',
27
-    'OCA\\Comments\\Search\\Result' => $baseDir . '/../lib/Search/Result.php',
9
+    'Composer\\InstalledVersions' => $vendorDir.'/composer/InstalledVersions.php',
10
+    'OCA\\Comments\\Activity\\Filter' => $baseDir.'/../lib/Activity/Filter.php',
11
+    'OCA\\Comments\\Activity\\Listener' => $baseDir.'/../lib/Activity/Listener.php',
12
+    'OCA\\Comments\\Activity\\Provider' => $baseDir.'/../lib/Activity/Provider.php',
13
+    'OCA\\Comments\\Activity\\Setting' => $baseDir.'/../lib/Activity/Setting.php',
14
+    'OCA\\Comments\\AppInfo\\Application' => $baseDir.'/../lib/AppInfo/Application.php',
15
+    'OCA\\Comments\\Capabilities' => $baseDir.'/../lib/Capabilities.php',
16
+    'OCA\\Comments\\Collaboration\\CommentersSorter' => $baseDir.'/../lib/Collaboration/CommentersSorter.php',
17
+    'OCA\\Comments\\Controller\\Notifications' => $baseDir.'/../lib/Controller/Notifications.php',
18
+    'OCA\\Comments\\EventHandler' => $baseDir.'/../lib/EventHandler.php',
19
+    'OCA\\Comments\\Listener\\CommentsEntityEventListener' => $baseDir.'/../lib/Listener/CommentsEntityEventListener.php',
20
+    'OCA\\Comments\\Listener\\LoadAdditionalScripts' => $baseDir.'/../lib/Listener/LoadAdditionalScripts.php',
21
+    'OCA\\Comments\\Listener\\LoadSidebarScripts' => $baseDir.'/../lib/Listener/LoadSidebarScripts.php',
22
+    'OCA\\Comments\\MaxAutoCompleteResultsInitialState' => $baseDir.'/../lib/MaxAutoCompleteResultsInitialState.php',
23
+    'OCA\\Comments\\Notification\\Listener' => $baseDir.'/../lib/Notification/Listener.php',
24
+    'OCA\\Comments\\Notification\\Notifier' => $baseDir.'/../lib/Notification/Notifier.php',
25
+    'OCA\\Comments\\Search\\CommentsSearchProvider' => $baseDir.'/../lib/Search/CommentsSearchProvider.php',
26
+    'OCA\\Comments\\Search\\LegacyProvider' => $baseDir.'/../lib/Search/LegacyProvider.php',
27
+    'OCA\\Comments\\Search\\Result' => $baseDir.'/../lib/Search/Result.php',
28 28
 );
Please login to merge, or discard this patch.
apps/comments/composer/composer/autoload_static.php 1 patch
Spacing   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -6,45 +6,45 @@
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitComments
8 8
 {
9
-    public static $prefixLengthsPsr4 = array (
9
+    public static $prefixLengthsPsr4 = array(
10 10
         'O' => 
11
-        array (
11
+        array(
12 12
             'OCA\\Comments\\' => 13,
13 13
         ),
14 14
     );
15 15
 
16
-    public static $prefixDirsPsr4 = array (
16
+    public static $prefixDirsPsr4 = array(
17 17
         'OCA\\Comments\\' => 
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\\Comments\\Activity\\Filter' => __DIR__ . '/..' . '/../lib/Activity/Filter.php',
26
-        'OCA\\Comments\\Activity\\Listener' => __DIR__ . '/..' . '/../lib/Activity/Listener.php',
27
-        'OCA\\Comments\\Activity\\Provider' => __DIR__ . '/..' . '/../lib/Activity/Provider.php',
28
-        'OCA\\Comments\\Activity\\Setting' => __DIR__ . '/..' . '/../lib/Activity/Setting.php',
29
-        'OCA\\Comments\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
30
-        'OCA\\Comments\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
31
-        'OCA\\Comments\\Collaboration\\CommentersSorter' => __DIR__ . '/..' . '/../lib/Collaboration/CommentersSorter.php',
32
-        'OCA\\Comments\\Controller\\Notifications' => __DIR__ . '/..' . '/../lib/Controller/Notifications.php',
33
-        'OCA\\Comments\\EventHandler' => __DIR__ . '/..' . '/../lib/EventHandler.php',
34
-        'OCA\\Comments\\Listener\\CommentsEntityEventListener' => __DIR__ . '/..' . '/../lib/Listener/CommentsEntityEventListener.php',
35
-        'OCA\\Comments\\Listener\\LoadAdditionalScripts' => __DIR__ . '/..' . '/../lib/Listener/LoadAdditionalScripts.php',
36
-        'OCA\\Comments\\Listener\\LoadSidebarScripts' => __DIR__ . '/..' . '/../lib/Listener/LoadSidebarScripts.php',
37
-        'OCA\\Comments\\MaxAutoCompleteResultsInitialState' => __DIR__ . '/..' . '/../lib/MaxAutoCompleteResultsInitialState.php',
38
-        'OCA\\Comments\\Notification\\Listener' => __DIR__ . '/..' . '/../lib/Notification/Listener.php',
39
-        'OCA\\Comments\\Notification\\Notifier' => __DIR__ . '/..' . '/../lib/Notification/Notifier.php',
40
-        'OCA\\Comments\\Search\\CommentsSearchProvider' => __DIR__ . '/..' . '/../lib/Search/CommentsSearchProvider.php',
41
-        'OCA\\Comments\\Search\\LegacyProvider' => __DIR__ . '/..' . '/../lib/Search/LegacyProvider.php',
42
-        'OCA\\Comments\\Search\\Result' => __DIR__ . '/..' . '/../lib/Search/Result.php',
23
+    public static $classMap = array(
24
+        'Composer\\InstalledVersions' => __DIR__.'/..'.'/composer/InstalledVersions.php',
25
+        'OCA\\Comments\\Activity\\Filter' => __DIR__.'/..'.'/../lib/Activity/Filter.php',
26
+        'OCA\\Comments\\Activity\\Listener' => __DIR__.'/..'.'/../lib/Activity/Listener.php',
27
+        'OCA\\Comments\\Activity\\Provider' => __DIR__.'/..'.'/../lib/Activity/Provider.php',
28
+        'OCA\\Comments\\Activity\\Setting' => __DIR__.'/..'.'/../lib/Activity/Setting.php',
29
+        'OCA\\Comments\\AppInfo\\Application' => __DIR__.'/..'.'/../lib/AppInfo/Application.php',
30
+        'OCA\\Comments\\Capabilities' => __DIR__.'/..'.'/../lib/Capabilities.php',
31
+        'OCA\\Comments\\Collaboration\\CommentersSorter' => __DIR__.'/..'.'/../lib/Collaboration/CommentersSorter.php',
32
+        'OCA\\Comments\\Controller\\Notifications' => __DIR__.'/..'.'/../lib/Controller/Notifications.php',
33
+        'OCA\\Comments\\EventHandler' => __DIR__.'/..'.'/../lib/EventHandler.php',
34
+        'OCA\\Comments\\Listener\\CommentsEntityEventListener' => __DIR__.'/..'.'/../lib/Listener/CommentsEntityEventListener.php',
35
+        'OCA\\Comments\\Listener\\LoadAdditionalScripts' => __DIR__.'/..'.'/../lib/Listener/LoadAdditionalScripts.php',
36
+        'OCA\\Comments\\Listener\\LoadSidebarScripts' => __DIR__.'/..'.'/../lib/Listener/LoadSidebarScripts.php',
37
+        'OCA\\Comments\\MaxAutoCompleteResultsInitialState' => __DIR__.'/..'.'/../lib/MaxAutoCompleteResultsInitialState.php',
38
+        'OCA\\Comments\\Notification\\Listener' => __DIR__.'/..'.'/../lib/Notification/Listener.php',
39
+        'OCA\\Comments\\Notification\\Notifier' => __DIR__.'/..'.'/../lib/Notification/Notifier.php',
40
+        'OCA\\Comments\\Search\\CommentsSearchProvider' => __DIR__.'/..'.'/../lib/Search/CommentsSearchProvider.php',
41
+        'OCA\\Comments\\Search\\LegacyProvider' => __DIR__.'/..'.'/../lib/Search/LegacyProvider.php',
42
+        'OCA\\Comments\\Search\\Result' => __DIR__.'/..'.'/../lib/Search/Result.php',
43 43
     );
44 44
 
45 45
     public static function getInitializer(ClassLoader $loader)
46 46
     {
47
-        return \Closure::bind(function () use ($loader) {
47
+        return \Closure::bind(function() use ($loader) {
48 48
             $loader->prefixLengthsPsr4 = ComposerStaticInitComments::$prefixLengthsPsr4;
49 49
             $loader->prefixDirsPsr4 = ComposerStaticInitComments::$prefixDirsPsr4;
50 50
             $loader->classMap = ComposerStaticInitComments::$classMap;
Please login to merge, or discard this patch.
lib/private/Files/Cache/Storage.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 		$this->storageId = self::adjustStorageId($this->storageId);
74 74
 
75 75
 		if ($row = self::getStorageById($this->storageId)) {
76
-			$this->numericId = (int)$row['numeric_id'];
76
+			$this->numericId = (int) $row['numeric_id'];
77 77
 		} else {
78 78
 			$connection = \OC::$server->getDatabaseConnection();
79 79
 			$available = $isAvailable ? 1 : 0;
@@ -81,9 +81,9 @@  discard block
 block discarded – undo
81 81
 				$this->numericId = $connection->lastInsertId('*PREFIX*storages');
82 82
 			} else {
83 83
 				if ($row = self::getStorageById($this->storageId)) {
84
-					$this->numericId = (int)$row['numeric_id'];
84
+					$this->numericId = (int) $row['numeric_id'];
85 85
 				} else {
86
-					throw new \RuntimeException('Storage could neither be inserted nor be selected from the database: ' . $this->storageId);
86
+					throw new \RuntimeException('Storage could neither be inserted nor be selected from the database: '.$this->storageId);
87 87
 				}
88 88
 			}
89 89
 		}
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 		$storageId = self::adjustStorageId($storageId);
151 151
 
152 152
 		if ($row = self::getStorageById($storageId)) {
153
-			return (int)$row['numeric_id'];
153
+			return (int) $row['numeric_id'];
154 154
 		} else {
155 155
 			return null;
156 156
 		}
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 	public function getAvailability() {
163 163
 		if ($row = self::getStorageById($this->storageId)) {
164 164
 			return [
165
-				'available' => (int)$row['available'] === 1,
165
+				'available' => (int) $row['available'] === 1,
166 166
 				'last_checked' => $row['last_checked']
167 167
 			];
168 168
 		} else {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 	public function setAvailability($isAvailable, int $delay = 0) {
178 178
 		$available = $isAvailable ? 1 : 0;
179 179
 		if (!$isAvailable) {
180
-			\OC::$server->get(LoggerInterface::class)->info('Storage with ' . $this->storageId . ' marked as unavailable', ['app' => 'lib']);
180
+			\OC::$server->get(LoggerInterface::class)->info('Storage with '.$this->storageId.' marked as unavailable', ['app' => 'lib']);
181 181
 		}
182 182
 
183 183
 		$query = \OC::$server->getDatabaseConnection()->getQueryBuilder();
Please login to merge, or discard this patch.
lib/private/Http/Client/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 
84 84
 		$options['nextcloud']['allow_local_address'] = $this->isLocalAddressAllowed($options);
85 85
 		if ($options['nextcloud']['allow_local_address'] === false) {
86
-			$onRedirectFunction = function (
86
+			$onRedirectFunction = function(
87 87
 				\Psr\Http\Message\RequestInterface $request,
88 88
 				\Psr\Http\Message\ResponseInterface $response,
89 89
 				\Psr\Http\Message\UriInterface $uri
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 		// $this->certificateManager->getAbsoluteBundlePath() tries to instantiate
128 128
 		// a view
129 129
 		if ($this->config->getSystemValue('installed', false) === false) {
130
-			return \OC::$SERVERROOT . '/resources/config/ca-bundle.crt';
130
+			return \OC::$SERVERROOT.'/resources/config/ca-bundle.crt';
131 131
 		}
132 132
 
133 133
 		return $this->certificateManager->getAbsoluteBundlePath();
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
 		$proxyUserPwd = $this->config->getSystemValue('proxyuserpwd', '');
159 159
 		if ($proxyUserPwd !== '' && $proxyUserPwd !== null) {
160
-			$proxyHost = $proxyUserPwd . '@' . $proxyHost;
160
+			$proxyHost = $proxyUserPwd.'@'.$proxyHost;
161 161
 		}
162 162
 
163 163
 		$proxy = [
Please login to merge, or discard this patch.