Skip to content

Commit f93f666

Browse files
committed
Update PHPCSF rules
1 parent 155f920 commit f93f666

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
'lowercase_static_reference' => true,
7878
'magic_constant_casing' => true,
7979
'magic_method_casing' => true,
80-
'mb_str_functions' => false,
8180
'method_argument_space' => true,
8281
'method_chaining_indentation' => true,
8382
'modernize_strpos' => true,
@@ -114,8 +113,6 @@
114113
'no_spaces_around_offset' => true,
115114
'no_spaces_inside_parenthesis' => true,
116115
'no_superfluous_elseif' => true,
117-
'no_trailing_comma_in_singleline_array' => true,
118-
'no_trailing_comma_in_singleline_function_call' => true,
119116
'no_trailing_comma_in_singleline' => true,
120117
'no_trailing_whitespace_in_comment' => true,
121118
'no_trailing_whitespace_in_string' => true,
@@ -141,7 +138,7 @@
141138
'object_operator_without_whitespace' => true,
142139
'octal_notation' => true,
143140
'operator_linebreak' => true,
144-
'ordered_class_elements' => ['sort_algorithm' => 'alpha', 'order' => ['case', 'constant', 'constant_private', 'constant_protected', 'constant_public', 'construct', 'destruct', 'magic', 'method', 'method_abstract', 'method_private', 'method_private_abstract', 'method_private_abstract_static', 'method_private_static', 'method_protected', 'method_protected_abstract', 'method_protected_abstract_static', 'method_protected_static', 'method_public', 'method_public_abstract', 'method_public_abstract_static', 'method_public_static', 'method_static', 'phpunit', 'private', 'property', 'property_private', 'property_private_readonly', 'property_private_static', 'property_protected', 'property_protected_readonly', 'property_protected_static', 'property_public', 'property_public_readonly', 'property_public_static', 'property_static', 'protected', 'public', 'use_trait']],
141+
'ordered_class_elements' => ['sort_algorithm' => 'alpha', 'order' => ['use_trait', 'case', 'constant', 'constant_private', 'constant_protected', 'constant_public', 'property_private', 'property_private_readonly', 'property_private_static', 'property_protected', 'property_protected_readonly', 'property_protected_static', 'property_public', 'property_public_readonly', 'property_public_static', 'property_static', 'protected', 'construct', 'destruct', 'magic', 'method', 'public', 'method_abstract', 'method_private', 'method_private_abstract', 'method_private_abstract_static', 'method_private_static', 'method_protected', 'method_protected_abstract', 'method_protected_abstract_static', 'method_protected_static', 'method_public', 'method_public_abstract', 'method_public_abstract_static', 'method_public_static', 'method_static', 'phpunit', 'private', 'property']],
145142
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['const', 'class', 'function']],
146143
'ordered_interfaces' => true,
147144
'ordered_traits' => true,

0 commit comments

Comments
 (0)