Completed
Push — master ( 0127c6...0228e3 )
by
unknown
14:17
created
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.
typo3/sysext/adminpanel/Classes/Utility/ResourceUtility.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         if (!empty($GLOBALS['TBE_STYLES']['stylesheets']['admPanel'])) {
83 83
             $stylesheet = GeneralUtility::locationHeaderUrl($GLOBALS['TBE_STYLES']['stylesheets']['admPanel']);
84 84
             $result = '<link rel="stylesheet" href="' .
85
-                      htmlspecialchars($stylesheet, ENT_QUOTES | ENT_HTML5) . '" />';
85
+                        htmlspecialchars($stylesheet, ENT_QUOTES | ENT_HTML5) . '" />';
86 86
         }
87 87
         return $result;
88 88
     }
@@ -96,11 +96,11 @@  discard block
 block discarded – undo
96 96
     protected static function getCssTag(string $cssFileLocation): string
97 97
     {
98 98
         $css = '<link rel="stylesheet" href="' .
99
-               htmlspecialchars(
100
-                   PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($cssFileLocation)),
101
-                   ENT_QUOTES | ENT_HTML5
102
-               ) .
103
-               '" media="all" />';
99
+                htmlspecialchars(
100
+                    PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($cssFileLocation)),
101
+                    ENT_QUOTES | ENT_HTML5
102
+                ) .
103
+                '" media="all" />';
104 104
         return $css;
105 105
     }
106 106
 
@@ -113,11 +113,11 @@  discard block
 block discarded – undo
113 113
     protected static function getJsTag(string $jsFileLocation): string
114 114
     {
115 115
         $js = '<script src="' .
116
-              htmlspecialchars(
117
-                  PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($jsFileLocation)),
118
-                  ENT_QUOTES | ENT_HTML5
119
-              ) .
120
-              '"></script>';
116
+                htmlspecialchars(
117
+                    PathUtility::getAbsoluteWebPath(GeneralUtility::getFileAbsFileName($jsFileLocation)),
118
+                    ENT_QUOTES | ENT_HTML5
119
+                ) .
120
+                '"></script>';
121 121
         return $js;
122 122
     }
123 123
 
Please login to merge, or discard this patch.
backend/Classes/Resource/Processing/DeferredBackendImageProcessor.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
                && (!$context->hasAspect('fileProcessing') || $context->getPropertyFromAspect('fileProcessing', 'deferProcessing'))
40 40
                && $task->getSourceFile()->getProperty('width') > 0
41 41
                && $task->getSourceFile()->getProperty('height') > 0
42
-               // Let the local image processor update the properties in case the target file exists already
42
+                // Let the local image processor update the properties in case the target file exists already
43 43
                && !$task->getSourceFile()->getStorage()->getProcessingFolder()->hasFile($task->getTargetFileName());
44 44
     }
45 45
 
Please login to merge, or discard this patch.
typo3/sysext/install/Classes/ServiceProvider.php 1 patch
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -54,40 +54,40 @@
 block discarded – undo
54 54
     public function getFactories(): array
