mediawiki-extensions-AbuseF.../.phpcs.xml

15 lines
500 B
XML
Raw Permalink Normal View History

<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<rule ref="Generic.Files.LineLength">
<exclude-pattern>AbuseFilter\.alias\.php</exclude-pattern>
</rule>
<rule ref="MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName">
<!-- Many hooks have a dash in their name -->
<exclude-pattern>*includes/Hooks</exclude-pattern>
</rule>
<file>.</file>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>
</ruleset>