$this->expectDeprecation('Drupal\\Tests\\Core\\Test\\StubTestSuiteBase is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10. See https://www.drupal.org/node/3405829');
// Set up the file system.
$vfs=vfsStream::setup('root');
vfsStream::create($filesystem,$vfs);
@@ -118,6 +126,8 @@ public function testLocalTimeZone() {
*
* We use this class to alter the behavior of TestSuiteBase so it can be
* testable.
*
* @phpstan-ignore-next-line
*/
classStubTestSuiteBaseextendsTestSuiteBase{
@@ -128,6 +138,12 @@ class StubTestSuiteBase extends TestSuiteBase {
*/
public$testFiles=[];
publicfunction__construct(string$name){
@trigger_error(__CLASS__.' is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10. See https://www.drupal.org/node/3405829',E_USER_DEPRECATED);
@trigger_error('\Drupal\Tests\TestSuites\BuildTestSuite is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10. See https://www.drupal.org/node/3405829',E_USER_DEPRECATED);
require_once__DIR__.'/TestSuiteBase.php';
/**
* Discovers tests for the build test suite.
*
* @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no
* replacement and test discovery will be handled differently in PHPUnit 10.
@trigger_error('\Drupal\Tests\TestSuites\FunctionalJavascriptTestSuite is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10. See https://www.drupal.org/node/3405829',E_USER_DEPRECATED);
require_once__DIR__.'/TestSuiteBase.php';
/**
* Discovers tests for the functional-javascript test suite.
*
* @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no
* replacement and test discovery will be handled differently in PHPUnit 10.
@trigger_error('\Drupal\Tests\TestSuites\FunctionalTestSuite is deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10. See https://www.drupal.org/node/3405829',E_USER_DEPRECATED);
require_once__DIR__.'/TestSuiteBase.php';
/**
* Discovers tests for the functional test suite.
*
* @deprecated in drupal:10.3.0 and is removed from drupal:11.0.0. There is no
* replacement and test discovery will be handled differently in PHPUnit 10.