Passed
Push — master ( 773e28...7e8ddc )
by Joas
13:16 queued 11s
created
apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 		$providers = $this->registry->getProviderStates($event->getUser());
54 54
 
55 55
 		// Loop over all providers. If all are disabled we remove the job
56
-		$state = array_reduce($providers, function (bool $carry, bool $enabled) {
56
+		$state = array_reduce($providers, function(bool $carry, bool $enabled) {
57 57
 			return $carry || $enabled;
58 58
 		}, false);
59 59
 
Please login to merge, or discard this patch.
lib/private/Collaboration/Resources/Manager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 			->setFirstResult($start);
145 145
 
146 146
 		if ($filter !== '') {
147
-			$query->where($query->expr()->iLike('c.name', $query->createNamedParameter('%' . $this->connection->escapeLikeParameter($filter) . '%')));
147
+			$query->where($query->expr()->iLike('c.name', $query->createNamedParameter('%'.$this->connection->escapeLikeParameter($filter).'%')));
148 148
 		}
149 149
 
150 150
 		$result = $query->execute();
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 		while ($row = $result->fetch()) {
155 155
 			$foundResults++;
156 156
 			$access = $row['access'] === null ? null : (bool) $row['access'];
157
-			$collection = new Collection($this, $this->connection, (int)$row['id'], (string)$row['name'], $user, $access);
157
+			$collection = new Collection($this, $this->connection, (int) $row['id'], (string) $row['name'], $user, $access);
158 158
 			if ($collection->canAccess($user)) {
159 159
 				$collections[] = $collection;
160 160
 			}
Please login to merge, or discard this patch.
apps/federatedfilesharing/templates/settings-personal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 <div id="fileSharingSettings" class="section">
9 9
 	<h2 data-anchor-name="federated-cloud"><?php p($l->t('Federated Cloud')); ?></h2>
10 10
 	<a target="_blank" rel="noreferrer noopener" class="icon-info svg"
11
-	title="<?php p($l->t('Open documentation'));?>"
11
+	title="<?php p($l->t('Open documentation')); ?>"
12 12
 	href="<?php p(link_to_docs('user-sharing-federated')); ?>"></a>
13 13
 	<p class="settings-hint"><?php p($l->t('You can share with anyone who uses a Nextcloud server or other Open Cloud Mesh (OCM) compatible servers and services! Just put their Federated Cloud ID in the share dialog. It looks like [email protected]')); ?></p>
14 14
 
Please login to merge, or discard this patch.
apps/federatedfilesharing/lib/Settings/Personal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 	 */
61 61
 	public function getForm() {
62 62
 		$cloudID = $this->userSession->getUser()->getCloudId();
63
-		$url = 'https://nextcloud.com/sharing#' . $cloudID;
63
+		$url = 'https://nextcloud.com/sharing#'.$cloudID;
64 64
 
65 65
 		$parameters = [
66 66
 			'message_with_URL' => $this->l->t('Share with me through my #Nextcloud Federated Cloud ID, see %s', [$url]),
Please login to merge, or discard this patch.
status.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
  *
30 30
  */
31 31
 
32
-require_once __DIR__ . '/lib/versioncheck.php';
32
+require_once __DIR__.'/lib/versioncheck.php';
33 33
 
34 34
 try {
35 35
 
36
-	require_once __DIR__ . '/lib/base.php';
36
+	require_once __DIR__.'/lib/base.php';
37 37
 
38 38
 	$systemConfig = \OC::$server->getSystemConfig();
39 39
 
Please login to merge, or discard this patch.
lib/private/Preview/ProviderV2.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	/**
44 44
 	 * @return string Regex with the mimetypes that are supported by this provider
45 45
 	 */
46
-	abstract public function getMimeType(): string ;
46
+	abstract public function getMimeType(): string;
47 47
 
48 48
 	/**
49 49
 	 * Check if a preview can be generated for $path
Please login to merge, or discard this patch.
lib/private/Preview/SVG.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
 
47 47
 			$content = stream_get_contents($file->fopen('r'));
48 48
 			if (substr($content, 0, 5) !== '<?xml') {
49
-				$content = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>' . $content;
49
+				$content = '<?xml version="1.0" encoding="UTF-8" standalone="no"?>'.$content;
50 50
 			}
51 51
 
52 52
 			// Do not parse SVG files with references
Please login to merge, or discard this patch.
lib/private/Preview/HEIC.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 			$bp->setFormat('jpg');
60 60
 		} catch (\Exception $e) {
61 61
 			\OC::$server->getLogger()->logException($e, [
62
-				'message' => 'File: ' . $file->getPath() . ' Imagick says:',
62
+				'message' => 'File: '.$file->getPath().' Imagick says:',
63 63
 				'level' => ILogger::ERROR,
64 64
 				'app' => 'core',
65 65
 			]);
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 		$bp = new \Imagick();
94 94
 
95 95
 		// Layer 0 contains either the bitmap or a flat representation of all vector layers
96
-		$bp->readImage($tmpPath . '[0]');
96
+		$bp->readImage($tmpPath.'[0]');
97 97
 
98 98
 		$bp->setImageFormat('jpg');
99 99
 
Please login to merge, or discard this patch.
lib/private/Preview/Bitmap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 			$bp = $this->getResizedPreview($tmpPath, $maxX, $maxY);
50 50
 		} catch (\Exception $e) {
51 51
 			\OC::$server->getLogger()->logException($e, [
52
-				'message' => 'File: ' . $file->getPath() . ' Imagick says:',
52
+				'message' => 'File: '.$file->getPath().' Imagick says:',
53 53
 				'level' => ILogger::ERROR,
54 54
 				'app' => 'core',
55 55
 			]);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 		$bp = new Imagick();
84 84
 
85 85
 		// Layer 0 contains either the bitmap or a flat representation of all vector layers
86
-		$bp->readImage($tmpPath . '[0]');
86
+		$bp->readImage($tmpPath.'[0]');
87 87
 
88 88
 		$bp = $this->resize($bp, $maxX, $maxY);
89 89
 
Please login to merge, or discard this patch.