-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpcs.xml
More file actions
28 lines (25 loc) · 1.01 KB
/
phpcs.xml
File metadata and controls
28 lines (25 loc) · 1.01 KB
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
<?xml version="1.0"?>
<ruleset name="Xtools">
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
</rule>
<file>.</file>
<exclude-pattern>vendor/</exclude-pattern>
<exclude-pattern>var/</exclude-pattern>
<exclude-pattern>node_modules/</exclude-pattern>
<exclude-pattern>assets/vendor/</exclude-pattern>
<exclude-pattern>*.js</exclude-pattern>
<exclude-pattern>*.css</exclude-pattern>
<exclude-pattern>bootstrap.php</exclude-pattern>
<exclude-pattern>bin/.phpunit/</exclude-pattern>
<!-- Squiz / PSR conventions -->
<rule ref="Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps">
<exclude name="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"/>
</rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.StringNotCamelCaps"/>
<rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
<exclude-pattern>src/Kernel.php</exclude-pattern>
</rule>
<rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
<exclude-pattern>src/Kernel.php</exclude-pattern>
</rule>
</ruleset>