Conversation
|
ℹ️ Shift noticed you have additional namespaces in your application. You may use the Consolidate Namespaces Shift to simplify your namespaces into the default Laravel |
|
ℹ️ 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 using the Shift Workbench. |
|
❌ Laravel 8 condenses the |
|
|
|
ℹ️ Laravel 8 introduced class based factories. Shift automated this change. However, if you were using a community package for factories or other custom code, you should review your factories for additional changes. If you encounter an issue, you may revert this commit and temporarily install the laravel/legacy-factories package. You may then automate the conversion to class based factories using the Shift Workbench. |
|
ℹ️ Laravel 8 added a If your application is currently using the php artisan make:migration AddUuidToFailedJobsTableThen copy and paste the contents from Shift's |
|
ℹ️ Laravel 8 added a new ENV variable of |
|
You should review this commit for any additional customizations. If you have a lot of customizations, you may wish to undo this commit with |
|
ℹ️ 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. |
|
|
|
\Illuminate\Pagination\Paginator::useBootstrap(); |
|
🎉 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. |
1ee54d5 to
3a0010d
Compare
|
@librenms/reviewers Need help testing this |
|
Testing went fine here. I'll test the update next. |
6f8dcbf to
1215680
Compare
In an effort to make upgrading the constantly changing config files easier, Shift defaulted them. This allows you to review the commit diff for once for customizations when you are done Shifting. Moving forward, consider using ENV variables or create a separate config file to allow the core config files to remain as default as possible.
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type: - `setUpBeforeClass()` - `setUp()` - `assertPreConditions()` - `assertPostConditions()` - `tearDown()` - `tearDownAfterClass()` - `onNotSuccessfulTest()` [1]: https://phpunit.de/announcements/phpunit-8.html
1215680 to
bbeafd3
Compare
bbeafd3 to
ce5a972
Compare
|
This pull request has been mentioned on LibreNMS Community. There might be relevant details there: https://community.librenms.org/t/v1-69-release-changelog-november-2020/14124/1 |
This pull request includes the changes for upgrading to Laravel 8.x. Feel free to commit any additional changes to the
shift-35189branch.Before merging, you need to:
shift-35189branchcomposer 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.