[TASK] Replace the deprecated "braces" php-cs-fixer rule
Current php-cs-fixer notifies: Rule "braces" is deprecated. Use "single_space_around_construct", "control_structure_braces", "curly_braces_position", "control_structure_continuation_position", "declare_parentheses", "statement_indentation", "no_multiple_statements_per_line" and "no_extra_blank_lines" instead. Rule details: * "single_space_around_construct" - added to config, triggers a couple of changes * "control_structure_braces" - active via @PER rule set already * "curly_braces_position" - active via @PER rule set already * "control_structure_continuation_position" - active via @PER rule set already * "declare_parentheses" - added to config, no changes * "statement_indentation" - active via @PER rule set already * "no_multiple_statements_per_line" - active via @PER rule set already * "no_extra_blank_lines" - active already Executed command: > Build/Scripts/runTests.sh -s cgl Resolves: #100706 Related: #100677 Releases: main Change-Id: I7f4d1d5d5dab90041a33efc1ca8584879785ee6d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78786 Reviewed-by:Oliver Klee <typo3-coding@oliverklee.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Oliver Klee <typo3-coding@oliverklee.de>
Showing
- Build/php-cs-fixer/config.php 2 additions, 1 deletionBuild/php-cs-fixer/config.php
- typo3/sysext/adminpanel/Classes/Log/InMemoryLogWriter.php 1 addition, 1 deletiontypo3/sysext/adminpanel/Classes/Log/InMemoryLogWriter.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 1 addition, 1 deletiontypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/DataHandling/Model/CorrelationId.php 1 addition, 1 deletion.../sysext/core/Classes/DataHandling/Model/CorrelationId.php
- typo3/sysext/core/Tests/Functional/Domain/Repository/PageRepositoryTest.php 1 addition, 1 deletion...Tests/Functional/Domain/Repository/PageRepositoryTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Expression/ExpressionBuilderTest.php 1 addition, 1 deletion.../Unit/Database/Query/Expression/ExpressionBuilderTest.php
- typo3/sysext/core/Tests/Unit/Routing/SiteMatcherTest.php 11 additions, 11 deletionstypo3/sysext/core/Tests/Unit/Routing/SiteMatcherTest.php
- typo3/sysext/core/Tests/Unit/Tree/TableConfiguration/Fixtures/TreeDataProviderWithConfigurationFixture.php 1 addition, 1 deletion...ion/Fixtures/TreeDataProviderWithConfigurationFixture.php
- typo3/sysext/extensionmanager/Classes/Controller/AbstractController.php 1 addition, 1 deletion...xtensionmanager/Classes/Controller/AbstractController.php
- typo3/sysext/fluid/Classes/ViewHelpers/Link/FileViewHelper.php 1 addition, 1 deletion.../sysext/fluid/Classes/ViewHelpers/Link/FileViewHelper.php
- typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php 1 addition, 1 deletion...t/form/Classes/Mvc/Persistence/FormPersistenceManager.php
- typo3/sysext/frontend/Classes/Page/CacheHashCalculator.php 1 addition, 1 deletiontypo3/sysext/frontend/Classes/Page/CacheHashCalculator.php
- typo3/sysext/redirects/Classes/RedirectUpdate/SlugRedirectChangeItemFactory.php 1 addition, 1 deletion.../Classes/RedirectUpdate/SlugRedirectChangeItemFactory.php
Please register or sign in to comment