-
-
Notifications
You must be signed in to change notification settings - Fork 468
Remove .class parameters #2050
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
Remove .class parameters #2050
Conversation
Also, I've been told by @ostrolucky that it was controversial for some reason. Looking myself at the history of the issues on this repository, I think the controversy has to do with the Symfony bridge not doing the migration on their end. See #1084 if you want to go down the rabbit hole of PRs and issues. Because of that, I'll ask reviews from people more on the Symfony side this time. It's fine by me if this needs to be postponed to 4.0.0. |
8ab5fb3
to
d8e3a36
Compare
|
||
$definition = $container->getDefinition('doctrine.orm.default_entity_manager'); | ||
$this->assertEquals('%doctrine.orm.entity_manager.class%', $definition->getClass()); | ||
$this->assertEquals('Doctrine\ORM\EntityManager', $definition->getClass()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$this->assertEquals('Doctrine\ORM\EntityManager', $definition->getClass()); | |
$this->assertEquals(EntityManager::class, $definition->getClass()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, addressed!
|
||
$definition = $container->getDefinition('doctrine.orm.default_entity_manager'); | ||
$this->assertEquals('%doctrine.orm.entity_manager.class%', $definition->getClass()); | ||
$this->assertEquals('Doctrine\ORM\EntityManager', $definition->getClass()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here and below also
d8e3a36
to
3d9aa7e
Compare
Such parameters are supposed to be deprecated.
3d9aa7e
to
25efc53
Compare
Such parameters are supposed to be deprecated.