Use ::class in place of string constants
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 28 Mar 2016 18:53:04 +0000 (14:53 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 28 Mar 2016 18:53:45 +0000 (14:53 -0400)
commit6c0abf937a8e2fd42a2e8b3bc45ff5835042709a
tree2b1e3d21dc99c8821d1f1bfc3054d437c6a42714
parent6a5761e08c426769d08cdce1df3494387d29efa3
Use ::class in place of string constants

This takes advantage of namespacing, and avoids having
double-backslashes all over the place.

Change-Id: I450fe4e9b1c4cf4e24fced3932fe796cbbadf3a3
15 files changed:
includes/DefaultSettings.php
includes/user/BotPassword.php
tests/phpunit/includes/api/ApiLoginTest.php
tests/phpunit/includes/session/BotPasswordSessionProviderTest.php
tests/phpunit/includes/session/ImmutableSessionProviderWithCookieTest.php
tests/phpunit/includes/session/PHPSessionHandlerTest.php
tests/phpunit/includes/session/SessionBackendTest.php
tests/phpunit/includes/session/SessionInfoTest.php
tests/phpunit/includes/session/SessionManagerTest.php
tests/phpunit/includes/session/SessionProviderTest.php
tests/phpunit/includes/session/SessionTest.php
tests/phpunit/includes/session/TestUtils.php
tests/phpunit/includes/session/TokenTest.php
tests/phpunit/includes/user/BotPasswordTest.php
tests/phpunit/phpunit.php