Completed
Branch master (b5e024)
by Christian
18:16
created
typo3/sysext/core/Classes/Html/HtmlParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     public function splitIntoBlock($tag, $content, $eliminateExtraEndTags = false)
52 52
     {
53 53
         $tags = array_unique(GeneralUtility::trimExplode(',', $tag, true));
54
-        array_walk($tags, function (&$tag) {
54
+        array_walk($tags, function(&$tag) {
55 55
             $tag = preg_quote($tag, '/');
56 56
         });
57 57
         $regexStr = '/\\<\\/?(' . implode('|', $tags) . ')(\\s*\\>|\\s[^\\>]*\\>)/si';
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     public function splitTags($tag, $content)
158 158
     {
159 159
         $tags = GeneralUtility::trimExplode(',', $tag, true);
160
-        array_walk($tags, function (&$tag) {
160
+        array_walk($tags, function(&$tag) {
161 161
             $tag = preg_quote($tag, '/');
162 162
         });
163 163
         $regexStr = '/\\<(' . implode('|', $tags) . ')(\\s[^>]*)?\\/?>/si';
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
             if ($cacheKey && isset($this->caseShift_cache[$cacheKey])) {
833 833
                 $str = $this->caseShift_cache[$cacheKey];
834 834
             } else {
835
-                array_walk($str, function (&$value) {
835
+                array_walk($str, function(&$value) {
836 836
                     $value = strtoupper($value);
837 837
                 });
838 838
                 if ($cacheKey) {
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
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
                 // PHP 7.0 onward is delivered minimum OPcache 7.0.6-dev
43 43
                 'canInvalidate' => true,
44 44
                 'error' => false,
45
-                'clearCallback' => function ($fileAbsPath) {
45
+                'clearCallback' => function($fileAbsPath) {
46 46
                     if ($fileAbsPath !== null) {
47 47
                         opcache_invalidate($fileAbsPath);
48 48
                     } else {
Please login to merge, or discard this patch.
typo3/sysext/workspaces/Classes/Service/StagesService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
             }
229 229
         }
230 230
 
231
-        uasort($allowedStages, function (StageRecord $first, StageRecord $second) {
231
+        uasort($allowedStages, function(StageRecord $first, StageRecord $second) {
232 232
             return $first->determineOrder($second);
233 233
         });
234 234
         return $this->prepareStagesArray($allowedStages);
Please login to merge, or discard this patch.
typo3/sysext/impexp/Classes/Import.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1230,7 +1230,7 @@
 block discarded – undo
1230 1230
     public function remapListedDBRecords_flexFormCallBack($pParams, $dsConf, $dataValue, $dataValue_ext1, $dataValue_ext2, $path)
1231 1231
     {
1232 1232
         // Extract parameters:
1233
-        list(, , , $config) = $pParams;
1233
+        list(,,, $config) = $pParams;
1234 1234
         // In case the $path is used as index without a trailing slash we will remove that
1235 1235
         if (!is_array($config['flexFormRels']['db'][$path]) && is_array($config['flexFormRels']['db'][rtrim($path, '/')])) {
1236 1236
             $path = rtrim($path, '/');
Please login to merge, or discard this patch.
scheduler/Classes/Task/OptimizeDatabaseTableAdditionalFieldProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
                 $connection = $connectionPool->getConnectionByName($connectionName);
167 167
                 $tablesOnConnection = array_keys(array_filter(
168 168
                     $tableMap,
169
-                    function ($value) use ($connectionName) {
169
+                    function($value) use ($connectionName) {
170 170
                         return $value === $connectionName;
171 171
                     }
172 172
                 ));
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Service/CacheService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             if (!is_array($pageIdsToClear)) {
68 68
                 $pageIdsToClear = [(int)$pageIdsToClear];
69 69
             }
70
-            $tags = array_map(function ($item) {
70
+            $tags = array_map(function($item) {
71 71
                 return 'pageId_' . $item;
72 72
             }, $pageIdsToClear);
73 73
             $this->cacheManager->flushCachesInGroupByTags('pages', $tags);
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Reflection/ObjectAccess.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
 
234 234
         $reflection = new \ReflectionClass($object);
235 235
         $declaredPropertyNames = array_map(
236
-            function (\ReflectionProperty $property) {
236
+            function(\ReflectionProperty $property) {
237 237
                 return $property->getName();
238 238
             },
239 239
             $reflection->getProperties(\ReflectionProperty::IS_PUBLIC)
Please login to merge, or discard this patch.
typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -271,7 +271,7 @@
 block discarded – undo
271 271
                 $fieldPaths[] = [$firstLevelFieldName];
272 272
             } else {
273 273
                 $newFieldPaths = $this->calculateFieldPaths($fieldInformation['error'], $firstLevelFieldName);
274
-                array_walk($newFieldPaths, function (&$value, $key) {
274
+                array_walk($newFieldPaths, function(&$value, $key) {
275 275
                     $value = explode('/', $value);
276 276
                 });
277 277
                 $fieldPaths = array_merge($fieldPaths, $newFieldPaths);
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
      */
162 162
     public static function getMessageClosure(LanguageService $languageService, FlashMessageQueue $messageQueue, $isAjaxCall)
163 163
     {
164
-        return function () use ($languageService, $messageQueue, $isAjaxCall) {
164
+        return function() use ($languageService, $messageQueue, $isAjaxCall) {
165 165
             /** @var FlashMessage $flashMessage */
166 166
             $flashMessage = GeneralUtility::makeInstance(
167 167
                 FlashMessage::class,
Please login to merge, or discard this patch.