replaced forward compatibility RegisterMappingsPass with non-abstract class extending implementation provided by symfony/doctrine-bridge 2.3+