-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
35 lines (27 loc) · 1.02 KB
/
phpcs.xml.dist
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="Custom Standard" namespace="MyProject\CS\Standard">
<description>PHP for Beginners Course</description>
<file>.</file>
<exclude-pattern>.ddev</exclude-pattern>
<exclude-pattern>database</exclude-pattern>
<arg name="extensions" value="php" />
<arg name="report" value="full"/>
<arg name="colors"/>
<arg value="sp"/>
<rule ref="PSR12"/>
<rule ref="Generic.Arrays.ArrayIndent" />
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter" />
<rule ref="Generic.Strings.UnnecessaryStringConcat" />
<rule ref="Generic.Formatting.SpaceAfterNot" />
<rule ref="Squiz.ControlStructures.ControlSignature">
<properties>
<property name="requiredSpacesBeforeColon" value="0" />
</properties>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<exclude-pattern>app/views</exclude-pattern>
</rule>
<rule ref="Internal.NoCodeFound">
<exclude-pattern>app/views</exclude-pattern>
</rule>
</ruleset>