Skip to content
Permalink
Browse files

Upgrade to Laravel 6

  • Loading branch information
lovett committed Nov 8, 2019
1 parent 1a5dcd2 commit e2e0936b773f143981315a16708d196c8a245d71
@@ -1,29 +1,32 @@
<?php
// phpcs:disable Squiz.Commenting.BlockComment.FirstLineIndent
// phpcs:disable Squiz.Commenting.BlockComment.LineIndent
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
|
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
|
*/
$app = new Illuminate\Foundation\Application(
dirname(__DIR__)
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
/*
|--------------------------------------------------------------------------
| Bind Important Interfaces
|--------------------------------------------------------------------------
|
| Next, we need to bind some important interfaces into the container so
| we will be able to resolve them when needed. The kernels serve the
| incoming requests to this application from both the web and CLI.
|
|--------------------------------------------------------------------------
| Bind Important Interfaces
|--------------------------------------------------------------------------
|
| Next, we need to bind some important interfaces into the container so
| we will be able to resolve them when needed. The kernels serve the
| incoming requests to this application from both the web and CLI.
|
*/
$app->singleton(
@@ -42,14 +45,14 @@
);
/*
|--------------------------------------------------------------------------
| Return The Application
|--------------------------------------------------------------------------
|
| This script returns the application instance. The instance is given to
| the calling script so we can separate the building of the instances
| from the actual running of the application and sending responses.
|
|--------------------------------------------------------------------------
| Return The Application
|--------------------------------------------------------------------------
|
| This script returns the application instance. The instance is given to
| the calling script so we can separate the building of the instances
| from the actual running of the application and sending responses.
|
*/
return $app;
@@ -19,6 +19,7 @@
"erusev/parsedown": "1.7.3",
"fideloper/proxy": "4.2.1",
"laravel/framework": "6.5.0",
"laravel/helpers": "1.1",
"laravel/tinker": "1.0.10",
"laravelcollective/html": "6.0.3"
},

Some generated files are not rendered by default. Learn more.

0 comments on commit e2e0936

Please sign in to comment.
You can’t perform that action at this time.