55 55
     {
56 56
         return [
57
-            Http\Application::class => [ static::class, 'getApplication' ],
58
-            Http\NotFoundRequestHandler::class => [ static::class, 'getNotFoundRequestHandler' ],
59
-            Service\ClearCacheService::class => [ static::class, 'getClearCacheService' ],
60
-            Service\CoreUpdateService::class => [ static::class, 'getCoreUpdateService' ],
61
-            Service\CoreVersionService::class => [ static::class, 'getCoreVersionService' ],
62
-            Service\ExtensionConfigurationService::class => [ static::class, 'getExtensionConfigurationService' ],
63
-            Service\LanguagePackService::class => [ static::class, 'getLanguagePackService' ],
64
-            Service\LateBootService::class => [ static::class, 'getLateBootService' ],
65
-            Service\LoadTcaService::class => [ static::class, 'getLoadTcaService' ],
66
-            Service\SilentConfigurationUpgradeService::class => [ static::class, 'getSilentConfigurationUpgradeService' ],
67
-            Service\Typo3tempFileService::class => [ static::class, 'getTypo3tempFileService' ],
68
-            Service\UpgradeWizardsService::class => [ static::class, 'getUpgradeWizardsService' ],
69
-            Middleware\Installer::class => [ static::class, 'getInstallerMiddleware' ],
70
-            Middleware\Maintenance::class => [ static::class, 'getMaintenanceMiddleware' ],
71
-            Controller\EnvironmentController::class => [ static::class, 'getEnvironmentController' ],
72
-            Controller\IconController::class => [ static::class, 'getIconController' ],
73
-            Controller\InstallerController::class => [ static::class, 'getInstallerController' ],
74
-            Controller\LayoutController::class => [ static::class, 'getLayoutController' ],
75
-            Controller\LoginController::class => [ static::class, 'getLoginController' ],
76
-            Controller\MaintenanceController::class => [ static::class, 'getMaintenanceController' ],
77
-            Controller\SettingsController::class => [ static::class, 'getSettingsController' ],
78
-            Controller\UpgradeController::class => [ static::class, 'getUpgradeController' ],
79
-            Command\LanguagePackCommand::class => [ static::class, 'getLanguagePackCommand' ],
80
-            Command\UpgradeWizardRunCommand::class => [ static::class, 'getUpgradeWizardRunCommand' ],
81
-            Command\UpgradeWizardListCommand::class => [ static::class, 'getUpgradeWizardListCommand' ],
82
-            Database\PermissionsCheck::class => [ static::class, 'getPermissionsCheck' ],
57
+            Http\Application::class => [static::class, 'getApplication'],
58
+            Http\NotFoundRequestHandler::class => [static::class, 'getNotFoundRequestHandler'],
59
+            Service\ClearCacheService::class => [static::class, 'getClearCacheService'],
60
+            Service\CoreUpdateService::class => [static::class, 'getCoreUpdateService'],
61
+            Service\CoreVersionService::class => [static::class, 'getCoreVersionService'],
62
+            Service\ExtensionConfigurationService::class => [static::class, 'getExtensionConfigurationService'],
63
+            Service\LanguagePackService::class => [static::class, 'getLanguagePackService'],
64
+            Service\LateBootService::class => [static::class, 'getLateBootService'],
65
+            Service\LoadTcaService::class => [static::class, 'getLoadTcaService'],
66
+            Service\SilentConfigurationUpgradeService::class => [static::class, 'getSilentConfigurationUpgradeService'],
67
+            Service\Typo3tempFileService::class => [static::class, 'getTypo3tempFileService'],
68
+            Service\UpgradeWizardsService::class => [static::class, 'getUpgradeWizardsService'],
69
+            Middleware\Installer::class => [static::class, 'getInstallerMiddleware'],
70
+            Middleware\Maintenance::class => [static::class, 'getMaintenanceMiddleware'],
71
+            Controller\EnvironmentController::class => [static::class, 'getEnvironmentController'],
72
+            Controller\IconController::class => [static::class, 'getIconController'],
73
+            Controller\InstallerController::class => [static::class, 'getInstallerController'],
74
+            Controller\LayoutController::class => [static::class, 'getLayoutController'],
75
+            Controller\LoginController::class => [static::class, 'getLoginController'],
76
+            Controller\MaintenanceController::class => [static::class, 'getMaintenanceController'],
77
+            Controller\SettingsController::class => [static::class, 'getSettingsController'],
78
+            Controller\UpgradeController::class => [static::class, 'getUpgradeController'],
79
+            Command\LanguagePackCommand::class => [static::class, 'getLanguagePackCommand'],
80
+            Command\UpgradeWizardRunCommand::class => [static::class, 'getUpgradeWizardRunCommand'],
81
+            Command\UpgradeWizardListCommand::class => [static::class, 'getUpgradeWizardListCommand'],
82
+            Database\PermissionsCheck::class => [static::class, 'getPermissionsCheck'],
83 83
         ];
84 84
     }
85 85
 
86 86
     public function getExtensions(): array
87 87
     {
88 88
         return [
89
-            'backend.routes' => [ static::class, 'configureBackendRoutes' ],
90
-            CommandRegistry::class => [ static::class, 'configureCommands' ],
89
+            'backend.routes' => [static::class, 'configureBackendRoutes'],
90
+            CommandRegistry::class => [static::class, 'configureCommands'],
91 91
         ];
92 92
     }
93 93
 
Please login to merge, or discard this patch.
install/Classes/SystemEnvironment/ServerResponse/ServerResponseCheck.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 
130 130
     protected function initializeFileDeclarations(string $fileName): array
131 131
     {
132
-        $cspClosure = function (ResponseInterface $response): ?StatusMessage {
132
+        $cspClosure = function(ResponseInterface $response): ?StatusMessage {
133 133
             $cspHeader = new ContentSecurityPolicyHeader(
134 134
                 $response->getHeaderLine('content-security-policy')
135 135
             );
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
     protected function createMismatchMessage(FileDeclaration $fileDeclaration, ResponseInterface $response): string
260 260
     {
261 261
         $messageParts = array_map(
262
-            function (StatusMessage $mismatch): string {
262
+            function(StatusMessage $mismatch): string {
263 263
                 return vsprintf(
264 264
                     $mismatch->getMessage(),
265 265
                     $this->wrapValues($mismatch->getValues(), '<code>', '</code>')
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     protected function wrapItems(array $items, string $before, string $after): array
297 297
     {
298 298
         return array_map(
299
-            function (string $item) use ($before, $after): string {
299
+            function(string $item) use ($before, $after): string {
300 300
                 return $before . $item . $after;
301 301
             },
302 302
             array_filter($items)
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
     protected function wrapValues(array $values, string $before, string $after): array
307 307
     {
308 308
         return array_map(
309
-            function (string $value) use ($before, $after): string {
309
+            function(string $value) use ($before, $after): string {
310 310
                 return $this->wrapValue($value, $before, $after);
311 311
             },
312 312
             array_filter($values)
Please login to merge, or discard this patch.