forked from pagemachine/hairu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml
45 lines (36 loc) · 1.58 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0"?>
<ruleset>
<config name="installed_paths" value="../../cakephp/cakephp-codesniffer,../../slevomat/coding-standard"/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg value="ps"/>
<file>Classes</file>
<file>Configuration/TCA</file>
<file>ext_emconf.php</file>
<file>ext_localconf.php</file>
<rule ref="PSR2">
<exclude name="Generic.Files.LineLength"/>
</rule>
<rule ref="PSR12">
</rule>
<rule ref="Generic.PHP.NoSilencedErrors">
<properties>
<property name="error" type="bool" value="true"/>
</properties>
</rule>
<rule ref="CakePHP.Commenting.DocBlockAlignment"/>
<rule ref="CakePHP.Formatting.BlankLineBeforeReturn"/>
<rule ref="CakePHP.WhiteSpace.EmptyLines"/>
<rule ref="SlevomatCodingStandard.Arrays.TrailingArrayComma"/>
<rule ref="SlevomatCodingStandard.ControlStructures.AssignmentInCondition"/>
<rule ref="SlevomatCodingStandard.ControlStructures.DisallowYodaComparison"/>
<rule ref="SlevomatCodingStandard.Exceptions.DeadCatch"/>
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
<rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/>
<rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine"/>
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/>
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/>
<rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
</ruleset>