Passed
Push — master ( a78624...b981cb )
by Christoph
14:14 queued 11s
created
core/templates/loginflowv2/authpicker.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	<h2><?php p($l->t('Connect to your account')) ?></h2>
31 31
 	<p class="info">
32 32
 		<?php print_unescaped($l->t('Please log in before granting %1$s access to your %2$s account.', [
33
-			'<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
33
+			'<strong>'.\OCP\Util::sanitizeHTML($_['client']).'</strong>',
34 34
 			\OCP\Util::sanitizeHTML($_['instanceName'])
35 35
 		])) ?>
36 36
 	</p>
Please login to merge, or discard this patch.
core/templates/loginflowv2/grant.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 	<h2><?php p($l->t('Account access')) ?></h2>
32 32
 	<p class="info">
33 33
 		<?php print_unescaped($l->t('You are about to grant %1$s access to your %2$s account.', [
34
-			'<strong>' . \OCP\Util::sanitizeHTML($_['client']) . '</strong>',
34
+			'<strong>'.\OCP\Util::sanitizeHTML($_['client']).'</strong>',
35 35
 			\OCP\Util::sanitizeHTML($_['instanceName'])
36 36
 		])) ?>
37 37
 	</p>
Please login to merge, or discard this patch.
apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 	}
58 58
 
59 59
 	protected function run($argument) {
60
-		$this->userManager->callForSeenUsers(function (IUser $user) {
60
+		$this->userManager->callForSeenUsers(function(IUser $user) {
61 61
 			$providers = $this->registry->getProviderStates($user);
62 62
 			$isTwoFactorAuthenticated = $this->twofactorManager->isTwoFactorAuthenticated($user);
63 63
 
Please login to merge, or discard this patch.
apps/twofactor_backupcodes/lib/Provider/BackupCodesProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
 	 * @return boolean
144 144
 	 */
145 145
 	public function isActive(IUser $user): bool {
146
-		$appIds = array_filter($this->appManager->getEnabledAppsForUser($user), function ($appId) {
146
+		$appIds = array_filter($this->appManager->getEnabledAppsForUser($user), function($appId) {
147 147
 			return $appId !== $this->appName;
148 148
 		});
149 149
 		foreach ($appIds as $appId) {
Please login to merge, or discard this patch.
apps/federation/lib/SyncJob.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 	}
49 49
 
50 50
 	protected function run($argument) {
51
-		$this->syncService->syncThemAll(function ($url, $ex) {
51
+		$this->syncService->syncThemAll(function($url, $ex) {
52 52
 			if ($ex instanceof \Exception) {
53 53
 				$this->logger->logException($ex, [
54 54
 					'message' => "Error while syncing $url.",
Please login to merge, or discard this patch.
apps/files_external/lib/AppInfo/Application.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 		$backendService = $container->query(BackendService::class);
86 86
 		$backendService->registerBackendProvider($this);
87 87
 		$backendService->registerAuthMechanismProvider($this);
88
-		$backendService->registerConfigHandler('user', function () use ($container) {
88
+		$backendService->registerConfigHandler('user', function() use ($container) {
89 89
 			return $container->query(UserPlaceholderHandler::class);
90 90
 		});
91 91
 
@@ -97,8 +97,8 @@  discard block
 block discarded – undo
97 97
 	public function registerListeners() {
98 98
 		$dispatcher = $this->getContainer()->getServer()->getEventDispatcher();
99 99
 		$dispatcher->addListener(
100
-			IUser::class . '::postDelete',
101
-			function (GenericEvent $event) {
100
+			IUser::class.'::postDelete',
101
+			function(GenericEvent $event) {
102 102
 				/** @var IUser $user */
103 103
 				$user = $event->getSubject();
104 104
 				/** @var DBConfigService $config */
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
 			}
108 108
 		);
109 109
 		$dispatcher->addListener(
110
-			IGroup::class . '::postDelete',
111
-			function (GenericEvent $event) {
110
+			IGroup::class.'::postDelete',
111
+			function(GenericEvent $event) {
112 112
 				/** @var IGroup $group */
113 113
 				$group = $event->getSubject();
114 114
 				/** @var DBConfigService $config */
Please login to merge, or discard this patch.
apps/updatenotification/lib/Controller/APIController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
 		// Get list of installed custom apps
80 80
 		$installedApps = $this->appManager->getInstalledApps();
81
-		$installedApps = array_filter($installedApps, function ($app) {
81
+		$installedApps = array_filter($installedApps, function($app) {
82 82
 			try {
83 83
 				$this->appManager->getAppPath($app);
84 84
 			} catch (AppPathNotFoundException $e) {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 		$this->appFetcher->setVersion($newVersion, 'future-apps.json', false);
98 98
 
99 99
 		// Apps available on the app store for that version
100
-		$availableApps = array_map(function (array $app) {
100
+		$availableApps = array_map(function(array $app) {
101 101
 			return $app['id'];
102 102
 		}, $this->appFetcher->get());
103 103
 
Please login to merge, or discard this patch.
apps/dav/lib/AppInfo/PluginManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@
 block discarded – undo
272 272
 	 * @param string[] $plugin
273 273
 	 */
274 274
 	private function loadSabreAddressBookPluginsFromInfoXml(array $plugins): void {
275
-		$providers = array_map(function (string $className): IAddressBookProvider {
275
+		$providers = array_map(function(string $className): IAddressBookProvider {
276 276
 			$instance = $this->createPluginInstance($className);
277 277
 			if (!($instance instanceof IAddressBookProvider)) {
278 278
 				throw new \Exception("Sabre address book plugin class '$className' does not implement the \OCA\DAV\CardDAV\Integration\IAddressBookProvider interface");
Please login to merge, or discard this patch.
apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 	 * @inheritDoc
58 58
 	 */
59 59
 	public function run($argument) {
60
-		$this->userManager->callForSeenUsers(function (IUser $user) {
60
+		$this->userManager->callForSeenUsers(function(IUser $user) {
61 61
 			$this->jobList->add(GenerateBirthdayCalendarBackgroundJob::class, [
62 62
 				'userId' => $user->getUID(),
63 63
 				'purgeBeforeGenerating' => true
Please login to merge, or discard this patch.