mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Missing annotations with the latest Composer version #5375
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pascalporedda on GitHub (Jan 4, 2017).
Originally assigned to: @lcobucci on GitHub.
Hey there,
since the latest Composer version (1.3) we have experienced some strange issues with our Symfony projects. Since then the composer ClassLoader is not able to find the Doctrine Annotations if we prefixed the use statement with a backslash eg.:
use \Doctrine\ORM\Mapping as ORM;Composer does not trim the first backslash with the latest version anymore. I had posted this issue in the composer repository here: https://github.com/composer/composer/issues/6038
According to one of the members of the repository this isn't an issue with composer itself but with the way doctrine handles its annotations. I would appreciate an answer on how to get along with this issue.
If you need further information, I will try to give you as much insight as I can.