enabled doctrine service definition check in compiler pass