-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpcs.xml
38 lines (35 loc) · 1.54 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
<?xml version="1.0"?>
<ruleset>
<arg name="basepath" value="." />
<arg name="colors" />
<arg name="extensions" value="php" />
<rule ref="vendor/wizaplace/phpcs/BaBeuloula/ruleset.xml">
<exclude name="Squiz.Operators.ComparisonOperatorUsage" />
<exclude name="Squiz.PHP.DisallowBooleanStatement" />
<exclude name="Generic.Files.LineLength" />
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter" />
<exclude name="Generic.Commenting.Todo" />
<exclude name="BaBeuloula.Uses.GroupUses" />
<exclude name="BaBeuloula.CodeAnalysis.StrictTypes" />
<exclude name="PEAR.Commenting.FileComment.MissingAuthorTag"/>
<exclude name="PSR12.Properties.ConstantVisibility" />
</rule>
<rule ref="Generic.PHP.ForbiddenFunctions">
<properties>
<property name="forbiddenFunctions" type="array" extend="false">
<element key="split" value="explode" />
<element key="delete" value="unset"/>
<element key="print" value="echo"/>
<element key="create_function" value="null"/>
<element key="error_log" value="null" />
<element key="print_r" value="null" />
<element key="var_dump" value="null" />
<element key="dump" value="null" />
<element key="dd" value="null" />
<element key="die" value="null" />
</property>
</properties>
</rule>
<file>src</file>
<file>tests</file>
</ruleset>