Update Laravel to 5.4.18, also fixes potential fatal error on upgrade from old compiled files

This commit is contained in:
Dane Everitt 2017-04-13 23:04:23 -04:00
parent 9320c26b86
commit ca6a4327e9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 84 additions and 76 deletions

View file

@ -20,7 +20,7 @@
"guzzlehttp/guzzle": "6.2.3",
"igaster/laravel-theme": "1.14.0",
"laracasts/utilities": "2.1.0",
"laravel/framework": "5.4.16",
"laravel/framework": "5.4.18",
"laravel/tinker": "1.0.0",
"lord/laroute": "2.4.4",
"mtdowling/cron-expression": "1.2.0",
@ -53,6 +53,14 @@
}
},
"scripts": {
"pre-install-cmd": [
"php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"",
"php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\""
],
"pre-update-cmd": [
"php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"",
"php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\""
],
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],