Update artisan from upstream

This commit is contained in:
Sebastian Schmidt 2018-09-14 19:17:54 +10:00
parent d58672cc41
commit f7c5a97b98
1 changed files with 7 additions and 5 deletions

12
artisan
View File

@ -1,6 +1,8 @@
#!/usr/bin/env php #!/usr/bin/env php
<?php <?php
define('LARAVEL_START', microtime(true));
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| Register The Auto Loader | Register The Auto Loader
@ -13,7 +15,7 @@
| |
*/ */
require __DIR__.'/bootstrap/autoload.php'; require __DIR__.'/vendor/autoload.php';
$app = require_once __DIR__.'/bootstrap/app.php'; $app = require_once __DIR__.'/bootstrap/app.php';
@ -28,11 +30,11 @@ $app = require_once __DIR__.'/bootstrap/app.php';
| |
*/ */
$kernel = $app->make('Illuminate\Contracts\Console\Kernel'); $kernel = $app->make(Illuminate\Contracts\Console\Kernel::class);
$status = $kernel->handle( $status = $kernel->handle(
$input = new Symfony\Component\Console\Input\ArgvInput, $input = new Symfony\Component\Console\Input\ArgvInput,
new Symfony\Component\Console\Output\ConsoleOutput new Symfony\Component\Console\Output\ConsoleOutput
); );
/* /*
@ -40,7 +42,7 @@ $status = $kernel->handle(
| Shutdown The Application | Shutdown The Application
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
| |
| Once Artisan has finished running. We will fire off the shutdown events | Once Artisan has finished running, we will fire off the shutdown events
| so that any final work may be done by the application before we shut | so that any final work may be done by the application before we shut
| down the process. This is the last thing to happen to the request. | down the process. This is the last thing to happen to the request.
| |