Skip to content

Commit d8eafd4

Browse files
committed
First set of fixes
1 parent 714a38d commit d8eafd4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Rules.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ class Rules {
3030
'declare_equal_normalize' => true,
3131
'dir_constant' => true,
3232
'ereg_to_preg' => true,
33-
'explicit_indirect_variable' => true,
3433
'explicit_string_variable' => true, // Should be configurable to choose between ${var} and {$var}
3534
'function_declaration' => [
3635
'closure_function_spacing' => 'none',
@@ -78,7 +77,9 @@ class Rules {
7877
'normalize_index_brace' => true,
7978
'object_operator_without_whitespace' => true,
8079
'ordered_class_elements' => true,
81-
'ordered_imports' => true,
80+
'ordered_imports' => [
81+
'imports_order' => ['class', 'function', 'const'],
82+
],
8283
'php_unit_construct' => true,
8384
'php_unit_expectation' => true,
8485
'php_unit_method_casing' => true,
@@ -100,7 +101,6 @@ class Rules {
100101
'space_before' => 'none',
101102
],
102103
'self_accessor' => true,
103-
'semicolon_after_instruction' => true,
104104
'set_type_to_cast' => true,
105105
'short_scalar_cast' => true,
106106
'single_quote' => true,

0 commit comments

Comments
 (0)