From 1be996433a2d4553bff0284ea01669f11e00644f Mon Sep 17 00:00:00 2001 From: DQNEO Date: Wed, 4 Apr 2018 01:26:41 +0900 Subject: [PATCH] make alias when new class does not exist --- Psr/Log/Test/LoggerInterfaceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Psr/Log/Test/LoggerInterfaceTest.php b/Psr/Log/Test/LoggerInterfaceTest.php index 48f106d..0d9433f 100644 --- a/Psr/Log/Test/LoggerInterfaceTest.php +++ b/Psr/Log/Test/LoggerInterfaceTest.php @@ -2,7 +2,7 @@ namespace Psr\Log\Test; -if (!class_exists('\\PHPUnit_Framework_TestCase', true)) { +if (!class_exists('\\PHPUnit\\Framework\\TestCase', true)) { class_alias('\\PHPUnit\\Framework\\TestCase', '\\PHPUnit_Framework_TestCase'); }