mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
8d888595ef
The following sniffs are failing and were disabled: * Generic.Files.LineLength.TooLong Additional changes: * Replaced "jakub-onderka" packages with "php-parallel-lint". Change-Id: Ibe6a0bc27cefd6da49192032785ed4ee00c56587
24 lines
1 KiB
XML
24 lines
1 KiB
XML
<?xml version="1.0"?>
|
|
<ruleset name="MediaWiki">
|
|
<file>.</file>
|
|
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
|
|
<exclude name="Generic.Files.LineLength.TooLong" />
|
|
<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.NamingConventions.LowerCamelFunctionsName.FunctionName" />
|
|
<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>
|