-
Notifications
You must be signed in to change notification settings - Fork 0
Bumped PHP CS Fixer to v3.89.0 and updated deprecated rules #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Rule "braces" is deprecated. Use "single_space_around_construct", "control_structure_braces", "control_structure_continuation_position", "declare_parentheses", "no_multiple_statements_per_line", "braces_position", "statement_indentation" and "no_extra_blank_lines" instead. - Rule "native_function_type_declaration_casing" is deprecated. Use "native_type_declaration_casing" instead. - Rule "new_with_braces" is deprecated. Use "new_with_parentheses" instead. - Rule "no_unneeded_curly_braces" is deprecated. Use "no_unneeded_braces" instead.
d55fce7 to
def867a
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 but would be nice to see this "in action" to verify if there are rules that don't fit.
@konradoboza yeah, I'd like that too, but it's a bit difficult ATM, because of removal of FQCNs from the doc and multiline parameters. Applying 2.2.x-dev on Maybe I'll try to cherry-pick this to 2.1.0 tag locally... :/ |
Didn't aim to suggest any additional work. We can iterate and decide once we start using bumped version. |



Related PRs:
Description:
Yet another pre-release step for 2.2.0.
Bumped PHP CS Fixer fixed version constraint to the latest
v3.89.0.We had some deprecated rules. New fixer introduced
@PER-CS2x0set in place of@PER-CS2.0one.Also there were some pre-existing deprecations for
v3.75.0:It was quite complicated for the
braces, so hopefully I got it right.