mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-25 00:26:06 +00:00
61e4e142eb
The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic * MediaWiki.Commenting.FunctionComment.MissingParamComment * MediaWiki.Commenting.FunctionComment.MissingParamName * MediaWiki.Commenting.FunctionComment.MissingParamTag * MediaWiki.Commenting.FunctionComment.MissingReturn * MediaWiki.Commenting.FunctionComment.MissingReturnType * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch * MediaWiki.Commenting.FunctionComment.WrongStyle * MediaWiki.Files.ClassMatchesFilename.NotMatch * MediaWiki.Files.OneClassPerFile.MultipleFound The following sniffs now pass and were enabled: * MediaWiki.Commenting.FunctionComment Change-Id: Id3af93f7485712b063b758cbd40752c1bfcb0b2e
22 lines
1.2 KiB
XML
22 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturnType" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
|
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName"/>
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="encoding" value="UTF-8"/>
|
|
<exclude-pattern>ReCaptcha/recaptchalib\.php</exclude-pattern>
|
|
</ruleset>
|