mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-15 03:35:52 +00:00
5df0f098a1
The following sniffs are failing and were disabled: * MediaWiki.Files.ClassMatchesFilename.NotMatch * MediaWiki.Files.OneClassPerFile.MultipleFound The following sniffs now pass and were enabled: * MediaWiki.ControlStructures.IfElseStructure Change-Id: Ia10258008fc28be6adbbea15f162bffa2be18880
18 lines
829 B
XML
18 lines
829 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="Squiz.Classes.ValidClassName.NotCamelCaps" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
|
</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>
|
|
</ruleset>
|