[TASK] Minor CGL cleanup makes php-cs-fixer happy 89/52889/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 21 May 2017 12:43:04 +0000 (14:43 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 21 May 2017 12:50:53 +0000 (14:50 +0200)
Change-Id: I4ce5bae6d200bbd7eba6679136375c71cfb6e268
Resolves: #81289
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/52889
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Migrations/TcaMigration.php

index d4b289e..25205da 100644 (file)
@@ -2445,7 +2445,6 @@ class TcaMigration
                             $this->messages[] = 'The \'foreign_types\' property from TCA ' . $table . '[\'types\'][\'' . $typeName . '\'][\'columnOverrides\'][\'' . $fieldName . '\'][\'config\']  and has been migrated to ' . $table . '[\'types\'][\'' . $typeName . '\'][\'columnOverrides\'][\'' . $fieldName . '\'][\'config\'][\'overrideChildTca\'][\'types\']';
                         }
                         if (isset($fieldConfig['config']['foreign_selector_fieldTcaOverride']) && is_array($fieldConfig['config']['foreign_selector_fieldTcaOverride'])) {
-
                             if (isset($fieldConfig['config']['foreign_selector']) && is_string($fieldConfig['config']['foreign_selector'])) {
                                 $foreignSelectorFieldName = $fieldConfig['config']['foreign_selector'];
                             } elseif (isset($tca[$table]['columns'][$fieldName]['config']['foreign_selector']) && is_string($tca[$table]['columns'][$fieldName]['config']['foreign_selector'])) {