-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpcs.xml
More file actions
24 lines (20 loc) · 846 Bytes
/
phpcs.xml
File metadata and controls
24 lines (20 loc) · 846 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
<?xml version="1.0"?>
<ruleset name="VirtualMenu">
<description>The coding standard for VirtualMenu</description>
<file>./www/index.php</file>
<file>./www/application/</file>
<exclude-pattern>*/libraries/*</exclude-pattern>
<exclude-pattern>*/third_party/*</exclude-pattern>
<exclude-pattern>*/errors/*</exclude-pattern>
<exclude-pattern>./www/index.php</exclude-pattern>
<exclude-pattern>*/config/mimes.php</exclude-pattern>
<exclude-pattern>*/models/grocery_crud_model.php</exclude-pattern>
<rule ref="PSR2">
<exclude name="Generic.WhiteSpace.DisallowTabIndent" />
<exclude name="Generic.Files.LineEndings" />
<exclude name="PSR1.Classes.ClassDeclaration.MissingNamespace" />
</rule>
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine">
<type>warning</type>
</rule>
</ruleset>