Skip to content

Commit 42dd214

Browse files
committed
chore: fix php-cs-fixer deprecated options
Signed-off-by: Jack Cherng <[email protected]>
1 parent 239c68f commit 42dd214

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.php-cs-fixer.dist.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@
2626
'fully_qualified_strict_types' => true,
2727
'linebreak_after_opening_tag' => true,
2828
'list_syntax' => ['syntax' => 'short'],
29-
'method_argument_space' => ['ensure_fully_multiline' => true],
29+
'method_argument_space' => ['on_multiline' => 'ensure_fully_multiline'],
3030
'native_constant_invocation' => true,
3131
'native_function_invocation' => true,
3232
'native_function_type_declaration_casing' => true,
3333
'no_alternative_syntax' => true,
34-
'no_multiline_whitespace_before_semicolons' => true,
3534
'no_null_property_initialization' => true,
36-
'no_short_echo_tag' => true,
35+
'echo_tag_syntax' => true,
3736
'no_superfluous_elseif' => true,
3837
'no_trailing_whitespace_in_string' => false, // test cases have trailing spaces
3938
'no_unneeded_control_parentheses' => true,
@@ -44,7 +43,6 @@
4443
'ordered_class_elements' => true,
4544
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['class', 'const', 'function']],
4645
'ordered_interfaces' => true,
47-
'php_unit_ordered_covers' => true,
4846
'php_unit_set_up_tear_down_visibility' => true,
4947
'php_unit_strict' => true,
5048
'php_unit_test_class_requires_covers' => true,

0 commit comments

Comments
 (0)