-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml.dist
More file actions
62 lines (49 loc) · 1.94 KB
/
Copy pathphpcs.xml.dist
File metadata and controls
62 lines (49 loc) · 1.94 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?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="no-cache" />
<arg name="colors"/>
<arg name="extensions" value="php"/>
<arg value="ps"/>
<rule ref="PSR12"/>
<file>bin/</file>
<file>config/</file>
<file>migrations/</file>
<file>public/</file>
<file>src/</file>
<file>tests/</file>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>var/</exclude-pattern>
<exclude-pattern>config/bundles.php</exclude-pattern>
<exclude-pattern>importmap.php</exclude-pattern>
<rule ref="vendor/pixelfederation/coding-standards/phpcs.ruleset.85.non-ddd.xml"/>
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>
<property name="rootNamespaces" type="array">
<element key="src" value="App"/>
<element key="tests" value="App\Tests"/>
<element key="migrations" value="DoctrineMigrations"/>
</property>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.PHP.UselessParentheses">
<properties>
<property name="enableCheckAroundNew" value="false"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Classes.RequireAbstractOrFinal.ClassNeitherAbstractNorFinal">
<exclude-pattern>src/Entity</exclude-pattern>
</rule>
<rule ref="SlevomatCodingStandard.Functions.FunctionLength">
<properties>
<property name="maxLinesLength" value="45"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Files.LineLength.LineTooLong">
<exclude-pattern>migrations/</exclude-pattern>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>migrations/</exclude-pattern>
</rule>
</ruleset>