mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Guard against double inclusion of phpunit
While a hack, it fixes problems with our build infrastructure, specifically i18nTextCollectorTask complaining about double class definition.
This commit is contained in:
parent
186d95c84b
commit
68855a209a
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
require_once 'PHPUnit/Framework/TestResult.php';
|
||||
require_once 'PHPUnit/Framework/TestListener.php';
|
||||
if(!class_exists('PHPUnit_Framework_TestResult', false)) require_once 'PHPUnit/Framework/TestResult.php';
|
||||
if(!class_exists('PHPUnit_Framework_TestListener', false)) require_once 'PHPUnit/Framework/TestListener.php';
|
||||
|
||||
/**#@+
|
||||
* @var int
|
||||
|
Loading…
Reference in New Issue
Block a user