See https://github.com/symfony/symfony/pull/24242. Check if this needs to be deprecated/removed in the docs too.