-
Notifications
You must be signed in to change notification settings - Fork 31
/
.phpcs.xml
22 lines (21 loc) · 1.12 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
<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="Generic.PHP.NoSilencedErrors.Discouraged"/>
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected"/>
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag"/>
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate"/>
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected"/>
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic"/>
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingVar"/>
<exclude name="MediaWiki.NamingConventions.ValidGlobalName.allowedPrefix"/>
<exclude name="MediaWiki.PHP71Features.VoidReturnType.NotAllowed"/>
<exclude name="MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals"/>
</rule>
<file>.</file>
<arg name="encoding" value="UTF-8"/>
<arg name="extensions" value="php"/>
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>node_modules</exclude-pattern>
<exclude-pattern>language</exclude-pattern>
</ruleset>