mediawiki-extensions-Parser.../.phpcs.xml
Umherirrender 32d112ef64 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: I44d6eadc5b50a1fa7c95302323bb9febee02eae9
2018-12-08 16:39:48 +01:00

14 lines
534 B
XML

<?xml version="1.0"?>
<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_LuaParserFunctionsLibrary\.php</exclude-pattern>
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />
<arg name="encoding" value="UTF-8" />
</ruleset>