44
55namespace Tpay \CodingStandards ;
66
7- use PhpCsFixerCustomFixers \Fixer \ConstructorEmptyBracesFixer ;
8- use PhpCsFixerCustomFixers \Fixer \DeclareAfterOpeningTagFixer ;
9- use PhpCsFixerCustomFixers \Fixer \EmptyFunctionBodyFixer ;
10- use PhpCsFixerCustomFixers \Fixer \NoImportFromGlobalNamespaceFixer ;
11- use PhpCsFixerCustomFixers \Fixer \NoNullableBooleanTypeFixer ;
12- use PhpCsFixerCustomFixers \Fixer \NoReferenceInFunctionDefinitionFixer ;
13- use PhpCsFixerCustomFixers \Fixer \PhpdocOnlyAllowedAnnotationsFixer ;
14- use PhpCsFixerCustomFixers \Fixer \PhpdocVarAnnotationToAssertFixer ;
15- use PhpCsFixerCustomFixers \Fixer \PromotedConstructorPropertyFixer ;
16- use PhpCsFixerCustomFixers \Fixer \ReadonlyPromotedPropertiesFixer ;
17-
187final class Unwanted
198{
209 public static function isUnwanted (string $ name ): bool
@@ -35,26 +24,31 @@ public static function isUnwanted(string $name): bool
3524 'not_operator_with_space ' ,
3625 'not_operator_with_successor_space ' ,
3726 'octal_notation ' ,
27+ 'php_unit_attributes ' ,
3828 'php_unit_internal_class ' ,
3929 'php_unit_size_class ' ,
4030 'php_unit_strict ' ,
4131 'php_unit_test_class_requires_covers ' ,
4232 'phpdoc_summary ' ,
4333 'phpdoc_to_property_type ' ,
34+ 'phpdoc_to_return_type ' ,
4435 'single_line_comment_spacing ' ,
4536 'single_line_throw ' ,
37+ 'string_implicit_backslashes ' ,
4638 'strict_param ' ,
4739 'void_return ' ,
48- ConstructorEmptyBracesFixer::name (),
49- DeclareAfterOpeningTagFixer::name (),
50- EmptyFunctionBodyFixer::name (),
51- NoImportFromGlobalNamespaceFixer::name (),
52- NoNullableBooleanTypeFixer::name (),
53- NoReferenceInFunctionDefinitionFixer::name (),
54- PhpdocOnlyAllowedAnnotationsFixer::name (),
55- PhpdocVarAnnotationToAssertFixer::name (),
56- PromotedConstructorPropertyFixer::name (),
57- ReadonlyPromotedPropertiesFixer::name (),
40+ 'PhpCsFixerCustomFixers/constructor_empty_braces ' ,
41+ 'PhpCsFixerCustomFixers/declare_after_opening_tag ' ,
42+ 'PhpCsFixerCustomFixers/empty_function_body ' ,
43+ 'PhpCsFixerCustomFixers/no_import_from_global_namespace ' ,
44+ 'PhpCsFixerCustomFixers/no_nullable_boolean_type ' ,
45+ 'PhpCsFixerCustomFixers/no_reference_in_function_definition ' ,
46+ 'PhpCsFixerCustomFixers/phpdoc_only_allowed_annotations ' ,
47+ 'PhpCsFixerCustomFixers/phpdoc_var_annotation_to_assert ' ,
48+ 'PhpCsFixerCustomFixers/promoted_constructor_property ' ,
49+ 'PhpCsFixerCustomFixers/readonly_promoted_properties ' ,
50+ 'PhpCsFixerCustomFixers/phpdoc_tag_no_named_arguments ' ,
51+ 'PhpCsFixerCustomFixers/typed_class_constant ' ,
5852 ],
5953 true ,
6054 );
0 commit comments