mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-01 02:36:35 +00:00
ba9e3c68f6
The following sniffs are failing and were disabled: * MediaWiki.Commenting.FunctionComment.MissingParamComment * MediaWiki.Commenting.FunctionComment.MissingParamTag * MediaWiki.Commenting.FunctionComment.MissingReturn * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch * MediaWiki.FunctionComment.Missing.Public * MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment Change-Id: Id9e98b7a4e87d00c63e7b509506c23f12cf0d380
24 lines
978 B
XML
24 lines
978 B
XML
<?xml version="1.0"?>
|
|
<ruleset>
|
|
<rule ref="vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.ParamNameNoMatch" />
|
|
<exclude name="MediaWiki.FunctionComment.Missing.Public" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
|
</rule>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php,php5,inc" />
|
|
<arg name="encoding" value="utf8" />
|
|
<exclude-pattern>vendor</exclude-pattern>
|
|
|
|
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing">
|
|
<properties>
|
|
<property name="equalsSpacing" value="1" />
|
|
<property name="requiredSpacesAfterOpen" value="1" />
|
|
<property name="requiredSpacesBeforeClose" value="1" />
|
|
</properties>
|
|
</rule>
|
|
</ruleset>
|