mediawiki-extensions-CodeEd.../.phpcs.xml
Daimona Eaytoy b3fb04b463 Directly use $wgTitle instead of relying on getContextTitle fallback
This is apparently the only code relying on the fallback. Since it seems to do this most of the time, use $wgTitle directly.

Bug: T176526
Change-Id: I9edc7c3cb7b0f2b024873b2f6fbdb8c275225854
2019-09-30 17:38:56 +00:00

10 lines
302 B
XML

<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgTitle" />
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />
<arg name="encoding" value="UTF-8" />
</ruleset>