-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
spl_object_hash()
vs spl_object_id()
#9141
Labels
Comments
Hi! Can you please link to the failing tests? |
Sure!
UPDATE 2: with an ugly fix to call |
Great job! Since you are not stuck, I think it's fine not to revert this, and to document the minor BC-break. |
greg0ire
added a commit
to greg0ire/doctrine-orm
that referenced
this issue
Oct 21, 2021
Merged
derrabus
pushed a commit
that referenced
this issue
Oct 30, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BC Break Report
Summary
After #8837, there are some UoW methods that the parameter has changed:
orm/lib/Doctrine/ORM/UnitOfWork.php
Lines 3243 to 3254 in 81d472f
orm/lib/Doctrine/ORM/UnitOfWork.php
Lines 3025 to 3040 in 81d472f
Because the OID is different, at first I thought they were internal, but apparently it is some kind of internal notes.
Previous behavior
Before this, for calling these method you should generate the oid with
spl_object_hash()
Current behavior
Now that oid is not valid anymore.
How to reproduce
Tests started to fail in https://github.com/doctrine-extensions/DoctrineExtensions
The text was updated successfully, but these errors were encountered: