mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-12-18 08:30:52 +00:00
2fdd92fb96
Implicitly marking parameter $... as nullable is deprecated in PHP 8.4. The explicit nullable type must be used instead. Bug: T376276 Change-Id: I303342cf1a002d5f0afc77ce147ce9453ea5282e
15 lines
500 B
XML
15 lines
500 B
XML
<?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>
|