-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
25 lines (25 loc) · 920 Bytes
/
phpcs.xml
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
<?xml version="1.0"?>
<!--suppress XmlUnboundNsPrefix -->
<ruleset name="PHP-SDK">
<description>Coding standards based on the PSR-2 coding standard.</description>
<rule ref="PSR2"/>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<message>Cpdf is 3Party so do not require namespace here</message>
<exclude-pattern>*/src/Cpdf.php</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<severity>0</severity>
</rule>
<rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>*/src/Cpdf.php</exclude-pattern>
</rule>
<rule ref="PSR2.ControlStructures.SwitchDeclaration.TerminatingComment">
<exclude-pattern>*/src/Cpdf.php</exclude-pattern>
</rule>
<rule ref="Squiz.Scope.MethodScope.Missing">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.ValidDefaultValue.NotAtEnd">
<exclude-pattern>*/src/Cpdf.php</exclude-pattern>
</rule>
</ruleset>