-
Notifications
You must be signed in to change notification settings - Fork 39
/
phpcs.xml
29 lines (22 loc) · 1000 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
26
27
28
29
<?xml version="1.0"?>
<ruleset name="SitewardsStandard">
<description>Sitewards coding standards.</description>
<ini name="date.timezone" value="Europe/Berlin" />
<rule ref="PSR2" />
<rule ref="PSR1.Classes.ClassDeclaration">
<exclude-pattern>*app/code*</exclude-pattern>
<exclude-pattern>*SitewardsStandard*</exclude-pattern>
</rule>
<rule ref="Squiz.Classes.ValidClassName">
<exclude-pattern>*app/code*</exclude-pattern>
<exclude-pattern>*SitewardsStandard*</exclude-pattern>
</rule>
<rule ref="PSR2.Methods.MethodDeclaration.Underscore">
<exclude-pattern>*app/code*</exclude-pattern>
<exclude-pattern>*SitewardsStandard*</exclude-pattern>
</rule>
<!-- Ensure multiple statements that are sequential are aligned -->
<rule ref="Generic.Formatting.MultipleStatementAlignment"/>
<!-- Ensure there is no superfleus whitespace -->
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace" />
</ruleset>