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

Add support for Doctrine ORM v3 and Doctrine DBAL v4 #121

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

Slamdunk
Copy link
Collaborator

@Slamdunk Slamdunk commented Feb 6, 2024

No description provided.

@Slamdunk Slamdunk added enhancement New feature or request BC BREAK This PR contains a BC break; major version should be incremented labels Feb 6, 2024
@Slamdunk Slamdunk added this to the 5.0.0 milestone Feb 6, 2024
@@ -77,14 +73,9 @@
'configuration' => 'orm_default', // Actually defaults to the entity manager config key, not hard-coded
],
],
'event_manager' => [
'orm_default' => [
'subscribers' => [],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doctrine ORM v.3 provides subscribing to events. Why are you going to drop support of the subscribers from the container?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I've been deceived by the removal of EventManager support from the Connection.
I've restored it, and moved the key usage from doctrine.connection to doctrine.entity_manager.

@Slamdunk
Copy link
Collaborator Author

Slamdunk commented Feb 9, 2024

Ok, I think we are good to go here. I've removed everything that's not supported anymore: if I missed something new, we can add it later in the next minor.

🚢

@Slamdunk Slamdunk merged commit f7d56b8 into Roave:5.0.x Feb 9, 2024
9 of 10 checks passed
@Slamdunk Slamdunk deleted the orm_v3 branch February 9, 2024 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BC BREAK This PR contains a BC break; major version should be incremented enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants