For PHPUnit 9, where a test-case class does not contain any test methods, the following warning is triggered:
Warning: Undefined array key 1 in /myaffiliates/test/ZBan/vendor/ergebnis/phpunit-slow-test-detector/src/Extension.php on line 374
In this situation, PHPUnit will call ::executeAfterTest with $test containing only the class name. This extension assumes there will always be a method appended after the class name, and so the warning is triggered when exploding the string on ::.