-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Allow PHP 8 in 2.x #980
Allow PHP 8 in 2.x #980
Conversation
There is currently no version of |
does dbal 2 allow php? |
All versions of DBAL require php |
@greg0ire As dbal 2 is compatible with PHP8, is there anything blocking a version of migrations and migrations-bundle for php8? |
In theory no, good point! In practice, the build is currently broken, so I will get on to it when #1069 is resolved. |
@peterrehm actually, we depend on UPD: see Ocramius/ProxyManager#628 |
That hurdle is passed now, the next one is doctrine/orm#8303 |
@greg0ire hi! I'm happy to see that work is already in progress to have doctrine/migrations support PHP 8.0. doctrine/orm#8303 is merged now. Am I correct in assuming that a new version of doctrine/orm has to be released before doctrine/migrations can support PHP 8.0? Is there anything I can do to help? Thanks! |
Hi @nicwortel! You are correct.
As a matter of fact yes! In this list there are some packages that still use Travis CI. We are going to migrate them to Github Actions, which is a big undertaking, but in the meantime, if you want to add a build job for image If you do want to help with this, please try on one package first, get a review, and then if it gets merged, proceed with the other PRs. |
Sure! So if I understand you correctly, you're asking me to add Would you like me to try to immediately migrate from Travis CI to GitHub Actions in the same PRs (assuming it's doable and the PRs don't become too big) or would you prefer that to happen in separate PRs? |
You understood correctly what I was asking 🙂 |
any eta on this? |
@bpesch yes: it's the ETA of all the blockers + 1 day I suppose. |
It seems that only Ocramius/ProxyManager#628 left which blocks. If you need help, maybe I can try something ? |
@maxhelias thanks but as you pointed out, we are blocked, and we don't need help being blocked, we can do that ourselves 😄 |
This merge request is cancel ? |
Blocked is not cancelled. |
As was done in #1101, we can use the FriendsOfPHP/proxy-manager-lts package to unblock running on PHP 8. This allows generating proxies on PHP 8, as long as they only use 7.4 language features. Using PHP 8 features (e.g. union return types) will be possible once this is supported in the upstream package. I suggest using the LTS fork in 2.x as well. |
Replaced by #1102. |
Summary
We want to let downstream project experiment while we fix our issues if we have some. Failures are allowed for now, and should no longer be once feature freeze starts.