[TASK] Doctrine: Migrate QueryGenerator