Passed
Push — master ( 933edc...f61bbf )
by
unknown
15:51
created
typo3/sysext/core/Classes/Service/OpcodeCacheService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
                 'active' => extension_loaded('Zend OPcache') && ini_get('opcache.enable') === '1',
36 36
                 'version' => phpversion('Zend OPcache'),
37 37
                 'warning' => self::isClearable() ? false : 'Either opcache_invalidate or opcache_reset are disabled in this installation. Clearing will not work.',
38
-                'clearCallback' => static function ($fileAbsPath) {
38
+                'clearCallback' => static function($fileAbsPath) {
39 39
                     if (self::isClearable()) {
40 40
                         if ($fileAbsPath !== null) {
41 41
                             opcache_invalidate($fileAbsPath);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/Localization/DataMapProcessor.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1142,7 +1142,7 @@  discard block
 block discarded – undo
1142 1142
     {
1143 1143
         return array_filter(
1144 1144
             $items,
1145
-            function (DataMapItem $item) use ($type) {
1145
+            function(DataMapItem $item) use ($type) {
1146 1146
                 return $item->getType() === $type;
1147 1147
             }
1148 1148
         );
@@ -1158,7 +1158,7 @@  discard block
 block discarded – undo
1158 1158
     {
1159 1159
         $ids = array_filter(
1160 1160
             $ids,
1161
-            function ($id) {
1161
+            function($id) {
1162 1162
                 return MathUtility::canBeInterpretedAsInteger($id);
1163 1163
             }
1164 1164
         );
@@ -1176,7 +1176,7 @@  discard block
 block discarded – undo
1176 1176
     {
1177 1177
         return array_filter(
1178 1178
             $ids,
1179
-            function ($id) use ($tableName) {
1179
+            function($id) use ($tableName) {
1180 1180
                 return $this->findItem($tableName, $id) === null;
1181 1181
             }
1182 1182
         );
@@ -1191,7 +1191,7 @@  discard block
 block discarded – undo
1191 1191
     protected function mapRelationItemId(array $relationItems)
1192 1192
     {
1193 1193
         return array_map(
1194
-            function (array $relationItem) {
1194
+            function(array $relationItem) {
1195 1195
                 return (int)$relationItem['id'];
1196 1196
             },
1197 1197
             $relationItems
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Controller/FormFrontendController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
         $sheetData = [];
196 196
         $sheetData['data'] = array_filter(
197 197
             $flexForm['data'] ?? [],
198
-            function ($key) use ($sheetIdentifier) {
198
+            function($key) use ($sheetIdentifier) {
199 199
                 return $key === $sheetIdentifier;
200 200
             },
201 201
             ARRAY_FILTER_USE_KEY
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Controller/FormManagerController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -350,7 +350,7 @@
 block discarded – undo
350 350
 
351 351
         $availableFormDefinitions = [];
352 352
         foreach ($this->formPersistenceManager->listForms() as $formDefinition) {
353
-            $referenceCount  = 0;
353
+            $referenceCount = 0;
354 354
             if (
355 355
                 isset($formDefinition['fileUid'])
356 356
                 && array_key_exists($formDefinition['fileUid'], $allReferencesForFileUid)
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Hooks/DataStructureIdentifierHook.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
                         );
185 185
                     }
186 186
                 }
187
-            } catch (NoSuchFileException|ParseErrorException $e) {
187
+            } catch (NoSuchFileException | ParseErrorException $e) {
188 188
                 $dataStructure = $this->addSelectedPersistenceIdentifier($identifier['ext-form-persistenceIdentifier'], $dataStructure);
189 189
                 $this->addInvalidFrameworkConfigurationFlashMessage($e);
190 190
             }
Please login to merge, or discard this patch.
sysext/form/Classes/Domain/Configuration/ArrayProcessing/ArrayProcessor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      * @param ArrayProcessing[] $processings
45 45
      * @return array
46 46
      */
47
-    public function forEach(...$processings): array
47
+    public function forEach (...$processings): array
48 48
     {
49 49
         $result = [];
50 50
 
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Domain/Configuration/ConfigurationService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
                 ArrayProcessing::class,
106 106
                 'selectablePrototypeNames',
107 107
                 '^([\d]+)\.identifier$',
108
-                function ($_, $value) {
108
+                function($_, $value) {
109 109
                     return $value;
110 110
                 }
111 111
             )
Please login to merge, or discard this patch.
typo3/sysext/form/Classes/Domain/Finishers/AbstractFinisher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@
 block discarded – undo
307 307
         // * mixed cases of the above
308 308
         return preg_replace_callback(
309 309
             '/{([^}]+)}/',
310
-            function ($matches) use ($formRuntime) {
310
+            function($matches) use ($formRuntime) {
311 311
                 $value = $this->resolveRuntimeReference(
312 312
                     $matches[1],
313 313
                     $formRuntime
Please login to merge, or discard this patch.
form/Classes/Domain/Condition/Functions/FormConditionFunctionsProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,10 +44,10 @@
 block discarded – undo
44 44
     {
45 45
         return new ExpressionFunction(
46 46
             'getFormValue',
47
-            function () {
47
+            function() {
48 48
                 // Not implemented, we only use the evaluator
49 49
             },
50
-            function ($arguments, $field) {
50
+            function($arguments, $field) {
51 51
                 return $arguments['formValues'][$field] ?? null;
52 52
             }
53 53
         );
Please login to merge, or discard this patch.