File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed
Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ build_settings :
2+ clone_depth : 1
3+ verbose : false
4+ ignore :
5+ - " example"
6+
7+ test :
8+ php_code_sniffer :
9+ standard : " PSR4"
10+ allowed_errors : -1
11+ allowed_warnings : -1
12+ ignore :
13+ - " example"
14+ standard : " ./phpcs.xml"
15+
16+ php_docblock_checker :
17+ path : " ./"
18+
19+ php_loc :
20+ directory : " ./"
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!-- suppress XmlUnboundNsPrefix, XmlUnboundNsPrefix -->
3+ <ruleset name =" php-diff" >
4+ <description >overview</description >
5+ <rule ref =" Generic.Classes.DuplicateClassName" />
6+ <rule ref =" Generic.CodeAnalysis.EmptyStatement" />
7+ <rule ref =" Generic.CodeAnalysis.ForLoopShouldBeWhileLoop" />
8+ <rule ref =" Generic.CodeAnalysis.ForLoopWithTestFunctionCall" />
9+ <rule ref =" Generic.CodeAnalysis.UnconditionalIfStatement" />
10+ <rule ref =" Generic.CodeAnalysis.UselessOverridingMethod" />
11+ <rule ref =" Generic.Functions.CallTimePassByReference" />
12+ <rule ref =" Generic.Metrics.CyclomaticComplexity" />
13+ <rule ref =" Generic.PHP.DeprecatedFunctions" />
14+ <rule ref =" Generic.PHP.DisallowShortOpenTag" />
15+ <rule ref =" Generic.PHP.LowerCaseConstant" />
16+ <rule ref =" Generic" >
17+ <exclude name =" Generic.WhiteSpace.DisallowTabIndent.TabsUsed" />
18+ <exclude name =" Generic.WhiteSpace.DisallowTabIndent.NonIndentTabsUsed" />
19+ </rule >
20+
21+ <rule ref =" Squiz.PHP.Eval" />
22+ <rule ref =" Squiz.PHP.LowercasePHPFunctions" />
23+ <rule ref =" Squiz.PHP.NonExecutableCode" />
24+
25+ <rule ref =" PSR1" >
26+ <exclude name =" PSR1.Files.SideEffects" />
27+ </rule >
28+ </ruleset >
You can’t perform that action at this time.
0 commit comments