adjusting to https://github.com/symfony/symfony/pull/7755