mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
d87af9e4c8
And moved phpcs.xml to .phpcs.xml (T177256). Change-Id: If86bc95b7dfb48180e741c729e9ded195992908b
16 lines
705 B
XML
16 lines
705 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.VariableAnalysis.ForbiddenGlobalVariables.ForbiddenGlobal$wgTitle" />
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="encoding" value="UTF-8"/>
|
|
<exclude-pattern>vendor</exclude-pattern>
|
|
<exclude-pattern>node_modules</exclude-pattern>
|
|
<exclude-pattern type="relative">^lib/</exclude-pattern>
|
|
</ruleset>
|