Completed
Pull Request — master (#147)
by Tim
34:48 queued 19:42
created
Classes/SmartObjectManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -130,8 +130,8 @@
 block discarded – undo
130 130
      */
131 131
     protected static function getSmartObjectClassLoadingIgnorePattern()
132 132
     {
133
-        $configuration = \unserialize((string) $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
133
+        $configuration = \unserialize((string)$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['autoloader']);
134 134
 
135
-        return isset($configuration['smartObjectClassLoadingIgnorePattern']) ? (string) $configuration['smartObjectClassLoadingIgnorePattern'] : '';
135
+        return isset($configuration['smartObjectClassLoadingIgnorePattern']) ? (string)$configuration['smartObjectClassLoadingIgnorePattern'] : '';
136 136
     }
137 137
 }
Please login to merge, or discard this patch.
Classes/Loader/ContentObjects.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
             if (!isset($GLOBALS['TCA']['tt_content']['types'][$typeKey]['showitem']) || empty($GLOBALS['TCA']['tt_content']['types'][$typeKey]['showitem'])) {
157 157
                 $baseTcaConfiguration = $this->wrapDefaultTcaConfiguration(
158 158
                     $config['fieldConfiguration'],
159
-                    (bool) $config['noHeader']
159
+                    (bool)$config['noHeader']
160 160
                 );
161 161
 
162 162
                 if (ExtensionManagementUtility::isLoaded('gridelements')) {
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         $nameMapperService = GeneralUtility::makeInstance(NameMapperService::class);
357 357
         $tableName = ModelUtility::getTableName($className);
358 358
 
359
-        return \array_map(function ($value) use ($nameMapperService, $tableName) {
359
+        return \array_map(function($value) use ($nameMapperService, $tableName) {
360 360
             return $nameMapperService->getDatabaseFieldName($tableName, $value);
361 361
         }, ReflectionUtility::getDeclaringProperties($className));
362 362
     }
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
         }
406 406
         $defaultFields = [];
407 407
         // Note: TCA could be missing in install tool checks, so cast the TCA to array
408
-        $existingFields = \array_keys((array) $GLOBALS['TCA']['tt_content']['columns']);
408
+        $existingFields = \array_keys((array)$GLOBALS['TCA']['tt_content']['columns']);
409 409
         $parts = GeneralUtility::trimExplode(',', $configuration, true);
410 410
         foreach ($parts as $fieldConfiguration) {
411 411
             $fieldConfiguration = GeneralUtility::trimExplode(';', $fieldConfiguration, true);
Please login to merge, or discard this patch.