-
Notifications
You must be signed in to change notification settings - Fork 53
/
phpcs.xml.dist
30 lines (24 loc) · 1.24 KB
/
phpcs.xml.dist
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
<?xml version="1.0"?>
<ruleset name="Mollie">
<description>Mollie</description>
<file>./inc</file>
<file>./src</file>
<exclude-pattern>./tests/</exclude-pattern>
<config name="testVersion" value="7.4"/>
<config name="ignore_warnings_on_exit" value="1"/>
<rule ref="Inpsyde">
<exclude name="NeutronStandard.StrictTypes.RequireStrictTypes.StrictTypes"/>
<exclude name="Inpsyde.CodeQuality.ReturnTypeDeclaration.NoReturnType"/>
<exclude name="Inpsyde.CodeQuality.ArgumentTypeDeclaration.NoArgumentType"/>
<exclude name="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/>
<exclude name="Inpsyde.CodeQuality.VariablesName.SnakeCaseVar"/>
<exclude name="WordPress.WP.I18n.MissingTranslatorsComment"/>
<exclude name="Inpsyde.CodeQuality.NoAccessors.NoGetter"/>
<exclude name="Inpsyde.CodeQuality.NoAccessors.NoSetter"/>
<exclude name="Inpsyde.CodeQuality.ElementNameMinimalLength.TooShort"/>
<exclude name="Inpsyde.CodeQuality.LineLength.TooLong"/>
<exclude name="Inpsyde.CodeQuality.NoElse.ElseFound"/>
<exclude name="Inpsyde.CodeQuality.FunctionLength.TooLong"/>
<exclude name="Generic.Metrics.NestingLevel.TooHigh"/>
</rule>
</ruleset>