-
Notifications
You must be signed in to change notification settings - Fork 439
Add PHP8 to CI builds #1116
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
Add PHP8 to CI builds #1116
Conversation
Trying to get PHP8 compatibility started.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello guys, could someone explain me the process of migration to php8? As far as I understand the main problem is phpunit update (from v7 to v9) as it's not backward compatible? So this enqueue package in order to support php8 should have a new branch with different php version requirements I suppose? Is there any branch where I can join to help migrate to php8? Because I just cloned this repository, but I can't just add a php^8 to composer.json and update travis.yml as all previous builds will fail because of new phpunit version (as you can see in this pull request). Would be really nice to have some guidance/roadmap from maintainers with list of steps to accomplish in order to migrate to php8, I see it like this:
is this sounds as a plan or am I missing something? |
@svbackend in general yes, it boils down to updating phpunit dependency and checking if the codebase of library itself doesn't have any issues with PHP8 syntax. One point I need to make though - this library will still need to maintain PHP7 compatibility for some time, at least until PHP 7.4 reaches it's end of life I suppose. This pretty much means that PHP8-specific syntax should not be used, as it will break compatibility with PHP7. |
@Steveb-p ok, thanks, sounds clear, I will create a new PR within a week to get process started |
Anyone plans to do something here? It seems to me this PR died. |
Then i think this PR could be closed then? Are you planning to also update related repos like https://github.com/php-enqueue/sns ? |
I guess so
It's main/monorepo, as far as I understand my changes here would be automatically applied to all other repositories for specific transports, so yes, sns also in that list |
I can close this given that #1121 is progressing better. I haven't had much time to dedicate to this sorry. |
Trying to get PHP8 compatibility started. This is likely wrong and broken, but need to start somewhere.
Refs #1108