forked from sokil/php-isocodes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
35 lines (35 loc) · 1.46 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
35 lines (35 loc) · 1.46 KB
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
<?xml version="1.0"?>
<ruleset name="php-isocodes">
<description>PSR2 + extended checks</description>
<arg value="p" />
<arg value="s" />
<file>benchmarks/</file>
<file>src/</file>
<file>tests/</file>
<config name="ignore_errors_on_exit" value="1"/>
<config name="ignore_warnings_on_exit" value="1"/>
<rule ref="PSR2"/>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag" />
<rule ref="Squiz.Commenting.VariableComment" />
<rule ref="SlevomatCodingStandard.Commenting.UselessInheritDocComment" />
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing">
<properties>
<property name="spacesCountBeforeColon" value="0"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
<properties>
<property name="newlinesCountBetweenOpenTagAndDeclare" value="1" />
<property name="newlinesCountAfterDeclare" value="2" />
<property name="spacesCountAroundEqualsSign" value="0" />
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.EmptyComment"/>
<rule ref="SlevomatCodingStandard.TypeHints.TypeHintDeclaration">
<properties>
<property name="allAnnotationsAreUseful" value="true" />
<property name="enableEachParameterAndReturnInspection" value="true" />
<property name="enableObjectTypeHint" value="false" />
</properties>
</rule>
</ruleset>