Drupal/Tests/Core/Render/RendererTest has a few PHPStan failures like
$ignoreErrors[] = [
'message' => '#^Static call to instance method PHPUnit\\\\Framework\\\\TestCase\\:\\:exactly\\(\\)\\.$#',
'identifier' => 'method.staticCall',
'count' => 3,
'path' => __DIR__ . '/tests/Drupal/Tests/Core/Render/RendererTest.php',
];
that are reported when PHPStan runs with PHPUnit 11 in place.
Fix.
Active
11.0 🔥
phpunit