mirror of
https://github.com/filp/whoops.git
synced 2026-09-20 15:16:46 +00:00
Allow running local phpunit
This commit is contained in:
+4
-1
@@ -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__);
|
||||
|
||||
Reference in New Issue
Block a user