Issue #2726645 by klausi: Do not @deprecate EntityManager until all usages are removed (helps the Symfony 3 update)