Use static::class instead of get_called_class()
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 25 Feb 2016 20:00:22 +0000 (20:00 +0000)
committerKrinkle <krinklemail@gmail.com>
Mon, 29 Feb 2016 22:43:58 +0000 (22:43 +0000)
commit46b04ec7ae8f7160ee9ac503a57dfad9cf78bc51
treeb8f82c9256090cdee40204e7e203600defa6e5b6
parentba9333f79f3cab96c0212dede46a7154941cd187
Use static::class instead of get_called_class()

Available as of PHP 5.5 and more idomatic. Foo::class (explicit),
self::class (defined), and static::class (late bound).

Change-Id: I66937f32095a4e4ecde94ca20a935a3c3efc9cee
includes/libs/GenericArrayObject.php
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/actions/ActionTest.php
tests/phpunit/languages/LanguageClassesTestCase.php