Passed
Push — master ( a3c3e9...b28ab0 )
by
unknown
16:13
created
typo3/sysext/core/Classes/Http/Stream.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -344,7 +344,7 @@
 block discarded – undo
344 344
     {
345 345
         $error = null;
346 346
         if (!is_resource($resource) && is_string($resource)) {
347
-            set_error_handler(function ($e) use (&$error): bool {
347
+            set_error_handler(function($e) use (&$error): bool {
348 348
                 $error = $e;
349 349
                 return true;
350 350
             }, E_WARNING);
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaSelectItems.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
                     $direction = strtolower($direction);
294 294
                     @usort(
295 295
                         $items,
296
-                        function ($item1, $item2) use ($direction) {
296
+                        function($item1, $item2) use ($direction) {
297 297
                             if ($direction === 'desc') {
298 298
                                 return (strcasecmp($item1[0], $item2[0]) <= 0) ? 1 : 0;
299 299
                             }
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
                     $direction = strtolower($direction);
306 306
                     @usort(
307 307
                         $items,
308
-                        function ($item1, $item2) use ($direction) {
308
+                        function($item1, $item2) use ($direction) {
309 309
                             if ($direction === 'desc') {
310 310
                                 return (strcasecmp($item1[1], $item2[1]) <= 0) ? 1 : 0;
311 311
                             }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Controller/FileStorage/TreeController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         } else {
65 65
             $items = $this->treeProvider->getRootNodes($this->getBackendUser());
66 66
         }
67
-        $items = array_map(function (array $item) {
67
+        $items = array_map(function(array $item) {
68 68
             return $this->prepareItemForOutput($item);
69 69
         }, $items);
70 70
         return new JsonResponse($items);
@@ -128,14 +128,14 @@  discard block
 block discarded – undo
128 128
         foreach ($items as $item) {
129 129
             $stateIdentifier = $item['stateIdentifier'];
130 130
             $parentIdentifier = $item['parentIdentifier'];
131
-            $siblings = array_filter($items, function ($itemInArray) use ($parentIdentifier) {
131
+            $siblings = array_filter($items, function($itemInArray) use ($parentIdentifier) {
132 132
                 if ($itemInArray['parentIdentifier'] === $parentIdentifier) {
133 133
                     return true;
134 134
                 }
135 135
                 return false;
136 136
             });
137 137
             $positionFound = false;
138
-            $siblingsBeforeInSameDepth = array_filter($siblings, function ($itemInArray) use ($stateIdentifier, &$positionFound): bool {
138
+            $siblingsBeforeInSameDepth = array_filter($siblings, function($itemInArray) use ($stateIdentifier, &$positionFound): bool {
139 139
                 if ($itemInArray['stateIdentifier'] === $stateIdentifier) {
140 140
                     $positionFound = true;
141 141
                     return false;
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/ServiceProvider.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -36,17 +36,17 @@
 block discarded – undo
36 36
     public function getFactories(): array
37 37
     {
38 38
         return [
39
-            Object\Container\Container::class => [ static::class, 'getObjectContainer' ],
40
-            Object\ObjectManager::class => [ static::class, 'getObjectManager' ],
39
+            Object\Container\Container::class => [static::class, 'getObjectContainer'],
40
+            Object\ObjectManager::class => [static::class, 'getObjectManager'],
41 41
             // @deprecated since v11, will be removed in v12
42
-            SignalSlot\Dispatcher::class => [ static::class, 'getSignalSlotDispatcher' ],
43
-            Configuration\BackendConfigurationManager::class => [ static::class, 'getBackendConfigurationManager' ],
44
-            Configuration\ConfigurationManager::class => [ static::class, 'getConfigurationManager' ],
45
-            Reflection\ReflectionService::class => [ static::class, 'getReflectionService' ],
42
+            SignalSlot\Dispatcher::class => [static::class, 'getSignalSlotDispatcher'],
43
+            Configuration\BackendConfigurationManager::class => [static::class, 'getBackendConfigurationManager'],
44
+            Configuration\ConfigurationManager::class => [static::class, 'getConfigurationManager'],
45
+            Reflection\ReflectionService::class => [static::class, 'getReflectionService'],
46 46
             // @deprecated since v11, will be removed in v12
47
-            Service\EnvironmentService::class => [ static::class, 'getEnvironmentService' ],
48
-            Service\ExtensionService::class => [ static::class, 'getExtensionService' ],
49
-            Security\Cryptography\HashService::class => [ static::class, 'getHashService' ],
47
+            Service\EnvironmentService::class => [static::class, 'getEnvironmentService'],
48
+            Service\ExtensionService::class => [static::class, 'getExtensionService'],
49
+            Security\Cryptography\HashService::class => [static::class, 'getHashService'],
50 50
         ];
51 51
     }
52 52
 
Please login to merge, or discard this patch.
typo3/sysext/extensionmanager/Classes/Report/ExtensionComposerStatus.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
         foreach ($deficits as $key => $deficit) {
76 76
             $message = '';
77
-            $extensionsToReport = count(array_filter($extensionsWithComposerDeficit, static function ($extensionDeficit) use ($key) {
77
+            $extensionsToReport = count(array_filter($extensionsWithComposerDeficit, static function($extensionDeficit) use ($key) {
78 78
                 return $extensionDeficit === $key;
79 79
             }));
80 80
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/RelationHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
         if ($sortby === 'uid') {
469 469
             usort(
470 470
                 $this->itemArray,
471
-                function ($a, $b) {
471
+                function($a, $b) {
472 472
                     return $a['id'] < $b['id'] ? -1 : 1;
473 473
                 }
474 474
             );
@@ -1407,7 +1407,7 @@  discard block
 block discarded – undo
1407 1407
             }
1408 1408
 
1409 1409
             $purgedItemIds = [];
1410
-            $callable =[$this, $purgeCallback];
1410
+            $callable = [$this, $purgeCallback];
1411 1411
             if (is_callable($callable)) {
1412 1412
                 $purgedItemIds = $callable($itemTableName, $itemIds);
1413 1413
             }
Please login to merge, or discard this patch.
typo3/sysext/info/Classes/Controller/TranslationStatusController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -99,8 +99,8 @@
 block discarded – undo
99 99
                         <div class="col">
100 100
                            <label class="form-label">' .
101 101
                                 htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:info/Resources/Private/Language/locallang_webinfo.xlf:moduleFunctions.' . $name)) .
102
-                           '</label>' .
103
-                           $menu .
102
+                            '</label>' .
103
+                            $menu .
104 104
                         '</div>';
105 105
                     if ($addCsh) {
106 106
                         $moduleMenu .= BackendUtility::cshItem('_MOD_web_info', $name, '', '<div class="col"><span class="btn btn-default btn-sm">|</span></div>');
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/ServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -48,19 +48,19 @@
 block discarded – undo
48 48
     public function getFactories(): array
49 49
     {
50 50
         return [
51
-            Application::class => [ static::class, 'getApplication' ],
52
-            RequestHandler::class => [ static::class, 'getRequestHandler' ],
53
-            RouteDispatcher::class => [ static::class, 'getRouteDispatcher' ],
54
-            UriBuilder::class => [ static::class, 'getUriBuilder' ],
55
-            'backend.middlewares' => [ static::class, 'getBackendMiddlewares' ],
56
-            'backend.routes' => [ static::class, 'getBackendRoutes' ],
51
+            Application::class => [static::class, 'getApplication'],
52
+            RequestHandler::class => [static::class, 'getRequestHandler'],
53
+            RouteDispatcher::class => [static::class, 'getRouteDispatcher'],
54
+            UriBuilder::class => [static::class, 'getUriBuilder'],
55
+            'backend.middlewares' => [static::class, 'getBackendMiddlewares'],
56
+            'backend.routes' => [static::class, 'getBackendRoutes'],
57 57
         ];
58 58
     }
59 59
 
60 60
     public function getExtensions(): array
61 61
     {
62 62
         return [
63
-            Router::class => [ static::class, 'configureBackendRouter' ],
63
+            Router::class => [static::class, 'configureBackendRouter'],
64 64
         ] + parent::getExtensions();
65 65
     }
66 66
 
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
         if (MathUtility::canBeInterpretedAsInteger($fileUid)) {
228 228
             try {
229 229
                 $file = GeneralUtility::makeInstance(ResourceFactory::class)->getFileObject($fileUid);
230
-            } catch (FileDoesNotExistException|\InvalidArgumentException $e) {
230
+            } catch (FileDoesNotExistException | \InvalidArgumentException $e) {
231 231
             }
232 232
         }
233 233
         return $file;
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
         foreach ($config['cropVariants'] as $id => $cropVariant) {
278 278
 
279 279
             // Filter allowed aspect ratios
280
-            $cropVariant['allowedAspectRatios'] = array_filter($cropVariant['allowedAspectRatios'] ?? [], static function ($aspectRatio) {
280
+            $cropVariant['allowedAspectRatios'] = array_filter($cropVariant['allowedAspectRatios'] ?? [], static function($aspectRatio) {
281 281
                 return !(bool)($aspectRatio['disabled'] ?? false);
282 282
             });
283 283
 
Please login to merge, or discard this patch.