-
Notifications
You must be signed in to change notification settings - Fork 102
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
Prepare v2.0.x development branch for php 8 #232
Conversation
Hi @jaapio. Log have expired, what is needed to add php8 support ? :) |
at least the php requirement in the composer.json file needs to be updated. And I'm looking forward to this change in this lib, as it's somehow blocking a full PHP8 update in other projects when it's punned to php7 only |
Retriggered the CI pipeline, logs should be available soon. I don't remember where I got stuck. But I think it was because of missing dependencies. |
Triggered the CI and updated our composer.json to allow for PHP 8. Looks like a lot of dependencies need to be updated to newer versions or to support PHP 8 |
Moved a few steps forward. But maybe we need to split this or to make it easier for review. deprecations in php8 unittests are fixed in bovigo/callmap#22 so we need to wait for that as well. |
c56b15a
to
6719eb5
Compare
ce860f1
to
e970bd5
Compare
Build should be green by now. I would like to get some reviews and feedback. |
It's not fully related to this PR but the |
@@ -10,10 +10,11 @@ jobs: | |||
tests: | |||
name: PHP ${{ matrix.php-versions }} on ${{ matrix.os }} w/ ${{ matrix.dependencies }} | |||
runs-on: ${{ matrix.os }} | |||
continue-on-error: ${{ matrix.php-versions == '8.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.
You can remove this.
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.
Looks great. Nice work. Looks like there's one small change that shouldn't have happened, but everything else looks good to me.
I disagree. To quote one of the authors of Composer: The lock file exists to be commited! |
composer/composer#2461 (comment) When you're working on a team project it should be committed I agree. But when it's a library you release, not commiting the composer.lock ensure the Ci to always work with the latest version and detect possible regressions. Here, it's not the case since the composer.lock is commited and the ci runs "composer install" |
We do have a work around please check the ci pipeline. You will see that the dependencies are updated in some steps |
Indeed, my bad. |
Upgrade doctrine coding-stanard to be compatible with php8.
bfcac3d
to
7b58668
Compare
Thanks for this work. Does a release is planned ? :) |
I just opened a discussion to check with the other maintainers if we are waiting for something. But I don't expect anything urgent. Hopefully, we can release this year :-) |
Any news @jaapio ? :) |
Fellow maintainer for vfsStream here 👋 Am I missing something? The latest release for vfsStream is 1.6.8 which has a PHP requirement of |
No description provided.