Skip to content

Commit

Permalink
replace deprecated php-cs-fixer rules
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Sep 18, 2023
1 parent 6946e41 commit 7fe5a88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'no_break_comment' => true,
'no_closing_tag' => true,
'no_spaces_after_function_name' => true,
'no_spaces_inside_parenthesis' => true,
'spaces_inside_parentheses' => ['space' => 'none'],
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'single_blank_line_at_eof' => true,
Expand All @@ -55,7 +55,7 @@
'class_attributes_separation' => ['elements' => ['method' => 'one']],
'concat_space' => ['spacing' => 'one'],
'declare_equal_normalize' => true,
'function_typehint_space' => true,
'type_declaration_spaces' => ['elements' => ['function', 'property']],
'include' => true,
'lowercase_cast' => true,
'lowercase_static_reference' => true,
Expand Down Expand Up @@ -124,7 +124,7 @@
'return_type_declaration' => true,
'semicolon_after_instruction' => true,
'short_scalar_cast' => true,
'single_blank_line_before_namespace' => true,
'blank_lines_before_namespace' => ['min_line_breaks' => 2, 'max_line_breaks' => 2],
'single_line_comment_style' => [
'comment_types' => ['hash'],
],
Expand Down

0 comments on commit 7fe5a88

Please sign in to comment.