Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Closed
Labels
Description
Latest Doctrine versions are removing features that we use on Symfony Docs. We should double check everything, remove no longer relevant docs and provide alternatives when possible:
Changes already included in Doctrine 2.x
(we can already make these changes in Symfony Docs)
- Removed support for entity namespace aliases:
App:Userno longer works, useUser::classorApp\Entity\User:doctrine/orm@63cb801 - Removed support for same-namespace class resolution. Now you must use
::classin annotations:doctrine/orm@cd590f2/**- @ORM\ManyToOne(targetEntity="NotifyChangedEntity", inversedBy="items") */+ @ORM\ManyToOne(targetEntity=NotifyChangedEntity::class, inversedBy="items")*/
- Removed support for named queries:doctrine/orm@e6557cb
- Removed
EntityManager::copy:doctrine/orm@c4eb2b0 - Removed reverse engineering (
convert:mapping) and entity generation (generate:entity):doctrine/orm@e4ce75a
Changes planned for the upcoming Doctrine 3.x
(please don't make any of these changes until Doctrine 3 is released)
- Removed the YAML metadata driver: you can no longer define the entity using YAML. Only XML and annotations.doctrine/orm@bc0c098
- Removed
EntityManager::detach:doctrine/orm@df397e1 - Removed PDO dependency: the support of
PDO::PARAM_*,PDO::FETCH_*,PDO::CASE_*andPDO::PARAM_INPUT_OUTPUTconstants in the DBAL API is removed. \Doctrine\DBAL\Driver\PDOStatement does not extend \PDOStatement anymore:Remove hard dependency on PDO doctrine/dbal#2958