mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 09:40:41 +00:00
e98f255784
The following sniffs are failing and were disabled: * Generic.Files.OneObjectStructurePerFile.MultipleFound * Squiz.Scope.MethodScope.Missing The following sniffs now pass and were enabled: * MediaWiki.Files.OneClassPerFile.MultipleFound Change-Id: I492d4cd05844b1ea178a9ce490fa1c7b4b891ca1
21 lines
1.1 KiB
XML
21 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="MediaWiki">
|
|
<file>.</file>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="Generic.Files.LineLength.TooLong" />
|
|
<exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.ExtraParamComment" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.WrongCase" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
|
<exclude name="Squiz.Scope.MethodScope.Missing" />
|
|
</rule>
|
|
<arg name="encoding" value="UTF-8" />
|
|
<arg name="extensions" value="php,php5,inc" />
|
|
<arg name="colors" />
|
|
</ruleset>
|