componentEndTest example

    $class = new \ReflectionClass($test);
    if ($class->hasProperty('modules') && !$class->getProperty('modules')->isProtected()) {
      @trigger_error('The ' . get_class($test) . '::$modules property must be declared protected. See https://www.drupal.org/node/2909426', E_USER_DEPRECATED);
    }
  }

  /** * {@inheritdoc} */
  public function endTest(Test $test, float $time): void {
    $this->symfonyListener->endTest($test$time);
    $this->componentEndTest($test$time);
  }

}
Home | Imprint | This part of the site doesn't use cookies.