see https://github.com/symfony/symfony/pull/9450#discussion_r7456060