tweak how autoloaders are called. adjust phpunit bootstrap.
This commit is contained in:
@@ -10,7 +10,7 @@ define('LARAVEL_START', microtime(true));
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register The Composer Auto Loader
|
||||
| Register The Auto Loader
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Composer provides a convenient, automatically generated class loader
|
||||
@@ -20,23 +20,7 @@ define('LARAVEL_START', microtime(true));
|
||||
|
|
||||
*/
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register The Workbench Loaders
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The Laravel workbench provides a convenient place to develop packages
|
||||
| when working locally. However we will need to load in the Composer
|
||||
| auto-load files for the packages so that these can be used here.
|
||||
|
|
||||
*/
|
||||
|
||||
if (is_dir($workbench = __DIR__.'/../workbench'))
|
||||
{
|
||||
Illuminate\Workbench\Starter::start($workbench);
|
||||
}
|
||||
require __DIR__.'/../bootstrap/autoload.php';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user