We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df892f commit 0d1344cCopy full SHA for 0d1344c
src/Illuminate/Foundation/ComposerScripts.php
@@ -4,6 +4,7 @@
4
5
use Composer\Installer\PackageEvent;
6
use Composer\Script\Event;
7
+use Illuminate\Container\Container;
8
use Illuminate\Contracts\Console\Kernel;
9
10
class ComposerScripts
@@ -67,9 +68,10 @@ public static function prePackageUninstall(PackageEvent $event)
67
68
define('LARAVEL_START', microtime(true));
69
}
70
- /** @var Application $app */
71
- $app = require_once $bootstrapFile;
+ require_once $bootstrapFile;
72
73
+ /** @var Application $app */
74
+ $app = Container::getInstance();
75
$app->make(Kernel::class)->bootstrap();
76
77
/** @var \Composer\DependencyResolver\Operation\UninstallOperation $uninstallOperation */
0 commit comments