forked from mybb/mybb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
29 lines (23 loc) · 996 Bytes
/
Copy pathphpcs.xml
File metadata and controls
29 lines (23 loc) · 996 Bytes
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
<?xml version="1.0"?>
<ruleset name="MyBB">
<description>Configuration for MyBB</description>
<file>inc/src</file>
<file>tests</file>
<exclude-pattern>tests/bootstrap.php</exclude-pattern>
<exclude-pattern>tests/report/</exclude-pattern>
<rule ref="PSR12">
<!-- PER -->
<exclude name="PSR2.Classes.ClassDeclaration.OpenBraceNewLine"/>
<exclude name="Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore"/>
<!-- custom -->
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.EmptyLine"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace"/>
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen"/>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<severity>0</severity>
</rule>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>inc/src/Maintenance/init.php</exclude-pattern>
</rule>
</ruleset>