From 2307efd919acd34f1018b5c07ce1149810d55840 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Mon, 25 Nov 2019 16:46:13 +0100 Subject: [PATCH] Closes #3523 --- ChangeLog-9.0.md | 1 + src/Framework/TestCase.php | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/ChangeLog-9.0.md b/ChangeLog-9.0.md index cfc5ef57628..3368c7bc801 100644 --- a/ChangeLog-9.0.md +++ b/ChangeLog-9.0.md @@ -17,6 +17,7 @@ All notable changes of the PHPUnit 9.0 release series are documented in this fil * Implemented [#3370](https://github.com/sebastianbergmann/phpunit/issues/3370): Remove `assertInternalType()` and `assertNotInternalType()` * Implemented [#3426](https://github.com/sebastianbergmann/phpunit/issues/3426): Clean up `assertContains()` and `assertNotContains()` * Implemented [#3495](https://github.com/sebastianbergmann/phpunit/issues/3495): Remove `assertArraySubset()` +* Implemented [#3523](https://github.com/sebastianbergmann/phpunit/issues/3523): Remove the `setUseErrorHandler()` method * Implemented [#3951](https://github.com/sebastianbergmann/phpunit/issues/3951): Remove optional parameters of `assertFileEquals()` etc. [9.0.0]: https://github.com/sebastianbergmann/phpunit/compare/8.5...master diff --git a/src/Framework/TestCase.php b/src/Framework/TestCase.php index 704d8781d1f..2a4002301e4 100644 --- a/src/Framework/TestCase.php +++ b/src/Framework/TestCase.php @@ -788,15 +788,6 @@ public function registerComparator(Comparator $comparator): void $this->customComparators[] = $comparator; } - /** - * @internal This method is not covered by the backward compatibility promise for PHPUnit - * - * @deprecated Invoking this method has no effect; it will be removed in PHPUnit 9 - */ - public function setUseErrorHandler(bool $useErrorHandler): void - { - } - /** * @return string[] *