mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-01 03:16:14 +00:00
83f1afa622
And moved phpcs.xml to .phpcs.xml (T177256). Change-Id: If93c20dc23af675f6a12b0a7a8c579ade865c411
20 lines
1,007 B
XML
20 lines
1,007 B
XML
<?xml version="1.0"?>
|
|
<ruleset name="Scribunto">
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php" />
|
|
<arg name="encoding" value="UTF-8" />
|
|
<exclude-pattern>node_modules/</exclude-pattern>
|
|
<exclude-pattern>vendor/</exclude-pattern>
|
|
</ruleset>
|