see https://github.com/symfony/symfony/pull/9487/files#r7555746