Skip to content

Commit

Permalink
Chore: Update deprecated phpcs-fixer rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Schmetter committed Jul 2, 2024
1 parent 110044c commit b11a6e0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
'blank_line_before_statement' => [
'statements' => ['declare', 'return', 'try'],
],
'blank_lines_before_namespace' => true,
'cast_spaces' => true,
'class_attributes_separation' => true,
'combine_consecutive_unsets' => true,
'compact_nullable_typehint' => true,
'compact_nullable_type_declaration' => true,
'concat_space' => [
'spacing' => 'one',
],
'explicit_indirect_variable' => true,
'explicit_string_variable' => true,
'final_class' => true,
'fully_qualified_strict_types' => true,
'function_typehint_space' => true,
'include' => true,
'linebreak_after_opening_tag' => true,
'lowercase_cast' => true,
Expand All @@ -51,7 +51,6 @@
'square_brace_block',
'throw',
'use',
'use_trait',
'switch',
'case',
'default',
Expand All @@ -61,7 +60,7 @@
'no_leading_namespace_whitespace' => true,
'no_mixed_echo_print' => true,
'no_spaces_around_offset' => true,
'no_trailing_comma_in_singleline_array' => true,
'no_trailing_comma_in_singleline' => true,
'no_unneeded_final_method' => true,
'no_unused_imports' => true,
'no_whitespace_before_comma_in_array' => true,
Expand All @@ -72,12 +71,12 @@
'ordered_imports' => true,
'protected_to_private' => true,
'short_scalar_cast' => true,
'single_blank_line_before_namespace' => true,
'single_line_comment_style' => true,
'single_quote' => true,
'standardize_not_equals' => true,
'ternary_operator_spaces' => true,
'trailing_comma_in_multiline' => true,
'type_declaration_spaces' => true,
'unary_operator_spaces' => true,
'visibility_required' => [
'elements' => ['property', 'method', 'const'],
Expand Down

0 comments on commit b11a6e0

Please sign in to comment.