-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs-ignores.neon
More file actions
169 lines (141 loc) · 6.41 KB
/
phpcs-ignores.neon
File metadata and controls
169 lines (141 loc) · 6.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
ignoreErrors:
-
sniff: SlevomatCodingStandard.Classes.ForbiddenPublicProperty.ForbiddenPublicProperty
message: Do not use public properties. Use method access instead.
count: 2
path: src/TypeValidator/Exceptions/BadDescriptionException.php
-
sniff: SlevomatCodingStandard.Classes.ForbiddenPublicProperty.ForbiddenPublicProperty
message: Do not use public properties. Use method access instead.
count: 2
path: src/TypeValidator/Exceptions/CheckException.php
-
sniff: SlevomatCodingStandard.Classes.ForbiddenPublicProperty.ForbiddenPublicProperty
message: Do not use public properties. Use method access instead.
count: 3
path: src/TypeValidator/Exceptions/UnsupportedTypeException.php
-
sniff: Generic.CodeAnalysis.EmptyStatement.DetectedIf
message: Empty IF statement detected
count: 8
path: src/TypeValidator/Helpers/SupportedTypes.php
-
sniff: SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter
message: Unused parameter $nodes.
count: 1
path: src/TypeValidator/PHPStan/Helpers/PhpParserNamespaceResolver.php
-
sniff: SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter
message: Unused parameter $context.
count: 2
path: src/TypeValidator/PHPStan/Type/FunctionTypeSpecifyingExtension.php
-
sniff: SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter
message: Unused parameter $functionReflection.
count: 1
path: src/TypeValidator/PHPStan/Type/FunctionTypeSpecifyingExtension.php
-
sniff: SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter
message: Unused parameter $context.
count: 2
path: src/TypeValidator/PHPStan/Type/StaticMethodTypeSpecifyingExtension.php
-
sniff: SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter
message: Unused parameter $staticMethodReflection.
count: 1
path: src/TypeValidator/PHPStan/Type/StaticMethodTypeSpecifyingExtension.php
-
sniff: PSR1.Files.SideEffects.FoundWithSymbols
message: 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 10 and the first side effect is on line 8.'
count: 1
path: tests/FullyQualifiedClassNameResolverTest.php
-
sniff: Generic.PHP.ForbiddenFunctions.Found
message: 'The use of function var_dump() is forbidden'
count: 1
path: tests/PHPStanExtensionTest.php
-
sniff: PSR1.Files.SideEffects.FoundWithSymbols
message: 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 10 and the first side effect is on line 8.'
count: 1
path: tests/PHPStanExtensionTest.php
-
sniff: Generic.PHP.ForbiddenFunctions.Found
message: 'The use of function var_dump() is forbidden'
count: 14
path: tests/PHPStanTest.php
-
sniff: PSR1.Files.SideEffects.FoundWithSymbols
message: 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 11 and the first side effect is on line 9.'
count: 1
path: tests/PHPStanTest.php
-
sniff: SlevomatCodingStandard.Classes.TraitUseSpacing.IncorrectLinesCountAfterLastUse
message: 'Expected 1 line after last use statement, found 2.'
count: 1
path: tests/PHPStanTest.php
-
sniff: PSR1.Files.SideEffects.FoundWithSymbols
message: 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 10 and the first side effect is on line 8.'
count: 1
path: tests/PHPStanTypeNodeResolverSourceCodeChangesTest.php
-
sniff: PSR1.Files.SideEffects.FoundWithSymbols
message: 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 11 and the first side effect is on line 9.'
count: 1
path: tests/PhpDocParserTest.php
-
sniff: PSR1.Classes.ClassDeclaration.MultipleClasses
message: Each class must be in a file by itself
count: 3
path: tests/RuntimeTest.php
-
sniff: PSR1.Classes.ClassDeclaration.MultipleClasses
message: Each enum must be in a file by itself
count: 1
path: tests/RuntimeTest.php
-
sniff: PSR1.Files.SideEffects.FoundWithSymbols
message: 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 10 and the first side effect is on line 8.'
count: 1
path: tests/RuntimeTest.php
-
sniff: SlevomatCodingStandard.Classes.SuperfluousTraitNaming.SuperfluousSuffix
message: Superfluous suffix "Trait".
count: 1
path: tests/RuntimeTest.php
-
sniff: SlevomatCodingStandard.Classes.TraitUseSpacing.IncorrectLinesCountAfterLastUse
message: 'Expected 1 line after last use statement, found 2.'
count: 1
path: tests/RuntimeTest.php
-
sniff: Squiz.Classes.ClassFileName.NoMatch
message: Filename doesn't match class name; expected file name "TestStringableAndJsonSerialize.php"
count: 1
path: tests/RuntimeTest.php
-
sniff: Squiz.Classes.ClassFileName.NoMatch
message: Filename doesn't match class name; expected file name "TestToString.php"
count: 1
path: tests/RuntimeTest.php
-
sniff: Squiz.Classes.ClassFileName.NoMatch
message: Filename doesn't match enum name; expected file name "TestEnum.php"
count: 1
path: tests/RuntimeTest.php
-
sniff: Squiz.Classes.ClassFileName.NoMatch
message: Filename doesn't match trait name; expected file name "TestTrait.php"
count: 1
path: tests/RuntimeTest.php
-
sniff: PSR1.Files.SideEffects.FoundWithSymbols
message: 'A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 11 and the first side effect is on line 9.'
count: 1
path: tests/SupportedTypesTest.php
-
sniff: Generic.PHP.ForbiddenFunctions.Found
message: 'The use of function var_dump() is forbidden'
count: 1
path: tests/TraitWithFullyQualifiedClassName.php