Issue #3179013 by alexpott, andypost: EntityRouteEnhancerTest has a meaningless assertion that breaks in PHP 8