Loading core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php +1 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,7 @@ * is invalid. * * @see \Drupal\KernelTests\KernelTestBase::register() * @see \Drupal\simpletest\WebTestBase::setUp() * @see \Drupal\simpletest\KernelTestBase::containerBuild() * @see \Drupal\Core\Test\FunctionalTestSetupTrait::prepareSettings() */ class ConfigSchemaChecker implements EventSubscriberInterface { use SchemaCheckTrait; Loading core/lib/Drupal/Core/Extension/ExtensionDiscovery.php +1 −1 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ public function scan($type, $include_tests = NULL) { // test site environment, because the site directories are not the same. // Therefore, add the site directory of the parent site to the search paths, // so that contained extensions are still discovered. // @see \Drupal\simpletest\WebTestBase::setUp() // @see \Drupal\Core\Test\FunctionalTestSetupTrait::prepareSettings(). if ($parent_site = Settings::get('test_parent_site')) { $searchdirs[static::ORIGIN_PARENT_SITE] = $parent_site; } Loading core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php +1 −1 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ public function register() { */ public function unregister() { // Normally, there are definitely wrappers set for the ALL filter. However, // in some cases involving many container rebuilds (e.g. WebTestBase), // in some cases involving many container rebuilds (e.g. BrowserTestBase), // $this->wrappers may be empty although wrappers are still registered // globally. Thus an isset() check is needed before iterating. if (isset($this->wrappers[StreamWrapperInterface::ALL])) { Loading core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php +0 −1 Original line number Diff line number Diff line Loading @@ -211,7 +211,6 @@ protected function rebuildContainer() { * * @see \Drupal\Core\Test\FunctionalTestSetupTrait::rebuildAll() * @see \Drupal\Tests\BrowserTestBase::installDrupal() * @see \Drupal\simpletest\WebTestBase::setUp() */ protected function resetAll() { // Clear all database and static caches and rebuild data structures. Loading core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php +0 −2 Original line number Diff line number Diff line Loading @@ -37,8 +37,6 @@ public function __invoke() { foreach ($headers as $header_name => $header_values) { if (preg_match('/^X-Drupal-Assertion-[0-9]+$/', $header_name, $matches)) { foreach ($header_values as $header_value) { // Call \Drupal\simpletest\WebTestBase::error() with the parameters from // the header. $parameters = unserialize(urldecode($header_value)); if (count($parameters) === 3) { if ($parameters[1] === 'User deprecated function') { Loading Loading
core/lib/Drupal/Core/Config/Development/ConfigSchemaChecker.php +1 −2 Original line number Diff line number Diff line Loading @@ -20,8 +20,7 @@ * is invalid. * * @see \Drupal\KernelTests\KernelTestBase::register() * @see \Drupal\simpletest\WebTestBase::setUp() * @see \Drupal\simpletest\KernelTestBase::containerBuild() * @see \Drupal\Core\Test\FunctionalTestSetupTrait::prepareSettings() */ class ConfigSchemaChecker implements EventSubscriberInterface { use SchemaCheckTrait; Loading
core/lib/Drupal/Core/Extension/ExtensionDiscovery.php +1 −1 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ public function scan($type, $include_tests = NULL) { // test site environment, because the site directories are not the same. // Therefore, add the site directory of the parent site to the search paths, // so that contained extensions are still discovered. // @see \Drupal\simpletest\WebTestBase::setUp() // @see \Drupal\Core\Test\FunctionalTestSetupTrait::prepareSettings(). if ($parent_site = Settings::get('test_parent_site')) { $searchdirs[static::ORIGIN_PARENT_SITE] = $parent_site; } Loading
core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php +1 −1 Original line number Diff line number Diff line Loading @@ -174,7 +174,7 @@ public function register() { */ public function unregister() { // Normally, there are definitely wrappers set for the ALL filter. However, // in some cases involving many container rebuilds (e.g. WebTestBase), // in some cases involving many container rebuilds (e.g. BrowserTestBase), // $this->wrappers may be empty although wrappers are still registered // globally. Thus an isset() check is needed before iterating. if (isset($this->wrappers[StreamWrapperInterface::ALL])) { Loading
core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php +0 −1 Original line number Diff line number Diff line Loading @@ -211,7 +211,6 @@ protected function rebuildContainer() { * * @see \Drupal\Core\Test\FunctionalTestSetupTrait::rebuildAll() * @see \Drupal\Tests\BrowserTestBase::installDrupal() * @see \Drupal\simpletest\WebTestBase::setUp() */ protected function resetAll() { // Clear all database and static caches and rebuild data structures. Loading
core/lib/Drupal/Core/Test/HttpClientMiddleware/TestHttpClientMiddleware.php +0 −2 Original line number Diff line number Diff line Loading @@ -37,8 +37,6 @@ public function __invoke() { foreach ($headers as $header_name => $header_values) { if (preg_match('/^X-Drupal-Assertion-[0-9]+$/', $header_name, $matches)) { foreach ($header_values as $header_value) { // Call \Drupal\simpletest\WebTestBase::error() with the parameters from // the header. $parameters = unserialize(urldecode($header_value)); if (count($parameters) === 3) { if ($parameters[1] === 'User deprecated function') { Loading