Passed
Push — master ( 13c7a9...8fcc0e )
by Christoph
15:42 queued 11s
created
lib/private/EventDispatcher/GenericEventWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 		$class = ($this->event !== null && is_object($this->event)) ? get_class($this->event) : 'null';
51 51
 		$this->logger->info(
52 52
 			'Deprecated event type for {name}: {class} is used',
53
-			[ 'name' => $this->eventName, 'class' => $class]
53
+			['name' => $this->eventName, 'class' => $class]
54 54
 		);
55 55
 	}
56 56
 
Please login to merge, or discard this patch.
apps/settings/templates/settings/frame.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
  */
23 23
 
24 24
 style('settings', 'settings');
25
-script('settings', [ 'settings', 'admin', 'log']);
25
+script('settings', ['settings', 'admin', 'log']);
26 26
 script('core', 'setupchecks');
27 27
 script('files', 'jquery.fileupload');
28 28
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 		foreach ($_['forms']['personal'] as $form) {
38 38
 			if (isset($form['anchor'])) {
39 39
 				$anchor = \OC::$server->getURLGenerator()->linkToRoute('settings.PersonalSettings.index', ['section' => $form['anchor']]);
40
-				$class = 'nav-icon-' . $form['anchor'];
40
+				$class = 'nav-icon-'.$form['anchor'];
41 41
 				$sectionName = $form['section-name'];
42 42
 				$active = $form['active'] ? ' class="active"' : ''; ?>
43 43
 				<li <?php print_unescaped($form['active'] ? ' class="active"' : ''); ?>>
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
 		foreach ($_['forms']['admin'] as $form) {
65 65
 			if (isset($form['anchor'])) {
66 66
 				$anchor = \OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => $form['anchor']]);
67
-				$class = 'nav-icon-' . $form['anchor'];
67
+				$class = 'nav-icon-'.$form['anchor'];
68 68
 				$sectionName = $form['section-name'];
69 69
 				$active = $form['active'] ? ' class="active"' : ''; ?>
70 70
 				<li <?php print_unescaped($form['active'] ? ' class="active"' : ''); ?>>
Please login to merge, or discard this patch.
apps/comments/lib/AppInfo/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
 	}
88 88
 
89 89
 	protected function registerCommentsEventHandler(IServerContainer $container) {
90
-		$container->getCommentsManager()->registerEventHandler(function () {
90
+		$container->getCommentsManager()->registerEventHandler(function() {
91 91
 			return $this->getContainer()->query(EventHandler::class);
92 92
 		});
93 93
 	}
Please login to merge, or discard this patch.
apps/comments/lib/Listener/CommentsEntityEventListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
36 36
 			return;
37 37
 		}
38 38
 
39
-		$event->addEntityCollection('files', function ($name) {
40
-			$nodes = \OC::$server->getUserFolder()->getById((int)$name);
39
+		$event->addEntityCollection('files', function($name) {
40
+			$nodes = \OC::$server->getUserFolder()->getById((int) $name);
41 41
 			return !empty($nodes);
42 42
 		});
43 43
 	}
Please login to merge, or discard this patch.
apps/accessibility/lib/Migration/RepairUserConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 	 */
75 75
 	public function run(IOutput $output) {
76 76
 		$output->startProgress();
77
-		$this->userManager->callForSeenUsers(function (IUser $user) use ($output) {
77
+		$this->userManager->callForSeenUsers(function(IUser $user) use ($output) {
78 78
 			$theme = $this->config->getUserValue($user->getUID(), Application::APP_ID, 'theme', false);
79 79
 			if ($theme === 'themedark') {
80 80
 				$this->config->setUserValue($user->getUID(), Application::APP_ID, 'theme', 'dark');
Please login to merge, or discard this patch.
lib/private/Support/CrashReport/Registry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 				 * we can not inject it. Thus the static call.
132 132
 				 */
133 133
 				\OC::$server->getLogger()->logException($e, [
134
-					'message' => 'Could not load lazy crash reporter: ' . $e->getMessage(),
134
+					'message' => 'Could not load lazy crash reporter: '.$e->getMessage(),
135 135
 					'level' => ILogger::FATAL,
136 136
 				]);
137 137
 			}
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 				 * we can not inject it. Thus the static call.
148 148
 				 */
149 149
 				\OC::$server->getLogger()->logException($e, [
150
-					'message' => 'Could not register lazy crash reporter: ' . $e->getMessage(),
150
+					'message' => 'Could not register lazy crash reporter: '.$e->getMessage(),
151 151
 					'level' => ILogger::FATAL,
152 152
 				]);
153 153
 			}
Please login to merge, or discard this patch.
apps/files_sharing/lib/Migration/OwncloudGuestShareType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
 		$query = $this->connection->getQueryBuilder();
71 71
 		$query->update('share')
72
-			->set('share_type',  $query->createNamedParameter(IShare::TYPE_GUEST))
72
+			->set('share_type', $query->createNamedParameter(IShare::TYPE_GUEST))
73 73
 			->where($query->expr()->eq('share_type', $query->createNamedParameter(IShare::TYPE_EMAIL)));
74 74
 		$query->execute();
75 75
 	}
Please login to merge, or discard this patch.
core/Controller/AutoCompleteController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	public function get($search, $itemType, $itemId, $sorter = null, $shareTypes = [IShare::TYPE_USER], $limit = 10): DataResponse {
76 76
 		// if enumeration/user listings are disabled, we'll receive an empty
77 77
 		// result from search() – thus nothing else to do here.
78
-		[$results,] = $this->collaboratorSearch->search($search, $shareTypes, false, $limit, 0);
78
+		[$results, ] = $this->collaboratorSearch->search($search, $shareTypes, false, $limit, 0);
79 79
 
80 80
 		$event = new AutoCompleteEvent([
81 81
 			'search' => $search,
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 			'shareTypes' => $shareTypes,
87 87
 			'limit' => $limit,
88 88
 		]);
89
-		$this->dispatcher->dispatch(IManager::class . '::filterResults', $event);
89
+		$this->dispatcher->dispatch(IManager::class.'::filterResults', $event);
90 90
 		$results = $event->getResults();
91 91
 
92 92
 		$exactMatches = $results['exact'];
Please login to merge, or discard this patch.
lib/public/AppFramework/Http/Response.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 	public function cacheFor(int $cacheSeconds, bool $public = false) {
109 109
 		if ($cacheSeconds > 0) {
110 110
 			$pragma = $public ? 'public' : 'private';
111
-			$this->addHeader('Cache-Control', $pragma . ', max-age=' . $cacheSeconds . ', must-revalidate');
111
+			$this->addHeader('Cache-Control', $pragma.', max-age='.$cacheSeconds.', must-revalidate');
112 112
 			$this->addHeader('Pragma', $pragma);
113 113
 
114 114
 			// Set expires header
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 	 * @since 6.0.0 - return value was added in 7.0.0
198 198
 	 */
199 199
 	public function addHeader($name, $value) {
200
-		$name = trim($name);  // always remove leading and trailing whitespace
200
+		$name = trim($name); // always remove leading and trailing whitespace
201 201
 		// to be able to reliably check for security
202 202
 		// headers
203 203
 
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
 		$this->headers['X-Robots-Tag'] = 'none';
243 243
 
244 244
 		if ($this->ETag) {
245
-			$mergeWith['ETag'] = '"' . $this->ETag . '"';
245
+			$mergeWith['ETag'] = '"'.$this->ETag.'"';
246 246
 		}
247 247
 
248 248
 		return array_merge($mergeWith, $this->headers);
Please login to merge, or discard this patch.