-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpcs.xml
47 lines (47 loc) · 1.78 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
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<ruleset name="My Tester Standard">
<description>.</description>
<config name="colors" value="1"/>
<config name="encoding" value="utf-8"/>
<config name="ignore_warnings_on_exit" value="1"/>
<config name="tab_width" value="4"/>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>*/temp/*</exclude-pattern>
<rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
<rule ref="Generic.Classes.DuplicateClassName"/>
<rule ref="Generic.CodeAnalysis">
<exclude name="Generic.CodeAnalysis.UnusedFunctionParameter"/>
</rule>
<rule ref="Generic.CodeAnalysis.EmptyStatement">
<type>warning</type>
</rule>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod">
<exclude-pattern>*/tests/JobTest.php</exclude-pattern>
</rule>
<rule ref="Generic.Files.InlineHTML"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<rule ref="Generic.Functions.CallTimePassByReference"/>
<rule ref="Generic.Metrics"/>
<rule ref="Generic.NamingConventions.ConstructorName"/>
<rule ref="Generic.PHP">
<exclude name="Generic.PHP.ClosingPHPTag"/>
<exclude name="Generic.PHP.UpperCaseConstant"/>
</rule>
<rule ref="Generic.Strings"/>
<rule ref="Generic.WhiteSpace.LanguageConstructSpacing"/>
<rule ref="Squiz.Classes">
<exclude name="Squiz.Classes.ClassDeclaration"/>
</rule>
<rule ref="Squiz.PHP.CommentedOutCode"/>
<rule ref="Squiz.PHP.DiscouragedFunctions"/>
<rule ref="Squiz.PHP.Eval"/>
<rule ref="Squiz.PHP.GlobalKeyword"/>
<rule ref="Squiz.PHP.LowercasePHPFunctions"/>
<rule ref="Squiz.PHP.NonExecutableCode"/>
<rule ref="Squiz.Scope"/>
<rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing"/>
<rule ref="Squiz.WhiteSpace.SemicolonSpacing"/>
<rule ref="PSR12">
<exclude name="PSR12.Files.FileHeader"/>
</rule>
</ruleset>