Issue #2637432 by heykarthikwithu: Replace the entity manager with the entity type manager in MigrationGroup.php and remove unused imports