mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-01 09:16:34 +00:00
f86c148866
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.Commenting.FunctionComment.SpacingAfterParamType * MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage Change-Id: I0689ff20133a2a23d6389aa50487349c6ed3797b
27 lines
1.2 KiB
XML
27 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName"/>
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag"/>
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment"/>
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.WrongStyle" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch"/>
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected"/>
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn"/>
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="encoding" value="UTF-8"/>
|
|
|
|
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
|
|
<properties>
|
|
<property name="equalsSpacing" value="1" />
|
|
<property name="requiredSpacesAfterOpen" value="1"/>
|
|
<property name="requiredSpacesBeforeClose" value="1" />
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|