mediawiki-extensions-TitleB.../.phpcs.xml
Umherirrender d676a5fddc build: Update sniff list in .phpcs.xml
Exclude Scribunto class from Squiz.Classes.ValidClassName.NotCamelCaps
The name concept is taken from another extension

Change-Id: Ica307a6773bd80c25d0de6c757ce2ad2ea21cd0d
2018-12-08 16:40:01 +01:00

19 lines
713 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment"/>
</rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
<exclude-pattern>Scribunto_LuaTitleBlacklistLibrary\.php</exclude-pattern>
</rule>
<rule ref="MediaWiki.NamingConventions.ValidGlobalName">
<properties>
<property name="ignoreList" type="array" value="$messageMemc" />
</properties>
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>