Skip to content

Commit

Permalink
Force load
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmccreary committed Jul 29, 2023
1 parent 9591760 commit 8f800fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ public function boot(): void
*/
public function register(): void
{
spl_autoload_register(function ($class) {
var_dump(count(spl_autoload_functions()));
var_dump($class);
});

$this->app->singleton(TaskManifest::class, function () {
return new TaskManifest(Env::get('COMPOSER_VENDOR_DIR') ?: getcwd() . '/vendor');
});
Expand Down
4 changes: 4 additions & 0 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
Illuminate\Foundation\Exceptions\Handler::class
);

if (isset($GLOBALS['_composer_autoload_path'])) {
require_once $GLOBALS['_composer_autoload_path'];
}

/*
|--------------------------------------------------------------------------
| Return The Application
Expand Down
Binary file modified builds/shift-cli
Binary file not shown.

0 comments on commit 8f800fe

Please sign in to comment.