Issue #3300773 by bradjones1, andypost, xjm, catch: Fix failed test on `symfony/http-foundation` 4.4.44/6.1.3 and later