|
29 | 29 | '@Symfony' =>true, |
30 | 30 | '@Symfony:risky' =>true, |
31 | 31 | 'protected_to_private' =>false, |
32 | | -'native_constant_invocation' => ['strict' =>false], |
33 | | -'no_superfluous_phpdoc_tags' => [ |
34 | | -'remove_inheritdoc' =>true, |
35 | | -'allow_unused_params' =>true,// for future-ready params, to be replaced with https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/7377 |
36 | | - ], |
37 | | -'nullable_type_declaration_for_default_null_value' =>true, |
38 | 32 | 'header_comment' => ['header' =>$fileHeaderComment], |
39 | | -'modernize_strpos' =>true, |
40 | | -'get_class_to_class_keyword' =>true, |
41 | 33 | 'nullable_type_declaration' =>true, |
42 | | -'ordered_types' => ['null_adjustment' =>'always_last','sort_algorithm' =>'none'], |
43 | 34 | 'trailing_comma_in_multiline' => ['elements' => ['arrays','match','parameters']], |
44 | 35 | ]) |
45 | 36 | ->setRiskyAllowed(true) |
|