-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
DependencyFactory::getEventDispatcher triggers a deprecation #1348
Comments
Deprecate calling |
Seems like |
Yes, but that'll only work if you have an entity manager. You can use migrations with a connection only. |
|
DoctrineCommand is doing |
To be compatible with CLI commands, we might need a concept of an event manager loader instead of passing directly an event manager. |
Bug Report
Summary
DependencyFactory::getEventDispatcher
is implemented this way:but
Connection::getEventManager
is deprecated by dbal since doctrine/dbal#5784Not sure how to fix this @greg0ire @derrabus
The text was updated successfully, but these errors were encountered: