mediawiki-extensions-AbuseF.../.phpcs.xml
Andre Klapper 2fdd92fb96 Use explicit nullable type on parameter arguments (for PHP 8.4)
Implicitly marking parameter $... as nullable is deprecated in PHP
8.4. The explicit nullable type must be used instead.

Bug: T376276
Change-Id: I303342cf1a002d5f0afc77ce147ce9453ea5282e
2024-11-14 23:55:42 +00:00

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>