-
Notifications
You must be signed in to change notification settings - Fork 11
/
ruleset.xml
45 lines (45 loc) · 1.24 KB
/
ruleset.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 name="SymfonyProject">
<exclude-pattern>vendor/</exclude-pattern>
<rule ref="vendor/consistence/coding-standard/Consistence/ruleset.xml"/>
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses">
<properties>
<property name="caseSensitive" value="false"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array" value="
src => Mhujer\YamlSortChecker,
tests => Mhujer\YamlSortChecker
"/>
<property name="skipDirs" type="array" value="
data,
exceptions,
fixtures,
"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint">
<properties>
<property name="enableNativeTypeHint" value="false"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.ForbiddenAnnotations">
<properties>
<property name="forbiddenAnnotations" type="array" value="
@author,
@created,
@version,
@package,
@copyright,
@license,
@throws,
@internal,
"/>
</properties>
</rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing.After">
<severity>5</severity><!-- turned off by Consistence Coding Standard -->
</rule>
</ruleset>