Passed
Branch master (311f62)
by Christian
15:56
created
typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
246 246
             if (!($dependency->getLowestVersion() === '') && version_compare(PHP_VERSION, $dependency->getLowestVersion()) === -1) {
247 247
                 throw new Exception\UnresolvedPhpDependencyException(
248 248
                     'Your PHP version is lower than necessary. You need at least PHP version ' . $dependency->getLowestVersion(),
249
-                     1377977857
249
+                        1377977857
250 250
                 );
251 251
             }
252 252
             if (!($dependency->getHighestVersion() === '') && version_compare($dependency->getHighestVersion(), PHP_VERSION) === -1) {
Please login to merge, or discard this patch.
typo3/sysext/extensionmanager/Classes/Utility/FileHandlingUtility.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
 
424 424
         $version = $this->getExtensionVersion($extension);
425 425
         if (empty($version)) {
426
-            $version =  '0.0.0';
426
+            $version = '0.0.0';
427 427
         }
428 428
 
429 429
         if (!@is_dir(PATH_site . 'typo3temp/var/ExtensionManager/')) {
@@ -438,11 +438,11 @@  discard block
 block discarded – undo
438 438
 
439 439
         // Get all the files of the extension, but exclude the ones specified in the excludePattern
440 440
         $files = GeneralUtility::getAllFilesAndFoldersInPath(
441
-            [],            // No files pre-added
442
-            $extensionPath,        // Start from here
443
-            '',                    // Do not filter files by extension
444
-            true,                // Include subdirectories
445
-            PHP_INT_MAX,        // Recursion level
441
+            [], // No files pre-added
442
+            $extensionPath, // Start from here
443
+            '', // Do not filter files by extension
444
+            true, // Include subdirectories
445
+            PHP_INT_MAX, // Recursion level
446 446
             $excludePattern        // Files and directories to exclude.
447 447
         );
448 448
 
Please login to merge, or discard this patch.
typo3/sysext/documentation/Classes/Slots/ExtensionManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
                     [
72 72
                         'documentTranslation' => $documentTranslation,
73 73
                     ],
74
-                    function () {
74
+                    function() {
75 75
                     },
76 76
                     new RenderingContext()
77 77
                 );
Please login to merge, or discard this patch.
typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
             'EXT:taskcenter/Resources/Private/Templates/ModuleContent.html'
238 238
         ));
239 239
         $view->assignMultiple($assigns);
240
-        $this->content .=  $view->render();
240
+        $this->content .= $view->render();
241 241
     }
242 242
 
243 243
     /**
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
             'EXT:taskcenter/Resources/Private/Templates/InformationContent.html'
262 262
         ));
263 263
         $view->assignMultiple($assigns);
264
-        $this->content .=  $view->render();
264
+        $this->content .= $view->render();
265 265
     }
266 266
 
267 267
     /**
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/core/Classes/Resource/Index/MetaDataRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function createMetaDataRecord($fileUid, array $additionalFields = [])
127 127
     {
128
-        $emptyRecord =  [
128
+        $emptyRecord = [
129 129
             'file' => (int)$fileUid,
130 130
             'pid' => 0,
131 131
             'crdate' => $GLOBALS['EXEC_TIME'],
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 
144 144
         $record = $emptyRecord;
145 145
         $record['uid'] = $connection->lastInsertId($this->tableName);
146
-        $record['newlyCreated']  = true;
146
+        $record['newlyCreated'] = true;
147 147
 
148 148
         $this->emitRecordCreatedSignal($record);
149 149
 
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Schema/Parser/TableBuilder.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace TYPO3\CMS\Core\Database\Schema\Parser;
5 5
 
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
         $indexName = $item->indexName->getQuotedName();
198 198
 
199 199
         $columnNames = array_map(
200
-            function (IndexColumnName $columnName) {
200
+            function(IndexColumnName $columnName) {
201 201
                 if ($columnName->length) {
202 202
                     return $columnName->columnName->getQuotedName() . '(' . $columnName->length . ')';
203 203
                 }
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
     {
248 248
         $indexName = $item->indexName->getQuotedName() ?: null;
249 249
         $localColumnNames = array_map(
250
-            function (IndexColumnName $columnName) {
250
+            function(IndexColumnName $columnName) {
251 251
                 return $columnName->columnName->getQuotedName();
252 252
             },
253 253
             $item->columnNames
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
     ) {
270 270
         $foreignTableName = $referenceDefinition->tableName->getQuotedName();
271 271
         $foreignColumNames = array_map(
272
-            function (IndexColumnName $columnName) {
272
+            function(IndexColumnName $columnName) {
273 273
                 return $columnName->columnName->getQuotedName();
274 274
             },
275 275
             $referenceDefinition->columnNames
Please login to merge, or discard this patch.
typo3/sysext/core/Classes/Database/Schema/Parser/Lexer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace TYPO3\CMS\Core\Database\Schema\Parser;
5 5
 
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     const T_CHECKSUM = 352;
135 135
     const T_COMPRESSION = 353;
136 136
     const T_CONNECTION = 354;
137
-    const T_DATA= 355;
137
+    const T_DATA = 355;
138 138
     const T_DIRECTORY = 356;
139 139
     const T_DELAY_KEY_WRITE = 357;
140 140
     const T_ENCRYPTION = 358;
Please login to merge, or discard this patch.
Classes/Database/Schema/EventListener/SchemaColumnDefinitionListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace TYPO3\CMS\Core\Database\Schema\EventListener;
5 5
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
         $values = explode($quoteChar . ',' . $quoteChar, substr($valuesDefinition, 1, -1));
119 119
 
120 120
         return array_map(
121
-            function (string $value) use ($quoteChar) {
121
+            function(string $value) use ($quoteChar) {
122 122
                 return str_replace($quoteChar . $quoteChar, $quoteChar, $value);
123 123
             },
124 124
             $values
Please login to merge, or discard this patch.