Run Rector on your code to see what it can do for you:

 namespace Incert\Common\Auth2FA\Model;
 
 use Doctrine\ORM\Mapping as ORM;
-use Incert\Common\Auth2FA\Enum\Auth2FATypeEnum;
 use Incert\Common\Auth2FA\Interfaces\Auth2FATypeInterface;
 
 /**
PHP snippet to change
Config  rector.php
Rector version: 9c946a - released at 2026-09-03 13:36