Passed
Push — master ( c233ac...ceefe0 )
by Joas
14:23 queued 13s
created
apps/settings/lib/Controller/ReasonsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 	 * @NoSubAdminRequired
37 37
 	 */
38 38
 	public function getPdf() {
39
-		$data = file_get_contents(__DIR__ . '/../../data/Reasons to use Nextcloud.pdf');
39
+		$data = file_get_contents(__DIR__.'/../../data/Reasons to use Nextcloud.pdf');
40 40
 
41 41
 		$resp = new DataDisplayResponse($data);
42 42
 		$resp->addHeader('Content-Type', 'application/pdf');
Please login to merge, or discard this patch.
apps/user_status/lib/Connector/UserStatus.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
 			$this->status = IUserStatus::OFFLINE;
61 61
 		}
62 62
 		if ($status->getClearAt() !== null) {
63
-			$this->clearAt = DateTimeImmutable::createFromFormat('U', (string)$status->getClearAt());
63
+			$this->clearAt = DateTimeImmutable::createFromFormat('U', (string) $status->getClearAt());
64 64
 		}
65 65
 	}
66 66
 
Please login to merge, or discard this patch.
apps/comments/lib/Search/CommentsSearchProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 	public function search(IUser $user, ISearchQuery $query): SearchResult {
95 95
 		return SearchResult::complete(
96 96
 			$this->l10n->t('Comments'),
97
-			array_map(function (Result $result) {
97
+			array_map(function(Result $result) {
98 98
 				$path = $result->path;
99 99
 				$pathInfo = pathinfo($path);
100 100
 				$isUser = $this->userManager->userExists($result->authorId);
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 					$avatarUrl,
106 106
 					$result->name,
107 107
 					$path,
108
-					$this->urlGenerator->linkToRouteAbsolute('files.view.index',[
108
+					$this->urlGenerator->linkToRouteAbsolute('files.view.index', [
109 109
 						'dir' => $pathInfo['dirname'],
110 110
 						'scrollto' => $pathInfo['basename'],
111 111
 					]),
Please login to merge, or discard this patch.
lib/private/App/AppStore/Bundles/HubBundle.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
 		$architecture = php_uname('m');
44 44
 		if (PHP_OS_FAMILY === 'Linux' && in_array($architecture, ['x86_64', 'aarch64'])) {
45 45
 			$hubApps[] = 'richdocuments';
46
-			$hubApps[] = 'richdocumentscode' . ($architecture === 'aarch64' ? '_arm64' : '');
46
+			$hubApps[] = 'richdocumentscode'.($architecture === 'aarch64' ? '_arm64' : '');
47 47
 		}
48 48
 
49 49
 		return $hubApps;
Please login to merge, or discard this patch.
apps/settings/templates/settings/personal/development.notice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <div class="section development-notice">
2 2
 	<p>
3
-		<a href="<?php p($_['reasons-use-nextcloud-pdf-link']); ?>" id="open-reasons-use-nextcloud-pdf" class="link-button icon-file" target="_blank"><?php p($l->t('Reasons to use Nextcloud in your organization'));?></a>
3
+		<a href="<?php p($_['reasons-use-nextcloud-pdf-link']); ?>" id="open-reasons-use-nextcloud-pdf" class="link-button icon-file" target="_blank"><?php p($l->t('Reasons to use Nextcloud in your organization')); ?></a>
4 4
 	</p>
5 5
 	<p>
6 6
 		<?php print_unescaped(str_replace(
Please login to merge, or discard this patch.
lib/private/Dashboard/Manager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 				 * we can not inject it. Thus the static call.
74 74
 				 */
75 75
 				\OC::$server->getLogger()->logException($e, [
76
-					'message' => 'Could not load lazy dashbaord widget: ' . $e->getMessage(),
76
+					'message' => 'Could not load lazy dashbaord widget: '.$e->getMessage(),
77 77
 					'level' => ILogger::FATAL,
78 78
 				]);
79 79
 			}
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 				 * we can not inject it. Thus the static call.
90 90
 				 */
91 91
 				\OC::$server->getLogger()->logException($e, [
92
-					'message' => 'Could not register lazy dashboard widget: ' . $e->getMessage(),
92
+					'message' => 'Could not register lazy dashboard widget: '.$e->getMessage(),
93 93
 					'level' => ILogger::FATAL,
94 94
 				]);
95 95
 			}
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 				}
108 108
 			} catch (Throwable $e) {
109 109
 				\OC::$server->getLogger()->logException($e, [
110
-					'message' => 'Error during dashboard widget loading: ' . $e->getMessage(),
110
+					'message' => 'Error during dashboard widget loading: '.$e->getMessage(),
111 111
 					'level' => ILogger::FATAL,
112 112
 				]);
113 113
 			}
Please login to merge, or discard this patch.
core/Command/L10n/CreateJs.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 		$jsTrans = [];
107 107
 		foreach ($translations as $id => $val) {
108 108
 			if (is_array($val)) {
109
-				$val = '[ ' . implode(',', $val) . ']';
109
+				$val = '[ '.implode(',', $val).']';
110 110
 			}
111 111
 			$jsTrans[] = "\"$id\" : \"$val\"";
112 112
 		}
Please login to merge, or discard this patch.
core/Command/Preview/Repair.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
 		 * by default there could be 0-9 a-f and the old-multibucket folder which are all fine
117 117
 		 */
118 118
 		if ($total < 18) {
119
-			$directoryListing = array_filter($directoryListing, function ($dir) {
119
+			$directoryListing = array_filter($directoryListing, function($dir) {
120 120
 				if ($dir->getName() === 'old-multibucket') {
121 121
 					return false;
122 122
 				}
@@ -221,7 +221,7 @@  discard block
 block discarded – undo
221 221
 				return 1;
222 222
 			}
223 223
 
224
-			$lockName = 'occ preview:repair lock ' . $oldPreviewFolder->getId();
224
+			$lockName = 'occ preview:repair lock '.$oldPreviewFolder->getId();
225 225
 			try {
226 226
 				$section1->writeln("         Locking \"$lockName\" …", OutputInterface::VERBOSITY_VERBOSE);
227 227
 				$this->lockingProvider->acquireLock($lockName, ILockingProvider::LOCK_EXCLUSIVE);
Please login to merge, or discard this patch.
core/templates/installation.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 <input type="hidden" name="install" value="true">
12 12
 	<?php if (count($_['errors']) > 0): ?>
13 13
 	<fieldset class="warning">
14
-		<legend><strong><?php p($l->t('Error'));?></strong></legend>
14
+		<legend><strong><?php p($l->t('Error')); ?></strong></legend>
15 15
 		<?php foreach ($_['errors'] as $err): ?>
16 16
 		<p>
17 17
 			<?php if (is_array($err)):?>
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 	<?php endif; ?>
27 27
 	<?php if (!$_['htaccessWorking']): ?>
28 28
 	<fieldset class="warning">
29
-		<legend><strong><?php p($l->t('Security warning'));?></strong></legend>
30
-		<p><?php p($l->t('Your data directory and files are probably accessible from the internet because the .htaccess file does not work.'));?><br>
29
+		<legend><strong><?php p($l->t('Security warning')); ?></strong></legend>
30
+		<p><?php p($l->t('Your data directory and files are probably accessible from the internet because the .htaccess file does not work.')); ?><br>
31 31
 		<?php print_unescaped($l->t(
32 32
 			'For information how to properly configure your server, please see the <a href="%s" target="_blank" rel="noreferrer noopener">documentation</a>.',
33 33
 			[link_to_docs('admin-install')]
@@ -154,9 +154,9 @@  discard block
 block discarded – undo
154 154
 
155 155
 	<?php if (!$_['dbIsSet'] or count($_['errors']) > 0): ?>
156 156
 		<fieldset id="sqliteInformation" class="warning">
157
-			<legend><?php p($l->t('Performance warning'));?></legend>
158
-			<p><?php p($l->t('You chose SQLite as database.'));?></p>
159
-			<p><?php p($l->t('SQLite should only be used for minimal and development instances. For production we recommend a different database backend.'));?></p>
157
+			<legend><?php p($l->t('Performance warning')); ?></legend>
158
+			<p><?php p($l->t('You chose SQLite as database.')); ?></p>
159
+			<p><?php p($l->t('SQLite should only be used for minimal and development instances. For production we recommend a different database backend.')); ?></p>
160 160
 			<p><?php p($l->t('If you use clients for file syncing, the use of SQLite is highly discouraged.')); ?></p>
161 161
 		</fieldset>
162 162
 	<?php endif ?>
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
 	<p class="info">
179 179
 		<span class="icon-info-white"></span>
180
-		<?php p($l->t('Need help?'));?>
181
-		<a target="_blank" rel="noreferrer noopener" href="<?php p(link_to_docs('admin-install')); ?>"><?php p($l->t('See the documentation'));?> ↗</a>
180
+		<?php p($l->t('Need help?')); ?>
181
+		<a target="_blank" rel="noreferrer noopener" href="<?php p(link_to_docs('admin-install')); ?>"><?php p($l->t('See the documentation')); ?> ↗</a>
182 182
 	</p>
183 183
 </form>
Please login to merge, or discard this patch.