bootstrap.php 440 B

1234567891011
  1. <?php
  2. $loader = require __DIR__.'/../vendor/autoload.php';
  3. $loader->add('MediaVorus', __DIR__ . '/src');
  4. // PHPUnit 6 introduced a breaking change that
  5. // removed PHPUnit_Framework_TestCase as a base class,
  6. // and replaced it with \PHPUnit\Framework\TestCase
  7. if (!class_exists('\PHPUnit_Framework_TestCase') && class_exists('\PHPUnit\Framework\TestCase')) {
  8. class_alias('\PHPUnit\Framework\TestCase', '\PHPUnit_Framework_TestCase');
  9. }