debug: Use __CLASS__ to get the name of the class
authorDerick Alangi <alangiderick@gmail.com>
Wed, 27 Mar 2019 11:35:40 +0000 (12:35 +0100)
committerKrinkle <krinklemail@gmail.com>
Sun, 7 Apr 2019 00:54:35 +0000 (00:54 +0000)
commitbca4196e7d8915cd12619f84602b07365d9c1a5c
treefcfc3f82b8f59d2d543c5902b173d40343af12e3
parent8a0f5676c92c486656b260c448c8e0284e5321ca
debug: Use __CLASS__ to get the name of the class

self::class would have been better here for consistency across
the code base but seems HHVM handles self::class diferrently from
PHP 7, when used inside a trait. The difference is significant to the
tests and thus we keep the result the same by using __CLASS__ instead.

Change-Id: I58b452341a0567f4d6e6636a7e489531a5569d20
includes/debug/DeprecationHelper.php