Doctrine deps temporary fix (doctrine/DoctrineBundle#249)