Skip to content

Commit

Permalink
make alias when new class does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
DQNEO committed Apr 3, 2018
1 parent e2250cd commit 1be9964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Psr/Log/Test/LoggerInterfaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 1be9964

Please sign in to comment.