This deprecation warning appears in symfony/browser-kit:4.3, which is installable via composer update on php 7.1+.
This dependency comes from behat/mink-browserkit-driver which comes from behat/mink-goutte-driver required by core. Mink browserkit requires symfony/browser-kit": "~2.3|~3.0|~4.0", and since core has no direct requirement for symfony/browser-kit, this becomes one of the few symfony components which can have the SF4 version installed via composer update.
We need to either suppress the deprecation warning for now, or restrict symfony/browser-kit to SF3 (as 4.2 would not receive security support past December 2019).
The actual fix needs to go into behat/mink-browserkit driver, which hasn't had a release or commit in 6 months, so I'm unsure of the long-term solution.