Passed
Push — master ( 315991...0b00f0 )
by
unknown
14:31 queued 10s
created
typo3/sysext/backend/Classes/Form/Element/SelectSingleElement.php 1 patch
Spacing   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -56,11 +56,11 @@  discard block
 block discarded – undo
56 56
         ],
57 57
         'otherLanguageContent' => [
58 58
             'renderType' => 'otherLanguageContent',
59
-            'after' => [ 'localizationStateSelector' ],
59
+            'after' => ['localizationStateSelector'],
60 60
         ],
61 61
         'defaultLanguageDifferences' => [
62 62
             'renderType' => 'defaultLanguageDifferences',
63
-            'after' => [ 'otherLanguageContent' ],
63
+            'after' => ['otherLanguageContent'],
64 64
         ],
65 65
     ];
66 66
 
@@ -216,36 +216,36 @@  discard block
 block discarded – undo
216 216
         $html = [];
217 217
         $html[] = '<div class="formengine-field-item t3js-formengine-field-item">';
218 218
         $html[] = $fieldInformationHtml;
219
-        $html[] =   '<div class="form-control-wrap">';
220
-        $html[] =       '<div class="form-wizards-wrap">';
221
-        $html[] =           '<div class="form-wizards-element">';
219
+        $html[] = '<div class="form-control-wrap">';
220
+        $html[] = '<div class="form-wizards-wrap">';
221
+        $html[] = '<div class="form-wizards-element">';
222 222
         if ($hasIcons) {
223
-            $html[] =           '<div class="input-group">';
224
-            $html[] =               '<span class="input-group-addon input-group-icon">';
225
-            $html[] =                   $selectedIcon;
226
-            $html[] =               '</span>';
223
+            $html[] = '<div class="input-group">';
224
+            $html[] = '<span class="input-group-addon input-group-icon">';
225
+            $html[] = $selectedIcon;
226
+            $html[] = '</span>';
227 227
         }
228
-        $html[] =                   '<select ' . GeneralUtility::implodeAttributes($selectAttributes, true) . '>';
229
-        $html[] =                       $options;
230
-        $html[] =                   '</select>';
228
+        $html[] = '<select ' . GeneralUtility::implodeAttributes($selectAttributes, true) . '>';
229
+        $html[] = $options;
230
+        $html[] = '</select>';
231 231
         if ($hasIcons) {
232
-            $html[] =           '</div>';
232
+            $html[] = '</div>';
233 233
         }
234
-        $html[] =           '</div>';
234
+        $html[] = '</div>';
235 235
         if (!$disabled && !empty($fieldControlHtml)) {
236
-            $html[] =      '<div class="form-wizards-items-aside">';
237
-            $html[] =          '<div class="btn-group">';
238
-            $html[] =              $fieldControlHtml;
239
-            $html[] =          '</div>';
240
-            $html[] =      '</div>';
236
+            $html[] = '<div class="form-wizards-items-aside">';
237
+            $html[] = '<div class="btn-group">';
238
+            $html[] = $fieldControlHtml;
239
+            $html[] = '</div>';
240
+            $html[] = '</div>';
241 241
         }
242 242
         if (!$disabled && !empty($fieldWizardHtml)) {
243
-            $html[] =       '<div class="form-wizards-items-bottom">';
244
-            $html[] =           $fieldWizardHtml;
245
-            $html[] =       '</div>';
243
+            $html[] = '<div class="form-wizards-items-bottom">';
244
+            $html[] = $fieldWizardHtml;
245
+            $html[] = '</div>';
246 246
         }
247
-        $html[] =       '</div>';
248
-        $html[] =   '</div>';
247
+        $html[] = '</div>';
248
+        $html[] = '</div>';
249 249
         $html[] = '</div>';
250 250
 
251 251
         $resultArray['requireJsModules'][] = ['TYPO3/CMS/Backend/FormEngine/Element/SelectSingleElement' => implode(LF, [
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Template/Components/MetaInformation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
                 $resourceObject = GeneralUtility::makeInstance(ResourceFactory::class)->getObjectFromCombinedIdentifier($pageRecord['combined_identifier']);
70 70
                 $title = $resourceObject->getStorage()->getName() . ':';
71 71
                 $title .= $resourceObject->getParentFolder()->getReadablePath();
72
-            } catch (ResourceDoesNotExistException|InsufficientFolderAccessPermissionsException $e) {
72
+            } catch (ResourceDoesNotExistException | InsufficientFolderAccessPermissionsException $e) {
73 73
             }
74 74
         }
75 75
         // Setting the path of the page
Please login to merge, or discard this patch.
typo3/sysext/filelist/Classes/FileList.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
                 $theData[$v] = htmlspecialchars($this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:labels._REF_'));
338 338
             } else {
339 339
                 // Normal row
340
-                $theData[$v]  = $this->linkWrapSort($this->folderObject->getCombinedIdentifier(), $v);
340
+                $theData[$v] = $this->linkWrapSort($this->folderObject->getCombinedIdentifier(), $v);
341 341
             }
342 342
         }
