Skip to content

Commit ec73bf7

Browse files
committed
fix dir
1 parent 5b4203e commit ec73bf7

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.php-cs-fixer.php

+16-16
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
->exclude('tests/stubs') // exclude the tests-stubs, but not the tests for this module
55
->exclude('docs') // exclude the docs
66
->notPath('/libs\/.*\//') // regex, exclude only dirs in libs, not the files
7-
->in(__DIR__);
7+
->in(__DIR__ . "/../");
88

99
return (new PhpCsFixer\Config())->setRules([
1010
'align_multiline_comment' => [
@@ -21,14 +21,14 @@
2121
'blank_line_after_namespace' => true,
2222
'blank_line_after_opening_tag' => true,
2323
'blank_line_before_statement' => false,
24-
"single_space_around_construct" => true,
25-
//control_structure_braces,
26-
//control_structure_continuation_position
27-
"declare_parentheses" => true,
28-
"no_multiple_statements_per_line" => true,
24+
"single_space_around_construct" => true,
25+
//control_structure_braces,
26+
//control_structure_continuation_position
27+
"declare_parentheses" => true,
28+
"no_multiple_statements_per_line" => true,
2929
"braces_position" => [
30-
'anonymous_functions_opening_brace' =>'next_line_unless_newline_at_signature_end'
31-
],
30+
'anonymous_functions_opening_brace' => 'next_line_unless_newline_at_signature_end'
31+
],
3232
"statement_indentation" => true,
3333
"no_extra_blank_lines" => true,
3434
'cast_spaces' => true,
@@ -37,7 +37,7 @@
3737
//class_keyword_remove
3838
//combine_consecutive_issets
3939
//combine_consecutive_unsets
40-
//combine_nested_dirname
40+
//combine_nested_dirname
4141
//comment_to_phpdoc
4242
//compact_nullable_typehint
4343
'concat_space' => [
@@ -50,8 +50,8 @@
5050
//dir_constant
5151
'elseif' => true,
5252
'encoding' => true,
53-
//ereg_to_preg
54-
//error_suppression
53+
//ereg_to_preg
54+
//error_suppression
5555
//escape_implicit_backslashes
5656
//explicit_indirect_variable
5757
//explicit_string_variable
@@ -72,7 +72,7 @@
7272
//is_null
7373
'line_ending' => true,
7474
'linebreak_after_opening_tag' => true,
75-
//list_syntax
75+
//list_syntax
7676
'logical_operators' => true,
7777
'lowercase_cast' => true,
7878
'constant_case' => ['case' => 'lower'],
@@ -113,7 +113,7 @@
113113
//no_null_property_initialization
114114
//no_short_bool_cast
115115
'echo_tag_syntax' => ['format' => 'long'],
116-
'no_singleline_whitespace_before_semicolons'=> true,
116+
'no_singleline_whitespace_before_semicolons' => true,
117117
'no_spaces_after_function_name' => true,
118118
'no_spaces_around_offset' => false,
119119
'spaces_inside_parentheses' => true,
@@ -133,7 +133,7 @@
133133
'no_whitespace_before_comma_in_array' => true,
134134
'no_whitespace_in_blank_line' => true,
135135
//non_printable_character
136-
'normalize_index_brace'=> true,
136+
'normalize_index_brace' => true,
137137
'not_operator_with_space' => false,
138138
'not_operator_with_successor_space' => false,
139139
'object_operator_without_whitespace' => true,
@@ -146,7 +146,7 @@
146146
'protected_to_private' => false,
147147
//psr0
148148
//psr4
149-
//random_api_migration
149+
//random_api_migration
150150
//return_assignment
151151
'return_type_declaration' => true,
152152
'self_accessor' => true,
@@ -165,7 +165,7 @@
165165
'space_after_semicolon' => true,
166166
//standardize_increment
167167
'standardize_not_equals' => true,
168-
//static_lambda
168+
//static_lambda
169169
//strict_comparison
170170
//strict_param
171171
//string_line_ending

0 commit comments

Comments
 (0)