Hacker News new | ask | show | jobs
by jentulman 5000 days ago
3) In this specific case we're reliant on Doctrine to read Doctrine annotations because we're already reliant on Doctrine to be Doctrine. Possibly relevant if the annotation reader was purely collecting metadata it did not use itself.
1 comments

Not necessarily. Several Symfony components rely on doctrine/common simply for parsing annotations, even if you are not using Doctrine for anything else.
Oh okay. I'd never noticed that because I've always got doctrine in use anyway. /me wanders off to look more closely at the components.
Witch clearly proves that is a bad idea because it injects a dependency on some other lib