|
11 | 11 | '@PSR2' => true, |
12 | 12 | 'array_syntax' => ['syntax' => 'short'], |
13 | 13 | 'concat_space' => ['spacing' => 'none'], |
| 14 | + 'global_namespace_import' => [ |
| 15 | + 'import_classes' => true, |
| 16 | + 'import_constants' => true, |
| 17 | + 'import_functions' => true, |
| 18 | + ], |
| 19 | + 'list_syntax' => ['syntax' => 'short'], |
14 | 20 | 'new_with_braces' => true, |
15 | 21 | 'no_blank_lines_after_phpdoc' => true, |
16 | 22 | 'no_empty_phpdoc' => true, |
17 | 23 | 'no_empty_comment' => true, |
18 | 24 | 'no_leading_import_slash' => true, |
19 | | - 'no_superfluous_phpdoc_tags' => true, |
| 25 | + 'no_superfluous_phpdoc_tags' => [ |
| 26 | + 'allow_mixed' => true, |
| 27 | + 'remove_inheritdoc' => true, |
| 28 | + 'allow_unused_params' => false, |
| 29 | + ], |
20 | 30 | 'no_trailing_comma_in_singleline_array' => true, |
21 | 31 | 'no_unused_imports' => true, |
22 | 32 | 'ordered_imports' => ['imports_order' => ['class', 'function', 'const'], 'sort_algorithm' => 'alpha'], |
23 | | - 'phpdoc_add_missing_param_annotation' => ['only_untyped' => false], |
| 33 | + 'phpdoc_add_missing_param_annotation' => ['only_untyped' => true], |
24 | 34 | 'phpdoc_align' => true, |
25 | 35 | 'phpdoc_no_empty_return' => true, |
26 | 36 | 'phpdoc_order' => true, |
27 | 37 | 'phpdoc_scalar' => true, |
28 | | - 'phpdoc_to_comment' => false, |
| 38 | + 'phpdoc_to_comment' => true, |
29 | 39 | 'phpdoc_summary' => true, |
30 | 40 | 'psr_autoloading' => true, |
31 | 41 | 'return_type_declaration' => ['space_before' => 'none'], |
|
36 | 46 | 'trailing_comma_in_multiline' => true, |
37 | 47 | 'trim_array_spaces' => true, |
38 | 48 | 'whitespace_after_comma_in_array' => true, |
39 | | - 'yoda_style' => true, |
40 | 49 | ]) |
41 | | - ->setFinder($finder) |
42 | | -; |
| 50 | + ->setFinder($finder); |
0 commit comments