forked from wikimedia/mediawiki-extensions-OAuth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.phpcs.xml
16 lines (16 loc) · 858 Bytes
/
.phpcs.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected"/>
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate"/>
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
<exclude name="MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures" />
</rule>
<file>.</file>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
<exclude-pattern type="relative">^src/Lib/</exclude-pattern>
<exclude-pattern type="relative">^tests/phpunit/Lib/</exclude-pattern>
</ruleset>