function Collector::testTriggeredPhpunitDeprecation
File
-
vendor/
phpunit/ phpunit/ src/ Runner/ TestResult/ Collector.php, line 419
Class
- Collector
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\TestRunner\TestResultCode
public function testTriggeredPhpunitDeprecation(PhpunitDeprecationTriggered $event) : void {
if (!isset($this->testTriggeredPhpunitDeprecationEvents[$event->test()
->id()])) {
$this->testTriggeredPhpunitDeprecationEvents[$event->test()
->id()] = [];
}
$this->testTriggeredPhpunitDeprecationEvents[$event->test()
->id()][] = $event;
}