:octocat:

This commit is contained in:
smiley
2023-03-11 03:30:20 +01:00
parent 6b2a529160
commit 4d48f4b656
+21
View File
@@ -164,4 +164,25 @@
<rule ref="Squiz.Commenting.EmptyCatchComment" />
<!-- exclude some checks for the examples-->
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>examples</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
<exclude-pattern>examples</exclude-pattern>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>examples</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ClassFileName.NoMatch">
<exclude-pattern>examples</exclude-pattern>
</rule>
<rule ref="Squiz.PHP.DiscouragedFunctions.Discouraged">
<exclude-pattern>examples</exclude-pattern>
</rule>
</ruleset>