mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-12 00:48:46 +00:00
cc984c2f11
The following sniffs are failing and were disabled: * Generic.Files.OneObjectStructurePerFile.MultipleFound The following sniffs now pass and were enabled: * MediaWiki.Files.OneClassPerFile.MultipleFound Change-Id: Ib81b8adc5730d9715d767b1b5d39cc3e005a69b9
22 lines
875 B
XML
22 lines
875 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="Generic.Files.OneObjectStructurePerFile.MultipleFound" />
|
|
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName"/>
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment"/>
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
</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>
|