Due to PHP Bug #53727, is_subclass_of might return inconsistent results on some PHP versions if \Symfony\Contracts\Event...patcherInterface::class can be an interface. If so, you could instead use ReflectionClass::implementsInterface.
The type Gesdinet\JWTRefreshTokenBundle\Event\Event has been defined more than once; this definition is ignored, only the first definition in this file (L11-13) is considered.
This check looks for classes that have been defined more than once in the same file.
If you can, we would recommend to use standard object-oriented programming
techniques. For example, to avoid multiple types, it might make sense to create a
common interface, and then multiple, different implementations for that interface.
This also has the side-effect of providing you with better IDE auto-completion,
static analysis and also better OPCode caching from PHP.