Skip to content

Commit

Permalink
chore: fix php-cs-fixer deprecated options
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <[email protected]>
  • Loading branch information
jfcherng committed Mar 5, 2024
1 parent 239c68f commit 42dd214
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,13 @@
'fully_qualified_strict_types' => true,
'linebreak_after_opening_tag' => true,
'list_syntax' => ['syntax' => 'short'],
'method_argument_space' => ['ensure_fully_multiline' => true],
'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'],
'native_constant_invocation' => true,
'native_function_invocation' => true,
'native_function_type_declaration_casing' => true,
'no_alternative_syntax' => true,
'no_multiline_whitespace_before_semicolons' => true,
'no_null_property_initialization' => true,
'no_short_echo_tag' => true,
'echo_tag_syntax' => true,
'no_superfluous_elseif' => true,
'no_trailing_whitespace_in_string' => false, // test cases have trailing spaces
'no_unneeded_control_parentheses' => true,
Expand All @@ -44,7 +43,6 @@
'ordered_class_elements' => true,
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'const', 'function']],
'ordered_interfaces' => true,
'php_unit_ordered_covers' => true,
'php_unit_set_up_tear_down_visibility' => true,
'php_unit_strict' => true,
'php_unit_test_class_requires_covers' => true,
Expand Down

0 comments on commit 42dd214

Please sign in to comment.