function PhpUnitTestDiscovery::getWarnings

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Test/PhpUnitTestDiscovery.php \Drupal\Core\Test\PhpUnitTestDiscovery::getWarnings()

Returns the warnings generated during the discovery.

Return value

list<string> The warnings.

File

core/lib/Drupal/Core/Test/PhpUnitTestDiscovery.php, line 209

Class

PhpUnitTestDiscovery
Discovers available tests using the PHPUnit API.

Namespace

Drupal\Core\Test

Code

public function getWarnings() : array {
  return $this->warnings;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.