Issue #3028671 by Berdir: Add @trigger_error() to deprecated and already (almost) unused EntityManager methods