|
12 | 12 | "blank_line_after_namespace": true, |
13 | 13 | "blank_line_after_opening_tag": true, |
14 | 14 | "blank_line_before_statement": { |
15 | | - "statements": ["return"] |
| 15 | + "statements": [ |
| 16 | + "return" |
| 17 | + ] |
16 | 18 | }, |
17 | 19 | "blank_line_between_import_groups": true, |
18 | 20 | "blank_lines_before_namespace": true, |
|
38 | 40 | "declare_equal_normalize": true, |
39 | 41 | "elseif": true, |
40 | 42 | "encoding": true, |
| 43 | + "explicit_string_variable": true, |
41 | 44 | "full_opening_tag": true, |
42 | 45 | "function_declaration": true, |
43 | 46 | "heredoc_to_nowdoc": true, |
|
74 | 77 | "no_empty_phpdoc": true, |
75 | 78 | "no_empty_statement": true, |
76 | 79 | "no_extra_blank_lines": { |
77 | | - "tokens": ["extra", "throw", "use"] |
| 80 | + "tokens": [ |
| 81 | + "extra", |
| 82 | + "throw", |
| 83 | + "use" |
| 84 | + ] |
78 | 85 | }, |
79 | 86 | "no_leading_import_slash": true, |
80 | 87 | "no_leading_namespace_whitespace": true, |
|
86 | 93 | "no_singleline_whitespace_before_semicolons": true, |
87 | 94 | "no_space_around_double_colon": true, |
88 | 95 | "no_spaces_around_offset": { |
89 | | - "positions": ["inside", "outside"] |
| 96 | + "positions": [ |
| 97 | + "inside", |
| 98 | + "outside" |
| 99 | + ] |
90 | 100 | }, |
91 | 101 | "no_spaces_after_function_name": true, |
92 | 102 | "no_trailing_comma_in_singleline": true, |
|
106 | 116 | "object_operator_without_whitespace": true, |
107 | 117 | "ordered_imports": { |
108 | 118 | "sort_algorithm": "alpha", |
109 | | - "imports_order": ["const", "class", "function"] |
| 119 | + "imports_order": [ |
| 120 | + "const", |
| 121 | + "class", |
| 122 | + "function" |
| 123 | + ] |
110 | 124 | }, |
111 | 125 | "phpdoc_align": { |
112 | 126 | "align": "left", |
|
120 | 134 | "phpdoc_no_package": true, |
121 | 135 | "phpdoc_no_useless_inheritdoc": true, |
122 | 136 | "phpdoc_order": { |
123 | | - "order": ["param", "return", "throws"] |
| 137 | + "order": [ |
| 138 | + "param", |
| 139 | + "return", |
| 140 | + "throws" |
| 141 | + ] |
124 | 142 | }, |
125 | 143 | "phpdoc_return_self_reference": true, |
126 | 144 | "phpdoc_scalar": true, |
127 | 145 | "phpdoc_separation": { |
128 | 146 | "groups": [ |
129 | | - ["deprecated", "link", "see", "since"], |
130 | | - ["author", "copyright", "license"], |
131 | | - ["category", "package", "subpackage"], |
132 | | - ["property", "property-read", "property-write"], |
133 | | - ["param", "return"] |
| 147 | + [ |
| 148 | + "deprecated", |
| 149 | + "link", |
| 150 | + "see", |
| 151 | + "since" |
| 152 | + ], |
| 153 | + [ |
| 154 | + "author", |
| 155 | + "copyright", |
| 156 | + "license" |
| 157 | + ], |
| 158 | + [ |
| 159 | + "category", |
| 160 | + "package", |
| 161 | + "subpackage" |
| 162 | + ], |
| 163 | + [ |
| 164 | + "property", |
| 165 | + "property-read", |
| 166 | + "property-write" |
| 167 | + ], |
| 168 | + [ |
| 169 | + "param", |
| 170 | + "return" |
| 171 | + ] |
134 | 172 | ] |
135 | 173 | }, |
136 | 174 | "phpdoc_single_line_var_spacing": true, |
|
161 | 199 | "types_spaces": true, |
162 | 200 | "unary_operator_spaces": true, |
163 | 201 | "visibility_required": { |
164 | | - "elements": ["method", "property"] |
| 202 | + "elements": [ |
| 203 | + "method", |
| 204 | + "property" |
| 205 | + ] |
165 | 206 | }, |
166 | 207 | "whitespace_after_comma_in_array": true |
167 | 208 | }, |
168 | | - "notPath" :[ |
| 209 | + "notPath": [ |
169 | 210 | "stubs/tool.stub.php" |
170 | 211 | ] |
171 | 212 | } |
0 commit comments