-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.dist.xml
More file actions
47 lines (37 loc) · 1.57 KB
/
phpcs.dist.xml
File metadata and controls
47 lines (37 loc) · 1.57 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
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/squizlabs/php_codesniffer/phpcs.xsd">
<arg name="basepath" value="."/>
<arg name="colors"/>
<arg name="extensions" value="php"/>
<config name="testVersion" value="8.3" />
<config name="cache" value="false" />
<file>src/</file>
<file>tests/</file>
<rule ref="vendor/pixelfederation/coding-standards/phpcs.ruleset.83.non-ddd.xml" >
<exclude name="Generic.Files.LineLength.TooLong" />
</rule>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="src" value="PixelFederation\DoctrineGenericTypesBundle"/>
<element key="tests" value="PixelFederation\DoctrineGenericTypesBundle\Tests"/>
<element key="tests/TestApplication/src" value="PixelFederation\DoctrineGenericTypesBundle\Tests\TestApplication"/>
</property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Files.LineLength.LineTooLong">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys.IncorrectKeyOrder">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Functions.FunctionLength">
<exclude-pattern>tests/</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.PHP.UselessParentheses">
<properties>
<property name="enableCheckAroundNew" value="false"/>
</properties>
</rule>
</ruleset>