Passed
Push — master ( 2b6b2d...30755c )
by
unknown
14:27
created
typo3/sysext/core/Classes/Database/RelationHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -488,7 +488,7 @@  discard block
 block discarded – undo
488 488
         if ($sortby === 'uid') {
489 489
             usort(
490 490
                 $this->itemArray,
491
-                function ($a, $b) {
491
+                function($a, $b) {
492 492
                     return $a['id'] < $b['id'] ? -1 : 1;
493 493
                 }
494 494
             );
@@ -1439,7 +1439,7 @@  discard block
 block discarded – undo
1439 1439
             }
1440 1440
 
1441 1441
             $purgedItemIds = [];
1442
-            $callable =[$this, $purgeCallback];
1442
+            $callable = [$this, $purgeCallback];
1443 1443
             if (is_callable($callable)) {
1444 1444
                 $purgedItemIds = call_user_func($callable, $itemTableName, $itemIds);
1445 1445
             }
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Schema/ConnectionMigrator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
                 // Ignore new indexes that work on columns that need changes
163 163
                 foreach ($changedTable->addedIndexes as $indexName => $addedIndex) {
164 164
                     $indexColumns = array_map(
165
-                        function ($columnName) {
165
+                        function($columnName) {
166 166
                             // Strip MySQL prefix length information to get real column names
167 167
                             $columnName = preg_replace('/\(\d+\)$/', '', $columnName) ?? '';
168 168
                             // Strip mssql '[' and ']' from column names
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
         $tablesForConnection = array_keys(
257 257
             array_filter(
258 258
                 $GLOBALS['TYPO3_CONF_VARS']['DB']['TableMapping'],
259
-                function ($tableConnectionName) use ($connectionName) {
259
+                function($tableConnectionName) use ($connectionName) {
260 260
                     return $tableConnectionName === $connectionName;
261 261
                 }
262 262
             )
@@ -1096,7 +1096,7 @@  discard block
 block discarded – undo
1096 1096
     {
1097 1097
         return array_filter(
1098 1098
             $tableDiffs,
1099
-            function ($table) use ($validTableNames) {
1099
+            function($table) use ($validTableNames) {
1100 1100
                 if ($table instanceof Table) {
1101 1101
                     $tableName = $table->getName();
1102 1102
                 } else {
@@ -1141,7 +1141,7 @@  discard block
 block discarded – undo
1141 1141
 
1142 1142
                 // Remove the length information from column names for indexes if required.
1143 1143
                 $cleanedColumnNames = array_map(
1144
-                    function (string $columnName) use ($connection) {
1144
+                    function(string $columnName) use ($connection) {
1145 1145
                         if ($connection->getDatabasePlatform() instanceof MySqlPlatform) {
1146 1146
                             // Returning the unquoted, unmodified version of the column name since
1147 1147
                             // it can include the length information for BLOB/TEXT columns which
Please login to merge, or discard this patch.
Classes/Database/Schema/EventListener/SchemaColumnDefinitionListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
         $values = explode($quoteChar . ',' . $quoteChar, substr($valuesDefinition, 1, -1)) ?: [];
120 120
 
121 121
         return array_map(
122
-            function (string $value) use ($quoteChar) {
122
+            function(string $value) use ($quoteChar) {
123 123
                 return str_replace($quoteChar . $quoteChar, $quoteChar, $value);
124 124
             },
125 125
             $values
Please login to merge, or discard this patch.