[TASK] Update php-cs-fixer to 2.5.0
Add 2 new rules * no_superfluous_elseif * no_useless_else Both rules only apply if the if-statement contains a return. If this is the case the obsolete else/elseif part is dropped. Resolves: #82183 Releases: master,8.7 Change-Id: I94dfa6b5b96cbc3e350bd778f1796dda1a4d955a Reviewed-on: https://review.typo3.org/53791 Tested-by:TYPO3com <no-reply@typo3.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- Build/.php_cs 3 additions, 1 deletionBuild/.php_cs
- composer.lock 7 additions, 11 deletionscomposer.lock
- typo3/sysext/backend/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php 5 additions, 6 deletions...nd/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php
- typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php 1 addition, 2 deletions...kend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php
- typo3/sysext/backend/Classes/Configuration/TypoScript/ConditionMatching/ConditionMatcher.php 3 additions, 3 deletions...uration/TypoScript/ConditionMatching/ConditionMatcher.php
- typo3/sysext/backend/Classes/Controller/BackendController.php 1 addition, 2 deletions...3/sysext/backend/Classes/Controller/BackendController.php
- typo3/sysext/backend/Classes/Controller/ContentElement/NewContentElementController.php 4 additions, 5 deletions...Controller/ContentElement/NewContentElementController.php
- typo3/sysext/backend/Classes/Controller/EditDocumentController.php 12 additions, 16 deletions...ext/backend/Classes/Controller/EditDocumentController.php
- typo3/sysext/backend/Classes/Controller/File/FileController.php 2 additions, 3 deletions...sysext/backend/Classes/Controller/File/FileController.php
- typo3/sysext/backend/Classes/Controller/LoginController.php 2 additions, 3 deletionstypo3/sysext/backend/Classes/Controller/LoginController.php
- typo3/sysext/backend/Classes/Controller/NewRecordController.php 2 additions, 3 deletions...sysext/backend/Classes/Controller/NewRecordController.php
- typo3/sysext/backend/Classes/Controller/Page/NewMultiplePagesController.php 10 additions, 11 deletions...nd/Classes/Controller/Page/NewMultiplePagesController.php
- typo3/sysext/backend/Classes/Controller/PageLayoutController.php 1 addition, 2 deletions...ysext/backend/Classes/Controller/PageLayoutController.php
- typo3/sysext/backend/Classes/Domain/Repository/Module/BackendModuleRepository.php 1 addition, 2 deletions...sses/Domain/Repository/Module/BackendModuleRepository.php
- typo3/sysext/backend/Classes/Form/Container/PaletteAndSingleContainer.php 1 addition, 2 deletions...kend/Classes/Form/Container/PaletteAndSingleContainer.php
- typo3/sysext/backend/Classes/Form/FieldWizard/OtherLanguageContent.php 1 addition, 2 deletions...backend/Classes/Form/FieldWizard/OtherLanguageContent.php
- typo3/sysext/backend/Classes/Form/FieldWizard/SelectIcons.php 5 additions, 6 deletions...3/sysext/backend/Classes/Form/FieldWizard/SelectIcons.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseRowDateTimeFields.php 2 additions, 3 deletions...asses/Form/FormDataProvider/DatabaseRowDateTimeFields.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/EvaluateDisplayConditions.php 1 addition, 2 deletions...asses/Form/FormDataProvider/EvaluateDisplayConditions.php
- typo3/sysext/backend/Classes/Form/FormDataProvider/TcaColumnsProcessFieldLabels.php 2 additions, 1 deletion...es/Form/FormDataProvider/TcaColumnsProcessFieldLabels.php
Please register or sign in to comment