-
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
fix: always cleanup in AbstractHydrator::toIterable()
#11101
Conversation
Can we please add a test? |
0e5e318
to
aa4961e
Compare
@oleg-andreyev thank you. I have incorporated your test into the PR and cleaned it up. |
@derrabus psalm failures seems irrelevant |
@simPod you are targeting an unmaintained branch. |
Retargeted, please address the conflicts. |
done, thanks |
No more Psalm failures :) |
Please squash both commits and improve your commit message according to the contributing guide. |
While you're at it, please add the author of the test using a |
sure, done |
Previously it didn't cleanup anything as long as the iteration hasn't reached the final row. Co-authored-by: Oleg Andreyev <oleg.andreyev@lampa.lv>
Thank you! |
* 3.2.x: Using an integer as discriminator value with ORM v3 Using an integer as discriminator value with ORM v3 Bump ramsey/composer-install from 2 to 3 (#11442) Use ramsey/composer-install in PHPBench workflow (#11444) Bump doctrine/.github from 3.0.0 to 5.0.1 Upgrade codecov/codecov-action Setup Dependabot Make test compatible with PHP 7.1 Fix deprecation layer Remove unused test group Keep entities in identity map until the scheduled deletions are executed. Update association-mapping.rst fix: always cleanup in `AbstractHydrator::toIterable()` (#11101) Respect orderBy for EAGER fetch mode fix(docs): typo
Related to #6480
Closes #11419