mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-13 17:57:21 +00:00
07ff3debe5
Change-Id: I77eefbd6f8b76620257c68be1c299868b5f5ff88
25 lines
1.1 KiB
XML
25 lines
1.1 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="MediaWiki">
|
|
<file>.</file>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate" />
|
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
|
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
|
|
<exclude name="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName" />
|
|
<exclude name="MediaWiki.Usage.ForbiddenFunctions.isset" />
|
|
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
|
|
<exclude name="PSR12.Properties.ConstantVisibility.NotFound" />
|
|
</rule>
|
|
<rule ref="Generic.Files.LineLength">
|
|
<properties>
|
|
<property name="lineLimit" value="140" />
|
|
</properties>
|
|
</rule>
|
|
<arg name="encoding" value="UTF-8" />
|
|
<arg name="extensions" value="php,php5,inc" />
|
|
<arg name="colors" />
|
|
<exclude-pattern>vendor</exclude-pattern>
|
|
</ruleset>
|