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

17 lines
592 B
XML
Raw Permalink Normal View History

<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
</rule>
<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>