public function testTriggeredPhpunitDeprecation(PhpunitDeprecationTriggered $event) : void { if (!$event->test() ->isTestMethod()) { return; } $this->updateTestStatus(TestStatus::deprecation()); }