Passed
Push — master ( d82bc6...48fd54 )
by
unknown
22:12
created
typo3/sysext/core/Classes/Utility/ArrayUtility.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         // Define a lambda function to be applied to all members of this array dimension
107 107
         // Call recursive if current value is of type array
108 108
         // Write to $resultArray (by reference!) if types and value match
109
-        $callback = function (&$value, $key) use ($needle, &$resultArray) {
109
+        $callback = function(&$value, $key) use ($needle, &$resultArray) {
110 110
             if ($value === $needle) {
111 111
                 $resultArray[$key] = $value;
112 112
             } elseif (is_array($value)) {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
         if (empty($arrays)) {
372 372
             return $arrays;
373 373
         }
374
-        $sortResult = uasort($arrays, function (array $a, array $b) use ($key, $ascending) {
374
+        $sortResult = uasort($arrays, function(array $a, array $b) use ($key, $ascending) {
375 375
             if (!isset($a[$key]) || !isset($b[$key])) {
376 376
                 throw new \RuntimeException('The specified sorting key "' . $key . '" is not available in the given array.', 1373727309);
377 377
             }
@@ -847,7 +847,7 @@  discard block
 block discarded – undo
847 847
      */
848 848
     public static function filterRecursive(array $array, callable $callback = null): array
849 849
     {
850
-        $callback = $callback ?: function ($value) {
850
+        $callback = $callback ?: function($value) {
851 851
             return (bool)$value;
852 852
         };
853 853
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Rendering/VideoTagRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             $attributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true);
82 82
         }
83 83
         if (isset($options['data']) && is_array($options['data'])) {
84
-            array_walk($options['data'], function (&$value, $key) {
84
+            array_walk($options['data'], function(&$value, $key) {
85 85
                 $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';
86 86
             });
87 87
             $attributes[] = implode(' ', $options['data']);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Resource/Rendering/AudioTagRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             $additionalAttributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true);
82 82
         }
83 83
         if (isset($options['data']) && is_array($options['data'])) {
84
-            array_walk($options['data'], function (&$value, $key) {
84
+            array_walk($options['data'], function(&$value, $key) {
85 85
                 $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"';
86 86
             });
87 87
             $additionalAttributes[] = implode(' ', $options['data']);
Please login to merge, or discard this patch.
typo3/sysext/indexed_search/Classes/Controller/SearchController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -700,9 +700,9 @@
 block discarded – undo
700 700
                         $iconPath = PathUtility::stripPathSitePrefix($fullPath);
701 701
                         $this->iconFileNameCache[$imageType] = $imageInfo->getWidth()
702 702
                             ? '<img src="' . $iconPath
703
-                              . '" width="' . $imageInfo->getWidth()
704
-                              . '" height="' . $imageInfo->getHeight()
705
-                              . '" title="' . htmlspecialchars($alt) . '" alt="" />'
703
+                                . '" width="' . $imageInfo->getWidth()
704
+                                . '" height="' . $imageInfo->getHeight()
705
+                                . '" title="' . htmlspecialchars($alt) . '" alt="" />'
706 706
                             : '';
707 707
                     }
708 708
                 }
Please login to merge, or discard this patch.
sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -565,7 +565,7 @@
 block discarded – undo
565 565
         } else {
566 566
             $pArray[$cEl['uid']]['_templates'][] = $row;
567 567
         }
568
-        uasort($pArray, function ($a, $b) {
568
+        uasort($pArray, function($a, $b) {
569 569
             return $a['sorting'] - $b['sorting'];
570 570
         });
571 571
     }
Please login to merge, or discard this patch.
typo3/sysext/adminpanel/Classes/Service/ConfigurationService.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
                     ($module instanceof ConfigurableInterface && $module->isEnabled())
126 126
                     || !($module instanceof ConfigurableInterface)
127 127
                 )
128
-             ) {
128
+                ) {
129 129
                 $module->onSubmit($configurationToSave, $request);
130 130
             }
131 131
             if ($module instanceof SubmoduleProviderInterface) {
Please login to merge, or discard this patch.
typo3/sysext/adminpanel/Classes/Controller/AjaxController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@
 block discarded – undo
52 52
     public function __construct(ConfigurationService $configurationService = null, ModuleLoader $moduleLoader = null)
53 53
     {
54 54
         $this->configurationService = $configurationService
55
-                                      ??
56
-                                      GeneralUtility::makeInstance(ConfigurationService::class);
55
+                                        ??
56
+                                        GeneralUtility::makeInstance(ConfigurationService::class);
57 57
         $this->adminPanelModuleConfiguration = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules'] ?? [];
58 58
         $this->moduleLoader = $moduleLoader ?? GeneralUtility::makeInstance(ModuleLoader::class);
59 59
     }
Please login to merge, or discard this patch.
typo3/sysext/adminpanel/Classes/Controller/MainController.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,8 @@
 block discarded – undo
81 81
         $this->moduleLoader = $moduleLoader ?? GeneralUtility::makeInstance(ModuleLoader::class);
82 82
         $this->uriBuilder = $uriBuilder ?? GeneralUtility::makeInstance(UriBuilder::class);
83 83
         $this->configurationService = $configurationService
84
-                                      ??
85
-                                      GeneralUtility::makeInstance(ConfigurationService::class);
84
+                                        ??
85
+                                        GeneralUtility::makeInstance(ConfigurationService::class);
86 86
         $this->adminPanelModuleConfiguration = $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules'] ?? [];
87 87
     }
88 88
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,12 +133,12 @@
 block discarded – undo
133 133
             $requestId = $request->getAttribute('adminPanelRequestId');
134 134
             $data = $cache->get($requestId);
135 135
             $moduleResources = ResourceUtility::getAdditionalResourcesForModules($this->modules);
136
-            $settingsModules = array_filter($this->modules, function (ModuleInterface $module) {
136
+            $settingsModules = array_filter($this->modules, function(ModuleInterface $module) {
137 137
                 return $module instanceof PageSettingsProviderInterface;
138 138
             });
139 139
             $parentModules = array_filter(
140 140
                 $this->modules,
141
-                function (ModuleInterface $module) {
141
+                function(ModuleInterface $module) {
142 142
                     return $module instanceof SubmoduleProviderInterface && $module instanceof ShortInfoProviderInterface;
143 143
                 }
144 144
             );
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Hooks/FormFileExtensionUpdate.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     public function getDescription(): string
107 107
     {
108 108
         return 'Form definition files need to be named *.form.yaml to have a way of distinguishing form yaml ' .
109
-               'configuration files from other yaml configuration files. This wizard will analyze and rename found files.';
109
+                'configuration files from other yaml configuration files. This wizard will analyze and rename found files.';
110 110
     }
111 111
 
112 112
     /**
@@ -187,8 +187,8 @@  discard block
 block discarded – undo
187 187
                 } else {
188 188
                     $this->output->writeln(
189 189
                         '<warning>There are references to form definitions which are located in extensions and thus cannot be renamed automatically by this wizard.'
190
-                      . 'This form definitions from extensions that do not end with .form.yaml have to be renamed by hand!'
191
-                      . 'After that you can run this wizard again to migrate the references.</warning>'
190
+                        . 'This form definitions from extensions that do not end with .form.yaml have to be renamed by hand!'
191
+                        . 'After that you can run this wizard again to migrate the references.</warning>'
192 192
                     );
193 193
                 }
194 194
             }
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
                 $success = false;
346 346
                 $this->output->writeln(sprintf(
347 347
                     '<error>Failed to rename form definition "%s" to "%s". You have to be rename it by hand!. '
348
-                  . 'After that you can run this wizard again to migrate the references.</error>',
348
+                    . 'After that you can run this wizard again to migrate the references.</error>',
349 349
                     $formDefinitionInformation['persistenceIdentifier'],
350 350
                     $this->getNewPersistenceIdentifier($formDefinitionInformation['persistenceIdentifier'])
351 351
                 ));
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
      */
374 374
     protected function getFormDefinitionsInformationFromStorages(): array
375 375
     {
376
-        $formDefinitionsInformation =  [];
376
+        $formDefinitionsInformation = [];
377 377
 
378 378
         foreach ($this->persistenceManager->retrieveYamlFilesFromStorageFolders() as $file) {
379 379
             $persistenceIdentifier = $file->getCombinedIdentifier();
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
      */
400 400
     protected function getFormDefinitionsInformationFromExtensions(): array
401 401
     {
402
-        $formDefinitionsInformation =  [];
402
+        $formDefinitionsInformation = [];
403 403
 
404 404
         foreach ($this->persistenceManager->retrieveYamlFilesFromExtensionFolders() as $persistenceIdentifier => $_) {
405 405
             try {
@@ -603,7 +603,7 @@  discard block
 block discarded – undo
603 603
 
604 604
         return array_filter(
605 605
             $flexform['data'],
606
-            function ($key) {
606
+            function($key) {
607 607
                 return $key !== 'sDEF' && strlen($key) === 32;
608 608
             },
609 609
             ARRAY_FILTER_USE_KEY
Please login to merge, or discard this patch.