diff --git a/ChangeLog-8.3.md b/ChangeLog-8.3.md index a5bc7c0c41f..649a2d4af5c 100644 --- a/ChangeLog-8.3.md +++ b/ChangeLog-8.3.md @@ -2,11 +2,17 @@ All notable changes of the PHPUnit 8.3 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## [8.3.2] - 2019-08-02 + +### Fixed + +* More work on the fix for [#3774](https://github.com/sebastianbergmann/phpunit/issues/3774): Restored name of `PHPUnit\Framework\Error\Deprecated` + ## [8.3.1] - 2019-08-02 ### Fixed -* Implemented [#3774](https://github.com/sebastianbergmann/phpunit/issues/3774): PHP errors, notices, etc. cannot be tested anymore with PHPUnit 8.3 +* Fixed [#3774](https://github.com/sebastianbergmann/phpunit/issues/3774): PHP errors, notices, etc. cannot be tested anymore with PHPUnit 8.3 ## [8.3.0] - 2019-08-02 @@ -25,6 +31,7 @@ All notable changes of the PHPUnit 8.3 release series are documented in this fil * Implemented [#3522](https://github.com/sebastianbergmann/phpunit/issues/3522): The `TestCase::setUseErrorHandler()` method, which controlled a feature that was not documented and did not work correctly, has been deprecated and does not have an effect anymore * Implemented [#3687](https://github.com/sebastianbergmann/phpunit/pull/3687): `MockBuilder::setMethods()` is now deprecated +[8.3.2]: https://github.com/sebastianbergmann/phpunit/compare/8.3.1...8.3.2 [8.3.1]: https://github.com/sebastianbergmann/phpunit/compare/8.3.0...8.3.1 [8.3.0]: https://github.com/sebastianbergmann/phpunit/compare/8.2.5...8.3.0 diff --git a/src/Framework/Error/Deprecation.php b/src/Framework/Error/Deprecated.php similarity index 88% rename from src/Framework/Error/Deprecation.php rename to src/Framework/Error/Deprecated.php index 9c1002db581..607c965c1e4 100644 --- a/src/Framework/Error/Deprecation.php +++ b/src/Framework/Error/Deprecated.php @@ -9,6 +9,6 @@ */ namespace PHPUnit\Framework\Error; -final class Deprecation extends Error +final class Deprecated extends Error { } diff --git a/src/Runner/Version.php b/src/Runner/Version.php index 1b030d6e35b..e96d942ef85 100644 --- a/src/Runner/Version.php +++ b/src/Runner/Version.php @@ -33,7 +33,7 @@ public static function id(): string } if (self::$version === '') { - self::$version = (new VersionId('8.3.1', \dirname(__DIR__, 2)))->getVersion(); + self::$version = (new VersionId('8.3.2', \dirname(__DIR__, 2)))->getVersion(); } return self::$version; diff --git a/src/Util/ErrorHandler.php b/src/Util/ErrorHandler.php index 30e04ba9456..de29e775ccb 100644 --- a/src/Util/ErrorHandler.php +++ b/src/Util/ErrorHandler.php @@ -9,7 +9,7 @@ */ namespace PHPUnit\Util; -use PHPUnit\Framework\Error\Deprecation; +use PHPUnit\Framework\Error\Deprecated; use PHPUnit\Framework\Error\Error; use PHPUnit\Framework\Error\Notice; use PHPUnit\Framework\Error\Warning; @@ -103,7 +103,7 @@ public function __invoke(int $errorNumber, string $errorString, string $errorFil return false; } - throw new Deprecation($errorString, $errorNumber, $errorFile, $errorLine); + throw new Deprecated($errorString, $errorNumber, $errorFile, $errorLine); default: if (!$this->convertErrorsToExceptions) {