|
109 | 109 | 'implode_call' => true, |
110 | 110 | 'include' => true, |
111 | 111 | 'increment_style' => [ |
112 | | - 'style' => PhpCsFixer\Fixer\Operator\IncrementStyleFixer::STYLE_POST, |
| 112 | + 'style' => 'post', |
113 | 113 | ], |
114 | 114 | 'indentation_type' => true, |
| 115 | + 'integer_literal_case' => true, |
115 | 116 | 'is_null' => true, |
116 | 117 | 'lambda_not_used_import' => true, |
117 | 118 | 'line_ending' => true, |
|
158 | 159 | 'no_leading_import_slash' => true, |
159 | 160 | 'no_leading_namespace_whitespace' => true, |
160 | 161 | 'no_mixed_echo_print' => ['use' => 'print'], |
161 | | - 'no_multiple_statements_per_line' => true, |
162 | 162 | 'no_multiline_whitespace_around_double_arrow' => true, |
| 163 | + 'no_multiple_statements_per_line' => true, |
163 | 164 | 'no_null_property_initialization' => true, |
164 | 165 | 'no_php4_constructor' => true, |
165 | 166 | 'no_short_bool_cast' => true, |
|
184 | 185 | 'no_unset_cast' => true, |
185 | 186 | 'no_unset_on_property' => true, |
186 | 187 | 'no_unused_imports' => true, |
| 188 | + 'no_useless_concat_operator' => true, |
187 | 189 | 'no_useless_else' => true, |
188 | 190 | 'no_useless_return' => true, |
189 | 191 | 'no_useless_sprintf' => true, |
|
222 | 224 | ], |
223 | 225 | 'ordered_imports' => [ |
224 | 226 | 'imports_order' => [ |
225 | | - PhpCsFixer\Fixer\Import\OrderedImportsFixer::IMPORT_TYPE_CONST, |
226 | | - PhpCsFixer\Fixer\Import\OrderedImportsFixer::IMPORT_TYPE_FUNCTION, |
227 | | - PhpCsFixer\Fixer\Import\OrderedImportsFixer::IMPORT_TYPE_CLASS, |
| 227 | + 'const', |
| 228 | + 'function', |
| 229 | + 'class', |
228 | 230 | ] |
229 | 231 | ], |
230 | 232 | 'ordered_interfaces' => [ |
|
248 | 250 | 'phpdoc_no_package' => true, |
249 | 251 | 'phpdoc_no_useless_inheritdoc' => true, |
250 | 252 | 'phpdoc_order' => true, |
251 | | - 'phpdoc_param_order' => true, |
252 | 253 | 'phpdoc_order_by_value' => [ |
253 | 254 | 'annotations' => [ |
254 | 255 | 'covers', |
|
257 | 258 | 'uses', |
258 | 259 | ], |
259 | 260 | ], |
| 261 | + 'phpdoc_param_order' => true, |
260 | 262 | 'phpdoc_return_self_reference' => true, |
261 | 263 | 'phpdoc_scalar' => true, |
262 | 264 | 'phpdoc_separation' => true, |
|
286 | 288 | 'single_class_element_per_statement' => true, |
287 | 289 | 'single_import_per_statement' => true, |
288 | 290 | 'single_line_after_imports' => true, |
| 291 | + 'single_line_comment_spacing' => true, |
289 | 292 | 'single_quote' => true, |
290 | 293 | 'single_space_around_construct' => true, |
291 | 294 | 'single_trait_insert_per_statement' => true, |
|
0 commit comments