New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Laravel 8.x Shift #199
Laravel 8.x Shift #199
Conversation
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions. You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started. [1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer [2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used.
ℹ️ Laravel 8 streamlined the Exception Handler into a single While this change is not required, Shift recommends comparing yours against the Laravel 8.x version as an opportunity to reduce code and be fully up-to-date. |
ℹ️ The You may automate the conversion to static class references by running the Class Based Routes task within Shift Workbench or running the Laravel Fixer. |
ℹ️ Laravel 8 added a If your application is currently using the php artisan make:migration AddUuidToFailedJobsTable Then copy and paste the contents from Shift's |
ℹ️ Laravel 8 added a new ENV variable of |
You should review this commit for additional customizations or opportunities to use new |
ℹ️ Shift updated your dependencies for Laravel 8. While many of the popular packages are reviewed, you may have to update additional packages in order for your application to be compatible with Laravel 8. Watch dealing with dependencies for tips on handling package incompatibilities. |
❌ Shift detected Vue components within your You should update your mix.js('resources/js/app.js', 'public/js').vue(); |
If you encounter any issues, be sure you have the latest LTS or stable version of Node installed. If the problem persists, review the Update to Mix 6 docs for any additional steps. |
|
ℹ️ Laravel 8 reintroduced the If you wish to modernize your application to use the |
ℹ️ Laravel 8 supports running your PHPUnit tests in parallel. Depending on your system, this may decrease run times as much as 70%. To run your tests in parallel, you may use the |
🎉 Congratulations, you're now running the latest version of Laravel. The following Shifts may be used ensure your application is fully upgraded and easier to maintain in the future:
You may run these Shifts and stay upgraded forever as well by subscribing to a Shifty Plans. |
Shift to Laravel 8
Also removes Travis annotations
Laravel Shift v8 Syntax updates
So I was reading up on moving the models to a models directory and it seems pretty much like you just need to move it and change the namespace. Do you know if the CI will handle the dump-autoload command? |
Yep, because the CI runs composer install and that triggers a dump auto load :) |
This pull request includes the changes for upgrading to Laravel 8.x. Feel free to commit any additional changes to the
shift-44295
branch.Before merging, you need to:
shift-44295
branchcomposer update
(if the scripts fail, add--no-scripts
)If you need help with your upgrade, check out the Human Shifts. You may also join the Shifty Coders Slack workspace to level-up your Laravel skills.