Passed
Push — master ( 84e6e9...08cc9a )
by Roeland
18:26 queued 11s
created
lib/private/App/AppStore/Bundles/EducationBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	 * {@inheritDoc}
28 28
 	 */
29 29
 	public function getName() {
30
-		return (string)$this->l10n->t('Education Edition');
30
+		return (string) $this->l10n->t('Education Edition');
31 31
 	}
32 32
 
33 33
 	/**
Please login to merge, or discard this patch.
apps/user_ldap/templates/part.settingcontrols.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <div class="ldapSettingControls">
2 2
 	<button type="button" class="ldap_action_test_connection" name="ldap_action_test_connection">
3
-		<?php p($l->t('Test Configuration'));?>
3
+		<?php p($l->t('Test Configuration')); ?>
4 4
 	</button>
5 5
 	<a href="<?php p(link_to_docs('admin-ldap')); ?>"
6 6
 		target="_blank" rel="noreferrer noopener">
7 7
 		<img src="<?php print_unescaped(image_path('', 'actions/info.svg')); ?>"
8 8
 			style="height:1.75ex" />
9
-		<?php p($l->t('Help'));?>
9
+		<?php p($l->t('Help')); ?>
10 10
 	</a>
11 11
 </div>
Please login to merge, or discard this patch.
lib/private/Files/Mount/CacheMountProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,15 +55,15 @@
 block discarded – undo
55 55
 	public function getMountsForUser(IUser $user, IStorageFactory $loader) {
56 56
 		$cacheBaseDir = $this->config->getSystemValue('cache_path', '');
57 57
 		if ($cacheBaseDir !== '') {
58
-			$cacheDir = rtrim($cacheBaseDir, '/') . '/' . $user->getUID();
58
+			$cacheDir = rtrim($cacheBaseDir, '/').'/'.$user->getUID();
59 59
 			if (!file_exists($cacheDir)) {
60 60
 				mkdir($cacheDir, 0770, true);
61
-				mkdir($cacheDir . '/uploads', 0770, true);
61
+				mkdir($cacheDir.'/uploads', 0770, true);
62 62
 			}
63 63
 
64 64
 			return [
65
-				new MountPoint('\OC\Files\Storage\Local', '/' . $user->getUID() . '/cache', ['datadir' => $cacheDir, $loader]),
66
-				new MountPoint('\OC\Files\Storage\Local', '/' . $user->getUID() . '/uploads', ['datadir' => $cacheDir . '/uploads', $loader])
65
+				new MountPoint('\OC\Files\Storage\Local', '/'.$user->getUID().'/cache', ['datadir' => $cacheDir, $loader]),
66
+				new MountPoint('\OC\Files\Storage\Local', '/'.$user->getUID().'/uploads', ['datadir' => $cacheDir.'/uploads', $loader])
67 67
 			];
68 68
 		} else {
69 69
 			return [];
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/Instance.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	 * @return string The of of the remote server with protocol
66 66
 	 */
67 67
 	public function getFullUrl() {
68
-		return $this->getProtocol() . '://' . $this->getUrl();
68
+		return $this->getProtocol().'://'.$this->getUrl();
69 69
 	}
70 70
 
71 71
 	/**
@@ -103,17 +103,17 @@  discard block
 block discarded – undo
103 103
 		if ($this->status) {
104 104
 			return $this->status;
105 105
 		}
106
-		$key = 'remote/' . $this->url . '/status';
107
-		$httpsKey = 'remote/' . $this->url . '/https';
106
+		$key = 'remote/'.$this->url.'/status';
107
+		$httpsKey = 'remote/'.$this->url.'/https';
108 108
 		$status = $this->cache->get($key);
109 109
 		if (!$status) {
110
-			$response = $this->downloadStatus('https://' . $this->getUrl() . '/status.php');
110
+			$response = $this->downloadStatus('https://'.$this->getUrl().'/status.php');
111 111
 			$protocol = 'https';
112 112
 			if (!$response) {
113 113
 				if ($status = $this->cache->get($httpsKey)) {
114
-					throw new \Exception('refusing to connect to remote instance(' . $this->url . ') over http that was previously accessible over https');
114
+					throw new \Exception('refusing to connect to remote instance('.$this->url.') over http that was previously accessible over https');
115 115
 				}
116
-				$response = $this->downloadStatus('http://' . $this->getUrl() . '/status.php');
116
+				$response = $this->downloadStatus('http://'.$this->getUrl().'/status.php');
117 117
 				$protocol = 'http';
118 118
 			} else {
119 119
 				$this->cache->set($httpsKey, true, 60 * 60 * 24 * 365);
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 				$this->cache->set($key, $status, 5 * 60);
127 127
 				$this->status = $status;
128 128
 			} else {
129
-				throw new NotFoundException('Remote server not found at address ' . $this->url);
129
+				throw new NotFoundException('Remote server not found at address '.$this->url);
130 130
 			}
131 131
 		}
132 132
 		return $status;
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.