11 lines
440 B
PHP
11 lines
440 B
PHP
|
<?php
|
||
|
|
||
|
$loader = require __DIR__.'/../vendor/autoload.php';
|
||
|
$loader->add('MediaVorus', __DIR__ . '/src');
|
||
|
|
||
|
// PHPUnit 6 introduced a breaking change that
|
||
|
// removed PHPUnit_Framework_TestCase as a base class,
|
||
|
// and replaced it with \PHPUnit\Framework\TestCase
|
||
|
if (!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
|
||
|
class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
|
||
|
}
|