mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-18 10:51:19 +02:00
make compatible to phpunit 6
This commit is contained in:
@@ -12,3 +12,9 @@
|
||||
date_default_timezone_set('UTC');
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
// B.C. for PSR Log's old inheritance
|
||||
// see https://github.com/php-fig/log/pull/52
|
||||
if (!class_exists('\\PHPUnit_Framework_TestCase', true)) {
|
||||
class_alias('\\PHPUnit\\Framework\\TestCase', '\\PHPUnit_Framework_TestCase');
|
||||
}
|
||||
|
Reference in New Issue
Block a user