Passed
Push — master ( d52ee8...0e6e80 )
by Joas
52:59 queued 30:23
created
apps/contactsinteraction/lib/Listeners/ContactInteractionListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
 				$contact->setCard($parsed->serialize());
127 127
 			} catch (Throwable $e) {
128 128
 				$this->logger->warning(
129
-					'Could not parse card to add recent category: ' . $e->getMessage(),
129
+					'Could not parse card to add recent category: '.$e->getMessage(),
130 130
 					[
131 131
 						'exception' => $e,
132 132
 					]);
Please login to merge, or discard this patch.
apps/files_versions/lib/AppInfo/Application.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 		/**
64 64
 		 * Register $principalBackend for the DAV collection
65 65
 		 */
66
-		$context->registerService('principalBackend', function (ContainerInterface $c) {
66
+		$context->registerService('principalBackend', function(ContainerInterface $c) {
67 67
 			/** @var IServerContainer $server */
68 68
 			$server = $c->get(IServerContainer::class);
69 69
 			return new Principal(
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 			);
78 78
 		});
79 79
 
80
-		$context->registerService(IVersionManager::class, function () {
80
+		$context->registerService(IVersionManager::class, function() {
81 81
 			return new VersionManager();
82 82
 		});
83 83
 
Please login to merge, or discard this patch.
apps/files_trashbin/lib/Command/Size.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -74,10 +74,10 @@  discard block
 block discarded – undo
74 74
 				return -1;
75 75
 			}
76 76
 			if ($user) {
77
-				$this->config->setUserValue($user, 'files_trashbin', 'trashbin_size', (string)$parsedSize);
77
+				$this->config->setUserValue($user, 'files_trashbin', 'trashbin_size', (string) $parsedSize);
78 78
 				$this->commandBus->push(new Expire($user));
79 79
 			} else {
80
-				$this->config->setAppValue('files_trashbin', 'trashbin_size', (string)$parsedSize);
80
+				$this->config->setAppValue('files_trashbin', 'trashbin_size', (string) $parsedSize);
81 81
 				$output->writeln("<info>Warning: changing the default trashbin size will automatically trigger cleanup of existing trashbins,</info>");
82 82
 				$output->writeln("<info>a users trashbin can exceed the configured size until they move a new file to the trashbin.</info>");
83 83
 			}
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 	}
90 90
 
91 91
 	private function printTrashbinSize(InputInterface $input, OutputInterface $output, ?string $user) {
92
-		$globalSize = (int)$this->config->getAppValue('files_trashbin', 'trashbin_size', '-1');
92
+		$globalSize = (int) $this->config->getAppValue('files_trashbin', 'trashbin_size', '-1');
93 93
 		if ($globalSize < 0) {
94 94
 			$globalHumanSize = "default (50% of available space)";
95 95
 		} else {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 		}
98 98
 
99 99
 		if ($user) {
100
-			$userSize = (int)$this->config->getUserValue($user, 'files_trashbin', 'trashbin_size', '-1');
100
+			$userSize = (int) $this->config->getUserValue($user, 'files_trashbin', 'trashbin_size', '-1');
101 101
 
102 102
 			if ($userSize < 0) {
103 103
 				$userHumanSize = ($globalSize < 0) ? $globalHumanSize : "default($globalHumanSize)";
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 			}
119 119
 		} else {
120 120
 			$users = [];
121
-			$this->userManager->callForSeenUsers(function (IUser $user) use (&$users) {
121
+			$this->userManager->callForSeenUsers(function(IUser $user) use (&$users) {
122 122
 				$users[] = $user->getUID();
123 123
 			});
124 124
 			$userValues = $this->config->getUserValueForUsers('files_trashbin', 'trashbin_size', $users);
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 				$output->writeln("");
129 129
 				if (count($userValues)) {
130 130
 					$output->writeln("Per-user sizes:");
131
-					$this->writeArrayInOutputFormat($input, $output, array_map(function ($size) {
131
+					$this->writeArrayInOutputFormat($input, $output, array_map(function($size) {
132 132
 						return \OC_Helper::humanFileSize($size);
133 133
 					}, $userValues));
134 134
 				} else {
Please login to merge, or discard this patch.
apps/systemtags/lib/AppInfo/Application.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -45,20 +45,20 @@  discard block
 block discarded – undo
45 45
 	}
46 46
 
47 47
 	public function boot(IBootContext $context): void {
48
-		$context->injectFn(function (EventDispatcher $dispatcher) use ($context) {
48
+		$context->injectFn(function(EventDispatcher $dispatcher) use ($context) {
49 49
 			/*
50 50
 			 * @todo move the OCP events and then move the registration to `register`
51 51
 			 */
52 52
 			$dispatcher->addListener(
53 53
 				'OCA\Files::loadAdditionalScripts',
54
-				function () {
54
+				function() {
55 55
 					// FIXME: no public API for these ?
56 56
 					\OCP\Util::addScript('dist/systemtags');
57 57
 					\OCP\Util::addScript(self::APP_ID, 'systemtags');
58 58
 				}
59 59
 			);
60 60
 
61
-			$managerListener = function (ManagerEvent $event) use ($context) {
61
+			$managerListener = function(ManagerEvent $event) use ($context) {
62 62
 				/** @var \OCA\SystemTags\Activity\Listener $listener */
63 63
 				$listener = $context->getServerContainer()->query(Listener::class);
64 64
 				$listener->event($event);
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 			$dispatcher->addListener(ManagerEvent::EVENT_DELETE, $managerListener);
68 68
 			$dispatcher->addListener(ManagerEvent::EVENT_UPDATE, $managerListener);
69 69
 
70
-			$mapperListener = function (MapperEvent $event) use ($context) {
70
+			$mapperListener = function(MapperEvent $event) use ($context) {
71 71
 				/** @var \OCA\SystemTags\Activity\Listener $listener */
72 72
 				$listener = $context->getServerContainer()->query(Listener::class);
73 73
 				$listener->mapperEvent($event);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 			$dispatcher->addListener(MapperEvent::EVENT_UNASSIGN, $mapperListener);
77 77
 		});
78 78
 
79
-		\OCA\Files\App::getNavigationManager()->add(function () {
79
+		\OCA\Files\App::getNavigationManager()->add(function() {
80 80
 			$l = \OC::$server->getL10N(self::APP_ID);
81 81
 			return [
82 82
 				'id' => 'systemtagsfilter',
Please login to merge, or discard this patch.
apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	 * InvitationResponseServer constructor.
46 46
 	 */
47 47
 	public function __construct() {
48
-		$baseUri = \OC::$WEBROOT . '/remote.php/dav/';
48
+		$baseUri = \OC::$WEBROOT.'/remote.php/dav/';
49 49
 		$logger = \OC::$server->getLogger();
50 50
 		/** @var IEventDispatcher $dispatcher */
51 51
 		$dispatcher = \OC::$server->query(IEventDispatcher::class);
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 		));
98 98
 
99 99
 		// wait with registering these until auth is handled and the filesystem is setup
100
-		$this->server->on('beforeMethod:*', function () use ($root) {
100
+		$this->server->on('beforeMethod:*', function() use ($root) {
101 101
 			// register plugins from apps
102 102
 			$pluginManager = new PluginManager(
103 103
 				\OC::$server,
Please login to merge, or discard this patch.
apps/theming/lib/Listener/BeforeTemplateRenderedListener.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 handle(Event $event): void {
62 62
 		$serverContainer = $this->serverContainer;
63
-		$this->initialStateService->provideLazyInitialState(Application::APP_ID, 'data', function () use ($serverContainer) {
63
+		$this->initialStateService->provideLazyInitialState(Application::APP_ID, 'data', function() use ($serverContainer) {
64 64
 			return $serverContainer->query(JSDataService::class);
65 65
 		});
66 66
 
Please login to merge, or discard this patch.
apps/user_status/lib/Listener/BeforeTemplateRenderedListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
 			return;
66 66
 		}
67 67
 
68
-		$this->initialState->provideLazyInitialState(Application::APP_ID, 'status', function () {
68
+		$this->initialState->provideLazyInitialState(Application::APP_ID, 'status', function() {
69 69
 			return $this->jsDataService;
70 70
 		});
71 71
 
Please login to merge, or discard this patch.
apps/user_status/composer/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,6 +2,6 @@
 block discarded – undo
2 2
 
3 3
 // autoload.php @generated by Composer
4 4
 
5
-require_once __DIR__ . '/composer/autoload_real.php';
5
+require_once __DIR__.'/composer/autoload_real.php';
6 6
 
7 7
 return ComposerAutoloaderInitUserStatus::getLoader();
Please login to merge, or discard this patch.
apps/user_status/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\\UserStatus\\' => array($baseDir . '/../lib'),
9
+    'OCA\\UserStatus\\' => array($baseDir.'/../lib'),
10 10
 );
Please login to merge, or discard this patch.