343 343
 
@@ -686,7 +686,7 @@  discard block
 block discarded – undo
686 686
     {
687 687
         // first two keys are "0" (default) and "-1" (multiple), after that comes the "other languages"
688 688
         $allSystemLanguages = $this->translateTools->getSystemLanguages();
689
-        return array_filter($allSystemLanguages, function ($languageRecord) {
689
+        return array_filter($allSystemLanguages, function($languageRecord) {
690 690
             if ($languageRecord['uid'] === -1 || $languageRecord['uid'] === 0 || !$this->getBackendUser()->checkLanguageAccess($languageRecord['uid'])) {
691 691
                 return false;
692 692
             }
Please login to merge, or discard this patch.
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -3572,7 +3572,7 @@  discard block
 block discarded – undo
3572 3572
                     $replaceArray = $typoScriptService->explodeConfigurationForOptionSplit([$replace], $splitCount);
3573 3573
                     $replaceCount = 0;
3574 3574
 
3575
-                    $replaceCallback = function ($match) use ($replaceArray, $search, &$replaceCount) {
3575
+                    $replaceCallback = function($match) use ($replaceArray, $search, &$replaceCount) {
3576 3576
                         $replaceCount++;
3577 3577
                         return preg_replace($search, $replaceArray[$replaceCount - 1][0], $match[0]);
3578 3578
                     };
@@ -3590,7 +3590,7 @@  discard block
 block discarded – undo
3590 3590
                 $replaceArray = $typoScriptService->explodeConfigurationForOptionSplit([$replace], $splitCount);
3591 3591
                 $replaceCount = 0;
3592 3592
 
3593
-                $replaceCallback = function () use ($replaceArray, &$replaceCount) {
3593
+                $replaceCallback = function() use ($replaceArray, &$replaceCount) {
3594 3594
                     $replaceCount++;
3595 3595
                     return $replaceArray[$replaceCount - 1][0];
3596 3596
                 };
@@ -6073,7 +6073,7 @@  discard block
 block discarded – undo
6073 6073
             if (!$this->getFrontendBackendUser() instanceof AbstractUserAuthentication) {
6074 6074
                 $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('cache_treelist');
6075 6075
                 try {
6076
-                    $connection->transactional(function ($connection) use ($cacheEntry) {
6076
+                    $connection->transactional(function($connection) use ($cacheEntry) {
6077 6077
                         $connection->insert('cache_treelist', $cacheEntry);
6078 6078
                     });
6079 6079
                 } catch (\Throwable $e) {
@@ -6260,7 +6260,7 @@  discard block
 block discarded – undo
6260 6260
             $conf['recursive'] = (int)$conf['recursive'];
6261 6261
             if ($conf['recursive'] > 0) {
6262 6262
                 $pidList = GeneralUtility::trimExplode(',', $conf['pidInList'], true);
6263
-                array_walk($pidList, function (&$storagePid) {
6263
+                array_walk($pidList, function(&$storagePid) {
6264 6264
                     if ($storagePid === 'this') {
6265 6265
                         $storagePid = $this->getTypoScriptFrontendController()->id;
6266 6266
                     }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Configuration/Loader/YamlFileLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
                     $importedContent = $this->loadAndParse($import['resource'], $fileName);
160 160
                     // override the imported content with the one from the current file
161 161
                     $content = ArrayUtility::replaceAndAppendScalarValuesRecursive($importedContent, $content);
162
-                } catch (ParseException|YamlParseException|YamlFileLoadingException $exception) {
162
+                } catch (ParseException | YamlParseException | YamlFileLoadingException $exception) {
163 163
                     $this->logger->error($exception->getMessage(), ['exception' => $exception]);
164 164
                 }
165 165
             }
Please login to merge, or discard this patch.
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaFlexPrepare.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
                     $result['databaseRow']
83 83
                 );
84 84
                 $dataStructureArray = $flexFormTools->parseDataStructureByIdentifier($dataStructureIdentifier);
85
-            } catch (InvalidParentRowException|InvalidParentRowLoopException|InvalidParentRowRootException|InvalidPointerFieldValueException|InvalidIdentifierException $e) {
85
+            } catch (InvalidParentRowException | InvalidParentRowLoopException | InvalidParentRowRootException | InvalidPointerFieldValueException | InvalidIdentifierException $e) {
86 86
                 $dataStructureIdentifier = null;
87 87
             } finally {
88 88
                 // Add the identifier to TCA to use it later during rendering
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/FolderStructure/DefaultFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
             }
131 131
         } else {
132 132
             // This is when the public path is a subfolder (e.g. public/ or web/)
133
-            $publicPath = substr(Environment::getPublicPath(), strlen(Environment::getProjectPath())+1);
133
+            $publicPath = substr(Environment::getPublicPath(), strlen(Environment::getProjectPath()) + 1);
134 134
 
135 135
             $publicPathSubStructure = [
136 136
                 [
Please login to merge, or discard this patch.
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.