Skip to content
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

Merge release 2.0.7 into master #1127

Merged
merged 7 commits into from Jan 18, 2020

Conversation

doctrinebot
Copy link

Release 2.0.7

2.0.7

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 1

Improvement

greg0ire and others added 7 commits January 6, 2020 21:52
As a side effect, this makes the code a bit more forward-compatible with
recent versions of PHPUnit, that have that return type declaration on
setUp().
Add void return type declaration to tests
That means:

- methods in final classes
- final methods (none of those found)
- private methods
- methods in Tests (that excludes setUp(), tearDown() and test*, which
  are handled with an automated tool in a separate commit)
Add type declarations where backwards compatible
In some scenarios involving long running processes and proxies,
resetting the entity manager results in a creation of a new entity
manager, while some services still hold a reference to the old one,
which keeps its previous state.

This abandons resetting the entity manager in favor of a call to clear()
on the existing entity manager if it is open.

Fixes #1112
…kernel-reset

Fix desynchronized entity managers after kernel reset
* 1.12.x:
  Clear open entity managers on kernel reset
@alcaeus alcaeus merged commit 6926771 into master Jan 18, 2020
@alcaeus alcaeus deleted the 2.0.x-merge-up-into-master_5e22f41c5c0099.36134783 branch January 18, 2020 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants