-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpcs.xml
40 lines (34 loc) · 1.63 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
<?xml version="1.0"?>
<ruleset name="code-sniffer">
<config name="installed_paths" value="../../fig-r/psr2r-sniffer"/>
<arg value="nps"/>
<file>PSR2R/</file>
<file>docs/</file>
<file>bin/</file>
<rule ref="PSR2R"/>
<rule ref="PhpCollectiveStrict.TypeHints.ParameterTypeHint">
<exclude name="PhpCollectiveStrict.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification"/>
<exclude name="PhpCollectiveStrict.TypeHints.ParameterTypeHint.UselessAnnotation"/>
<exclude name="PhpCollectiveStrict.TypeHints.ParameterTypeHint.UselessDocComment"/>
<properties>
<property name="enableStandaloneNullTrueFalseTypeHints" value="false"/>
</properties>
</rule>
<rule ref="PhpCollectiveStrict.TypeHints.ReturnTypeHint">
<exclude name="PhpCollectiveStrict.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification"/>
<exclude name="PhpCollectiveStrict.TypeHints.ReturnTypeHint.UselessAnnotation"/>
<exclude name="PhpCollectiveStrict.TypeHints.ReturnTypeHint.UselessDocComment"/>
<properties>
<property name="enableStandaloneNullTrueFalseTypeHints" value="false"/>
</properties>
</rule>
<rule ref="PhpCollectiveStrict.TypeHints.PropertyTypeHint">
<exclude name="PhpCollectiveStrict.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification"/>
<exclude name="PhpCollectiveStrict.TypeHints.PropertyTypeHint.UselessAnnotation"/>
<exclude name="PhpCollectiveStrict.TypeHints.PropertyTypeHint.UselessDocComment"/>
<properties>
<property name="enableStandaloneNullTrueFalseTypeHints" value="false"/>
</properties>
</rule>
<exclude-pattern>,*.inc,*.fixed</exclude-pattern>
</ruleset>