spatie / blender

The Laravel template used for our CMS like projects
https://freek.dev/on-open-sourcing-blender
877 stars 148 forks source link

Laravel 5.5 Shift #403

Closed freekmurze closed 7 years ago

freekmurze 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-4207 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.

freekmurze commented 7 years ago

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

freekmurze commented 7 years ago

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

freekmurze 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.

freekmurze 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.

freekmurze 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:

freekmurze 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:

freekmurze 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.

freekmurze commented 7 years ago

❌ Laravel 5.5 requires version ~2.0 of the filp/whoops package. You have a modified development dependency for filp/whoops in your composer.json. Ensure it meets the new version requirement of ~2.0.

freekmurze 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.

freekmurze 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.

freekmurze 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 upgrade your application accordingly.

freekmurze 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.

freekmurze commented 7 years ago

ℹ Laravel 5.5 uses package auto-discovery to make it easier to install and enable packages. This may require you to update Composer. You may do so by running composer self-update. Review the Composer documentation for more details.

freekmurze 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.

freekmurze 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: