File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 164
164
165
165
<rule ref =" Squiz.Commenting.EmptyCatchComment" />
166
166
167
+ <!-- exclude some checks for the examples-->
168
+ <rule ref =" PSR1.Classes.ClassDeclaration.MissingNamespace" >
169
+ <exclude-pattern >examples</exclude-pattern >
170
+ </rule >
171
+
172
+ <rule ref =" PSR1.Classes.ClassDeclaration.MultipleClasses" >
173
+ <exclude-pattern >examples</exclude-pattern >
174
+ </rule >
175
+
176
+ <rule ref =" PSR1.Files.SideEffects.FoundWithSymbols" >
177
+ <exclude-pattern >examples</exclude-pattern >
178
+ </rule >
179
+
180
+ <rule ref =" Squiz.Classes.ClassFileName.NoMatch" >
181
+ <exclude-pattern >examples</exclude-pattern >
182
+ </rule >
183
+
184
+ <rule ref =" Squiz.PHP.DiscouragedFunctions.Discouraged" >
185
+ <exclude-pattern >examples</exclude-pattern >
186
+ </rule >
187
+
167
188
</ruleset >
You can’t perform that action at this time.
0 commit comments