-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphpcs.xml
24 lines (21 loc) · 962 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
<?xml version="1.0"?>
<ruleset name="LaterPay">
<description>A custom set of rules to check for a LaterPay client-php library for WordPress VIP coding standards compatibility.</description>
<arg name="extensions" value="php"/>
<rule ref="WordPressVIPMinimum" />
<rule ref="Generic.WhiteSpace">
<severity>0</severity>
</rule>
<rule ref="WordPress.Arrays.MultipleStatementAlignment.DoubleArrowNotAligned">
<severity>0</severity>
</rule>
<rule ref="Generic.Formatting.MultipleStatementAlignment.NotSameWarning">
<severity>0</severity>
</rule>
<rule ref="WordPress.Arrays.ArrayDeclarationSpacing.AssociativeKeyFound">
<severity>0</severity>
</rule>
<!-- This is because for WordPress it will use Wp.php for http transport -->
<exclude-pattern>LaterPay/Http/Transport/Curl.php</exclude-pattern>
<exclude-pattern>LaterPay/Http/Transport/Native.php</exclude-pattern>
</ruleset>