-
Notifications
You must be signed in to change notification settings - Fork 478
Revert changing method signatures #619
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
Conversation
@julesgraus .. are you cool with this? |
Yup |
Should I apply my changes on a v7 branch if they are reverted for v6? Or how would you want to proceed? |
So @julesgraus @ysfks .. do you think I'm good to tag 6.1.0 ? or 6.0.6 ? (votes please!) I think dropping PHP versions is maybe good reason to go to 6.1.0 (or does that not count as a 'feature' ? :) ) |
Let's get this next version out first, then see where we are. I feel like a new major version should be a @lazychaser thing.. ? |
Also, should we be testing against PHP 8.3 and 8.4 ? @ysfks @julesgraus |
@jonnott I'm in favor of |
But what about the fact we're dropping support for some PHP versions too? |
SemVer doesn't care about the environment, only about the codes functionality, so IMO you should look at that isolated:
So
If we would talk about adding support for a Major PHP-version, we could argue creating a Minor or even Major release "feels" right. However, it's never needed as explained by the doctrine-project, as the package manager will resolve this correctly, therefore apps with an environment < 8.0 will simply not get the new release.
composer.json defines |
The tests fail for PHP 8.0 (composer is unable to install a compatible set of dependencies), so should probably bump this to ^8.1 for the 6.0.6 release do you think @kohlerdominik ? |
Looks like for some reason I can't understand |
@ysfks Looking at v6.0.5...v6 it doesn't appear to me that every single method signature change has been reverted. Are you happy that these few methods appearing in that diff are ok i.e. non-breaking changes? |
@jonnott I checked it and couldn't see anything related to that. Can you show me which ones are left untouched/non-reverted? I see only two methods affected in the logs and they are necessary changes for 8.4 |
@ysfks As long as you are happy that these method changes can go into the next v6.0.6 release without causing any issues with PHP versions (i.e. deprecation warnings) or BC breaks, then we're all good.. |
This PR reverts changing method signatures in #607 and was tasked by @kohlerdominik
After merging this PR, the v6-branch should be in state to allow a new patch-release, as the breaking changes were reverted.