Completed
Push — master ( 672e4f...e22914 )
by Maxence
21:09 queued 14s
created
core/Command/TwoFactorAuth/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	 */
52 52
 	public function completeArgumentValues($argumentName, CompletionContext $context) {
53 53
 		if ($argumentName === 'uid') {
54
-			return array_map(function (IUser $user) {
54
+			return array_map(function(IUser $user) {
55 55
 				return $user->getUID();
56 56
 			}, $this->userManager->search($context->getCurrentWord(), 100));
57 57
 		}
Please login to merge, or discard this patch.
apps/files_sharing/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_Sharing\\' => array($baseDir . '/../lib'),
9
+    'OCA\\Files_Sharing\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
apps/admin_audit/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\\AdminAudit\\' => array($baseDir . '/../lib'),
9
+    'OCA\\AdminAudit\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
apps/dav/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\\DAV\\' => array($baseDir . '/../lib'),
9
+    'OCA\\DAV\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
apps/comments/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\\Comments\\' => array($baseDir . '/../lib'),
9
+    'OCA\\Comments\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
lib/private/Remote/Api/ApiBase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 	 * @throws \InvalidArgumentException
61 61
 	 */
62 62
 	protected function request($method, $url, array $body = [], array $query = [], array $headers = []) {
63
-		$fullUrl = trim($this->instance->getFullUrl(), '/') . '/' . $url;
63
+		$fullUrl = trim($this->instance->getFullUrl(), '/').'/'.$url;
64 64
 		$options = [
65 65
 			'query' => $query,
66 66
 			'headers' => $this->addDefaultHeaders($headers),
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 				$response = $client->options($fullUrl, $options);
90 90
 				break;
91 91
 			default:
92
-				throw new \InvalidArgumentException('Invalid method ' . $method);
92
+				throw new \InvalidArgumentException('Invalid method '.$method);
93 93
 		}
94 94
 
95 95
 		return $response->getBody();
Please login to merge, or discard this patch.
lib/private/Remote/Api/OCS.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 	 */
44 44
 	protected function request($method, $url, array $body = [], array $query = [], array $headers = []) {
45 45
 		try {
46
-			$response = json_decode(parent::request($method, 'ocs/v2.php/' . $url, $body, $query, $headers), true);
46
+			$response = json_decode(parent::request($method, 'ocs/v2.php/'.$url, $body, $query, $headers), true);
47 47
 		} catch (ClientException $e) {
48 48
 			if ($e->getResponse()->getStatusCode() === 404) {
49 49
 				throw new NotFoundException();
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 			throw new NotFoundException();
64 64
 		}
65 65
 		if ($response['ocs']['meta']['status'] !== 'ok') {
66
-			throw new \Exception('Unknown ocs error ' . $response['ocs']['meta']['message']);
66
+			throw new \Exception('Unknown ocs error '.$response['ocs']['meta']['message']);
67 67
 		}
68 68
 
69 69
 		return $response['ocs']['data'];
@@ -78,13 +78,13 @@  discard block
 block discarded – undo
78 78
 	private function checkResponseArray(array $data, $type, array $keys) {
79 79
 		foreach ($keys as $key) {
80 80
 			if (!array_key_exists($key, $data)) {
81
-				throw new \Exception('Invalid ' . $type . ' response, expected field ' . $key . ' not found');
81
+				throw new \Exception('Invalid '.$type.' response, expected field '.$key.' not found');
82 82
 			}
83 83
 		}
84 84
 	}
85 85
 
86 86
 	public function getUser($userId) {
87
-		$result = $this->request('get', 'cloud/users/' . $userId);
87
+		$result = $this->request('get', 'cloud/users/'.$userId);
88 88
 		$this->checkResponseArray($result, 'user', User::EXPECTED_KEYS);
89 89
 		return new User($result);
90 90
 	}
Please login to merge, or discard this patch.
apps/files/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\\' => array($baseDir . '/../lib'),
9
+    'OCA\\Files\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.
apps/encryption/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\\Encryption\\' => array($baseDir . '/../lib'),
9
+    'OCA\\Encryption\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.