Passed
Push — master ( ec8345...bcf1e1 )
by
unknown
14:50
created
typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 
227 227
         $accessor = self::createAccessor();
228 228
         $propertyNames = array_keys($classSchema->getProperties());
229
-        $accessiblePropertyNames = array_filter($propertyNames, function ($propertyName) use ($accessor, $object) {
229
+        $accessiblePropertyNames = array_filter($propertyNames, function($propertyName) use ($accessor, $object) {
230 230
             return $accessor->isReadable($object, $propertyName);
231 231
         });
232 232
 
@@ -282,11 +282,11 @@  discard block
 block discarded – undo
282 282
         } else {
283 283
             $classSchema = GeneralUtility::makeInstance(ReflectionService::class)->getClassSchema($object);
284 284
 
285
-            $propertyNames = array_filter(array_keys($classSchema->getProperties()), function ($methodName) use ($accessor, $object) {
285
+            $propertyNames = array_filter(array_keys($classSchema->getProperties()), function($methodName) use ($accessor, $object) {
286 286
                 return $accessor->isWritable($object, $methodName);
287 287
             });
288 288
 
289
-            $setters = array_filter(array_keys($classSchema->getMethods()), function ($methodName) use ($object) {
289
+            $setters = array_filter(array_keys($classSchema->getMethods()), function($methodName) use ($object) {
290 290
                 return StringUtility::beginsWith($methodName, 'set') && is_callable([$object, $methodName]);
291 291
             });
292 292
 
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
      */
438 438
     private static function convertToArrayPropertyPath(PropertyPath $propertyPath): PropertyPath
439 439
     {
440
-        $segments = array_map(function ($segment) {
440
+        $segments = array_map(function($segment) {
441 441
             return static::wrap($segment);
442 442
         }, $propertyPath->getElements());
443 443
 
Please login to merge, or discard this patch.
sysext/redirects/Classes/Controller/RecordHistoryRollbackController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         $correlationIds = $request->getQueryParams()['correlation_ids'] ?? [];
51 51
         /** @var CorrelationId[] $correlationIds */
52 52
         $correlationIds = array_map(
53
-            function (string $correlationId) {
53
+            function(string $correlationId) {
54 54
                 return CorrelationId::fromString($correlationId);
55 55
             },
56 56
             $correlationIds
Please login to merge, or discard this patch.
typo3/sysext/redirects/Classes/Service/IntegrityService.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
      */
110 110
     private function getAllEntryPointsForSite(Site $site): array
111 111
     {
112
-        return array_map(static function (SiteLanguage $language): string {
112
+        return array_map(static function(SiteLanguage $language): string {
113 113
             return (string)$language->getBase();
114 114
         }, $site->getLanguages());
115 115
     }
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.