-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
41 lines (25 loc) · 1.09 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
<?xml version="1.0"?>
<ruleset name= "Laravel PHPCS Rules">
<description>PHPCS ruleset for Example app.</description>
<file>app</file>
<!-- Show progress of the run -->
<!-- <arg value= "p"/> -->
<!-- Show sniff codes in all reports -->
<!-- <arg value= "s"/> -->
<!-- <rule ref="MyStandard">
<exclude name="Squiz.Functions.FunctionDeclaration"/>
<properties>
<property name="maxLength" value="70"/>
</properties>
</rule> -->
<!-- <rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
<exclude-pattern>tests/</exclude-pattern>
</rule> -->
<!-- Include rules for detecting unused variables and unused code -->
<!-- <rule ref="SlevomatCodingStandard.Variables.UnusedVariable"/>
<rule ref="Squiz.PHP.CommentedOutCode"/> -->
<!-- Enforce camelCase naming for function names -->
<!-- <rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps"/> -->
<!-- Enforce camelCase naming for variable names -->
<!-- <rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"/> -->
</ruleset>