You are here

protected function DeprecationSuppressionTrait::restoreErrorHandler in Commerce Core 8.2

Restores the original error handler.

4 calls to DeprecationSuppressionTrait::restoreErrorHandler()
CommerceBrowserTestBase::tearDown in tests/src/Functional/CommerceBrowserTestBase.php
CommerceKernelTestBase::tearDown in tests/src/Kernel/CommerceKernelTestBase.php
CommerceWebDriverTestBase::tearDown in tests/src/FunctionalJavascript/CommerceWebDriverTestBase.php
UninstallTest::tearDown in tests/src/Functional/UninstallTest.php

File

tests/src/Traits/DeprecationSuppressionTrait.php, line 38

Class

DeprecationSuppressionTrait
Enables suppression of select deprecation messages during testing.

Namespace

Drupal\Tests\commerce\Traits

Code

protected function restoreErrorHandler() {
  restore_error_handler();
}