mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
synced 2024-11-27 17:50:35 +00:00
8031ec046d
The following sniffs are failing and were disabled: * Generic.ControlStructures.DisallowYodaConditions.Found * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic Additional changes: * Dropped .inc files from .phpcs.xml (T200956). * Added the `wikimedia/mediawiki` profile in .eslintrc.json (T262222). Change-Id: I5fdd27af9331ccdf5640cc65437549155db85dd0
14 lines
641 B
XML
14 lines
641 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="Generic.ControlStructures.DisallowYodaConditions.Found" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate" />
|
|
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php" />
|
|
<arg name="encoding" value="UTF-8" />
|
|
</ruleset>
|