updated with new doctrine-cache-detector