-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpcs.xml
24 lines (24 loc) · 1.16 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
<?xml version="1.0"?>
<ruleset>
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed"/>
<exclude name="Generic.Files.LineLength"/>
<exclude name="Generic.PHP.NoSilencedErrors.Discouraged"/>
<exclude name="MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures"/>
<exclude name="MediaWiki.NamingConventions.ValidGlobalName.wgPrefix"/>
<exclude name="MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix"/>
<exclude name="PSR2.Classes.PropertyDeclaration.ScopeMissing"/>
<exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
<exclude name="PSR2.Classes.PropertyDeclaration.VarUsed"/>
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc"/>
<arg name="encoding" value="utf8"/>
<exclude-pattern>node_modules</exclude-pattern>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>api/tripplanner</exclude-pattern>
<exclude-pattern>common</exclude-pattern>
<exclude-pattern>map</exclude-pattern>
<exclude-pattern>prox_search/cls</exclude-pattern>
<exclude-pattern>tools/browser</exclude-pattern>
</ruleset>