Clean up remaining get_class() uses
authorTimo Tijhof <krinklemail@gmail.com>
Tue, 7 Mar 2017 02:14:14 +0000 (18:14 -0800)
committerReedy <reedy@wikimedia.org>
Tue, 7 Mar 2017 22:03:47 +0000 (22:03 +0000)
commit3a2a707546344574c33f7ad7cbff46bfa2b74443
tree13f5e988d17040ffe51e16de9990bc38ab1fed56
parent486a6c388582638ae7f493dafc7016e4b2b2e07e
Clean up remaining get_class() uses

* get_class()        -> __CLASS__ (same as self::class)
* get_called_class() -> static::class
* get_class($this)   -> static::class

Change-Id: I1888a1897ecf4548a2e5a67a942e5c080dd7e3d3
20 files changed:
includes/collation/IcuCollation.php
includes/context/ContextSource.php
includes/exception/MWException.php
includes/htmlform/HTMLFormField.php
includes/htmlform/fields/HTMLCheckMatrix.php
includes/htmlform/fields/HTMLFormFieldCloner.php
includes/installer/WebInstallerPage.php
includes/jobqueue/JobSpecification.php
includes/media/TransformationalImageHandler.php
includes/pager/IndexPager.php
includes/session/SessionProvider.php
includes/skins/Skin.php
includes/skins/SkinTemplate.php
includes/specialpage/QueryPage.php
includes/specialpage/RedirectSpecialPage.php
includes/tidy/TidyDriverBase.php
languages/Language.php
languages/LanguageConverter.php
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/api/ApiTestCase.php