function PhpUnitTestDiscovery::getWarnings

Returns the warnings generated during the discovery.

Return value

list<string> The warnings.

File

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

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.