Skip to content

chore: fix PHP-CS-Fixer deprecations#1145

Open
Chris53897 wants to merge 1 commit into
php-webdriver:mainfrom
Chris53897:feature/php-cs-fixer-deprecations
Open

chore: fix PHP-CS-Fixer deprecations#1145
Chris53897 wants to merge 1 commit into
php-webdriver:mainfrom
Chris53897:feature/php-cs-fixer-deprecations

Conversation

@Chris53897

Copy link
Copy Markdown
Contributor

Example: https://github.com/php-webdriver/php-webdriver/actions/runs/20306206110/job/58324200475?pr=1144

Detected deprecations in use (they will stop working in next major release):
- 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 "compact_nullable_typehint" is deprecated. Use "compact_nullable_type_declaration" instead.
- Rule "function_typehint_space" is deprecated. Use "type_declaration_spaces" 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 "single_blank_line_before_namespace" is deprecated. Use "blank_lines_before_namespace" instead.
- Rule "single_space_after_construct" is deprecated. Use "single_space_around_construct" instead.
- Rule "visibility_required" is deprecated. Use "modifier_keywords" instead.

I am not sure about the replacement of the "braces" rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants