Allow running local phpunit

This commit is contained in:
Denis Sokolov
2015-12-12 21:59:09 +02:00
committed by Denis
parent 1bcf660e31
commit 443868a1c3
+4 -1
View File
@@ -6,5 +6,8 @@
* Bootstraper for PHPUnit tests.
*/
error_reporting(E_ALL | E_STRICT);
$loader = require_once __DIR__ . '/../vendor/autoload.php';
// Can be required more than once to allow running
// phpunit installed with Composer
// http://stackoverflow.com/a/12798022
$loader = require __DIR__ . '/../vendor/autoload.php';
$loader->add('Whoops\\', __DIR__);