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:
Ingo Schommer 2012-08-09 11:51:17 +02:00
parent 186d95c84b
commit 68855a209a

View File

@ -1,6 +1,6 @@
<?php <?php
require_once 'PHPUnit/Framework/TestResult.php'; if(!class_exists('PHPUnit_Framework_TestResult', false)) require_once 'PHPUnit/Framework/TestResult.php';
require_once 'PHPUnit/Framework/TestListener.php'; if(!class_exists('PHPUnit_Framework_TestListener', false)) require_once 'PHPUnit/Framework/TestListener.php';
/**#@+ /**#@+
* @var int * @var int