Skip to content
Snippets Groups Projects
Commit b83b7827 authored by Christian Kuhn's avatar Christian Kuhn Committed by Stefan Bürk
Browse files

[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: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
parent 989d34be
Branches
Tags
Showing
with 24 additions and 23 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment