1
0
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:
DQNEO
2018-04-02 00:54:21 +09:00
parent a3388569cd
commit 39f464bd58
6 changed files with 18 additions and 10 deletions

View File

@@ -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');
}