mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-12 00:38:23 +00:00
f84b7f7158
As discussed in the task, wgTitle was used (overridden) since it was null in API calls. However, the problem has been fixed in api.php in 2009, so we don't need to deal with it anymore. This also means that we may remove anything else that was added to restore the original title at the end of the function. At last, this was the only remaining exception for PHPCS. Bug: T178007 Change-Id: Id043c74ec8d57c5fb0ab22f54acf6a31fe6b6f06
11 lines
320 B
XML
11 lines
320 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>
|
|
<file>.</file>
|
|
<arg name="extensions" value="php,php5,inc"/>
|
|
<arg name="encoding" value="UTF-8"/>
|
|
</ruleset>
|