Skip to content

Commit

Permalink
Merge pull request #1 from hiqsol/master
Browse files Browse the repository at this point in the history
fixed template for bootstrap
  • Loading branch information
SilverFire committed Oct 13, 2017
2 parents f47b5b3 + 1a04194 commit 9d68edb
Showing 1 changed file with 2 additions and 26 deletions.
28 changes: 2 additions & 26 deletions src/views/phpunit/bootstrap.twig
Original file line number Diff line number Diff line change
@@ -1,29 +1,5 @@
<?php
/**
* PHPUnit plugin for HiDev.
*
* @link https://github.com/hiqdev/hidev-phpunit
* @package hidev-phpunit
* @license BSD-3-Clause
* @copyright Copyright (c) 2015-2017, HiQDev (http://hiqdev.com/)
*/
error_reporting(E_ALL & ~E_NOTICE);
error_reporting(E_ALL);
$bootstrap = __DIR__ . '/../src/_bootstrap.php';
require_once file_exists($bootstrap) ? $bootstrap : __DIR__ . '/../vendor/autoload.php';
/*
* Ensures compatibility with PHPUnit 6.x
*/
if (!class_exists('PHPUnit_Framework_Constraint') && class_exists('PHPUnit\Framework\Constraint\Constraint')) {
abstract class PHPUnit_Framework_Constraint extends \PHPUnit\Framework\Constraint\Constraint
{
}
}
if (!class_exists('PHPUnit_Framework_TestCase') && class_exists('PHPUnit\Framework\TestCase')) {
abstract class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase
{
}
}
require_once __DIR__ . '/../vendor/autoload.php';

0 comments on commit 9d68edb

Please sign in to comment.