-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Update UPGRADE-3.0 with Voter::voteOnAttribute() #18376
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
Instructions showed that `AbstractVoter::isGranted()` had been replaced by `AbstractVoter::voteOnAttribute()`. Since AbstractVoter is removed it should be Voter::voteOnAttribute()
Ok I will try to do that next week. Currently I don't have much time. |
ping @xabbuh |
If the Symfony remote name is $ git fetch upstream
$ git cherry-pick 437398d6d03c86552777fdb8ed97c0f9c6cecbd5 |
I just noticed that you might run into conflicts when doing so. So maybe it's easier to simply copy the missing text to your PR instead. |
@xabbuh I checked the PR but I don't see any missing text? The text in my PR seems to match https://github.com/symfony/symfony/pull/16035/files#diff-0901ceb76939b17cd920bc69aa52d21fR728 |
@xabbuh Thank you. I think I can close this PR? |
@eriwin Sorry, I sadly didn't find a way to keep your contribution. :( Though thank you very much for pointing us to these inconcistencies in our upgrade instructions. It's much appreciated! |
@xabbuh for the future, you can change the author of a commit using the |
The instructions show that
AbstractVoter::isGranted()
has been replaced byAbstractVoter::voteOnAttribute()
. Since AbstractVoter is removed it should be Voter::voteOnAttribute()