sebastiandedeyne / v1.sebastiandedeyne.com

My personal website
https://sebastiandedeyne.com
60 stars 19 forks source link

Laravel 5.5 Shift #48

Closed sebastiandedeyne closed 7 years ago

sebastiandedeyne commented 7 years ago

This pull request includes the changes for upgrading to Laravel 5.5. Feel free to commit any additional changes to the shift-4070 branch.

Before merging, you should:

If you would like more help with your upgrade, check out the human services from Laravel Shift. If you need to level-up your Git skills, check out Getting Git.

sebastiandedeyne commented 7 years ago

⚠ Laravel 5.5 streamlined the Exception Handler. Shift was not upgrade your app/Exceptions/Handler.php. You should compare yours against the Laravel 5.5 version and merge these changes manually.

sebastiandedeyne commented 7 years ago

ℹ In Laravel 5.5, the Request has() method returns true for empty strings and null. If you would like to preserve the old behavior of the has() method, you may use the new filled() method instead.

sebastiandedeyne commented 7 years ago

ℹ In Laravel 5.5, the Request only() method returns attributes that are actually present in the request payload. If you would like to preserve the old behavior of the only() method, you may use the all() method instead.

sebastiandedeyne commented 7 years ago

❌ Shift could not upgrade the following project files since they differed from the default Laravel version. You will need to compare these project files against the default Laravel 5.5 versions and merge any changes:

sebastiandedeyne commented 7 years ago

❌ Shift could not upgrade the following configuration files since they differed from the default Laravel version. You will need to compare these configuration files against the Laravel 5.5 configuration files and merge any changes:

sebastiandedeyne commented 7 years ago

❌ Laravel 5.5 requires PHP 7. You have a modified dependency for PHP in your composer.json. Ensure it meets the new version requirement of >=7.0.0.

sebastiandedeyne commented 7 years ago

❌ Laravel 5.5 has a development dependency for phpunit/phpunit of ~6.0. You have a modified dependency for phpunit/phpunit in your composer.json. Ensure it meets the new version requirement of ~6.0.

sebastiandedeyne commented 7 years ago

ℹ Laravel 5.5 changed the default format for HTTP exception responses. This may affect your application if you rely upon default JSON responses. Review the Exception Format section of the Upgrade Guide for more detail.

sebastiandedeyne commented 7 years ago

ℹ Laravel 5.5 removed bootstrap/autoload.php and uses the Composer vendor/autoload.php instead. If you were referencing bootstrap/autoload.php directly, you should update your application accordingly.

sebastiandedeyne commented 7 years ago

ℹ If you are using the database cache driver, you should run php artisan cache:clear when running your upgraded Laravel 5.5 application for the first time.

sebastiandedeyne commented 7 years ago

⚠ Shift set the version of the laravel/framework package to dev-master. You should change this to 5.5.* and run composer update once Laravel 5.5 is officially released.

sebastiandedeyne commented 7 years ago

ℹ If you have manually upgraded your app from previous versions of Laravel, you should run the Laravel Linter to ensure your app is fully upgraded to the latest version of Laravel.

sebastiandedeyne commented 7 years ago

❌ PHP syntax errors were detected after running your Shift. Often these are misplaced lines due to an unexpected code format.

I found PHP syntax errors in:

sebastiandedeyne commented 7 years ago
sebastiandedeyne commented 7 years ago