-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[2.9] Drop support for: Laravel 6, Laravel 7, PHP 7.2 and add doctrine/dbal ^3 #1114
Conversation
exclude: | ||
- laravel: 8.* | ||
php: 7.2 | ||
php: [8.0, 7.4, 7.3] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding 8.0
here is actually a bug fix, it was forgotten in #1106
- php: 8.0 | ||
dependency-version: prefer-lowest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still can't get rid of it, this still breaks with dbal
So should we go ahead with this now? Or are there still issues you want to handle before 2.9? |
@barryvdh I would wait "a bit" (like, next week maybe?) to gauge any possible breakers. I also want to ping all the people having the Laravel 8 problems which should also be fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. I tried this branch in our project, everything is working great.
"phpunit/phpunit": "^8.5 || ^9", | ||
"spatie/phpunit-snapshot-assertions": "^1.4 || ^2.2 || ^3 || ^4", | ||
"spatie/phpunit-snapshot-assertions": "^3 || ^4", | ||
"vimeo/psalm": "^3.12" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"vimeo/psalm": "^3.12" => ^3.12 || ^4.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll postpone such changes, it's not focus of this PR.
Rather, I prefer to get rid of it from require-dev, as it doesn't need to be a source dependency, it's just tooling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
They don't apply anymore, we're Laravel 8+ only from now on
Oke please test this version on your project, I will tag a new release if okay. |
Tested and working as expected across a few projects I maintain. Thanks for everyone's work on this! |
Tested on a project with dbal 2.12.1 and then also upgraded to dbal 3.0 and generating model phpdoc worked without issues |
Alrighty, tagged 2.9.0 🎉 |
Summary
Based on the discussion around #1094 (comment)
❗ BLOCKED UNTIL A NEW 2.8 RELEASE WAS MADE AND SOME TIME PASSED (like, a week) ❗some Laravel framework version checks in the tests are now be able to be removed
I have not checked in detail, but judging by https://github.com/barryvdh/laravel-ide-helper/blob/db53e8e2b5868fb05019ae20e727be24831b46d8/README.md#auto-completion-for-factory-builders
we might be able to remove that part => will be a separate PR anyway, let's keep this one as minimal as possible
Type of change
Checklist
composer fix-style