Upgrade File for 2.5

Added upgrade info for #9601, as this pr might break code which overwrites this method and also to respect symfony/symfony-docs#3439.