Passed
Push — master ( f0165a...9773f7 )
by
unknown
14:11
created
typo3/sysext/core/Classes/TypoScript/Parser/ConstantConfigurationParser.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
             // Sort configurations of each subcategory
77 77
             foreach ($hierarchicConfiguration as &$catConfigurationArray) {
78 78
                 foreach ($catConfigurationArray as &$subcatConfigurationArray) {
79
-                    uasort($subcatConfigurationArray, function ($a, $b) {
79
+                    uasort($subcatConfigurationArray, function($a, $b) {
80 80
                         return strnatcmp($a['subcat'], $b['subcat']);
81 81
                     });
82 82
                 }
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
                                     $editableComments[$const]['subcat_name'] = $catSplit[1];
262 262
                                     $orderIdentifier = isset($catSplit[2]) ? trim($catSplit[2]) : $counter;
263 263
                                     $editableComments[$const]['subcat'] = ($this->subCategories[$catSplit[1]][1] ?? '')
264
-                                                                          . '/' . $catSplit[1] . '/' . $orderIdentifier . 'z';
264
+                                                                            . '/' . $catSplit[1] . '/' . $orderIdentifier . 'z';
265 265
                                 } elseif (isset($catSplit[2])) {
266 266
                                     $editableComments[$const]['subcat'] = 'x/' . trim($catSplit[2]) . 'z';
267 267
                                 } else {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Schema/Parser/TableBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         $indexName = $item->indexName->getQuotedName();
199 199
 
200 200
         $columnNames = array_map(
201
-            function (IndexColumnName $columnName) {
201
+            function(IndexColumnName $columnName) {
202 202
                 if ($columnName->length) {
203 203
                     return $columnName->columnName->getQuotedName() . '(' . $columnName->length . ')';
204 204
                 }
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
     {
249 249
         $indexName = $item->indexName->getQuotedName() ?: null;
250 250
         $localColumnNames = array_map(
251
-            function (IndexColumnName $columnName) {
251
+            function(IndexColumnName $columnName) {
252 252
                 return $columnName->columnName->getQuotedName();
253 253
             },
254 254
             $item->columnNames
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     ) {
271 271
         $foreignTableName = $referenceDefinition->tableName->getQuotedName();
272 272
         $foreignColumnNames = array_map(
273
-            function (IndexColumnName $columnName) {
273
+            function(IndexColumnName $columnName) {
274 274
                 return $columnName->columnName->getQuotedName();
275 275
             },
276 276
             $referenceDefinition->columnNames
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Query/QueryHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         $orderExpressions = GeneralUtility::trimExplode(',', $input, true);
46 46
 
47 47
         return array_map(
48
-            function ($expression) {
48
+            function($expression) {
49 49
                 $fieldNameOrderArray = GeneralUtility::trimExplode(' ', $expression, true);
50 50
                 $fieldName = $fieldNameOrderArray[0] ?? null;
51 51
                 $order = $fieldNameOrderArray[1] ?? null;
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $tableExpressions = GeneralUtility::trimExplode(',', $input, true);
74 74
 
75 75
         return array_map(
76
-            function ($expression) {
76
+            function($expression) {
77 77
                 [$tableName, $as, $alias] = array_pad(GeneralUtility::trimExplode(' ', $expression, true), 3, null);
78 78
 
79 79
                 if (!empty($as) && strtolower($as) === 'as' && !empty($alias)) {
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
         if (strpos($sql, '{#') !== false) {
220 220
             $sql = preg_replace_callback(
221 221
                 '/{#(?P<identifier>[^}]+)}/',
222
-                function (array $matches) use ($connection) {
222
+                function(array $matches) use ($connection) {
223 223
                     return $connection->quoteIdentifier($matches['identifier']);
224 224
                 },
225 225
                 $sql
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Driver/PDOPgSql/Driver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
             if (defined('PDO::PGSQL_ATTR_DISABLE_PREPARES')
45 45
                 && (
46
-                    ! isset($driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES])
46
+                    !isset($driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES])
47 47
                     || $driverOptions[PDO::PGSQL_ATTR_DISABLE_PREPARES] === true
48 48
                 )
49 49
             ) {
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Driver/PDOStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         if (is_array($record)) {
34 34
             return array_map(
35
-                static function ($value) {
35
+                static function($value) {
36 36
                     if (is_resource($value)) {
37 37
                         $value = stream_get_contents($value);
38 38
                     }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Crypto/PasswordHashing/PasswordHashFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
                 1533820194
110 110
             );
111 111
         }
112
-        $hashInstance =  GeneralUtility::makeInstance($defaultHashClassName, $defaultHashOptions);
112
+        $hashInstance = GeneralUtility::makeInstance($defaultHashClassName, $defaultHashOptions);
113 113
         if (!$hashInstance instanceof PasswordHashInterface) {
114 114
             throw new \LogicException(
115 115
                 'Configured default hash method ' . $defaultHashClassName . ' is not an instance of PasswordHashInterface',
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/SlugHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -564,7 +564,7 @@
 block discarded – undo
564 564
 
565 565
         return array_filter(
566 566
             array_map(
567
-                function (array $record) {
567
+                function(array $record) {
568 568
                     BackendUtility::workspaceOL(
569 569
                         $this->tableName,
570 570
                         $record,
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/DataHandling/Model/RecordStateFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     protected function resolveAspectFieldValues(array $data): array
101 101
     {
102 102
         return array_map(
103
-            function ($aspectFieldName) use ($data) {
103
+            function($aspectFieldName) use ($data) {
104 104
                 return (int)($data[$aspectFieldName] ?? 0);
105 105
             },
106 106
             $this->resolveAspectFieldNames()
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Context/LanguageAspect.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,10 +73,10 @@
 block discarded – undo
73 73
      */
74 74
     protected $overlayType;
75 75
 
76
-    public const OVERLAYS_OFF = 'off';  // config.sys_language_overlay = 0
77
-    public const OVERLAYS_MIXED = 'mixed';  // config.sys_language_overlay = 1 (keep the ones that are only available in default language)
78
-    public const OVERLAYS_ON = 'on';    // "hideNonTranslated"
79
-    public const OVERLAYS_ON_WITH_FLOATING = 'includeFloating';    // "hideNonTranslated" + records that are only available in polish
76
+    public const OVERLAYS_OFF = 'off'; // config.sys_language_overlay = 0
77
+    public const OVERLAYS_MIXED = 'mixed'; // config.sys_language_overlay = 1 (keep the ones that are only available in default language)
78
+    public const OVERLAYS_ON = 'on'; // "hideNonTranslated"
79
+    public const OVERLAYS_ON_WITH_FLOATING = 'includeFloating'; // "hideNonTranslated" + records that are only available in polish
80 80
 
81 81
     /**
82 82
      * Create the default language
Please login to merge, or discard this patch.