Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 2, 2019
1 parent 90b1b7a commit e77a49b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion ChangeLog-8.3.md
Expand Up @@ -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

Expand All @@ -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

Expand Up @@ -9,6 +9,6 @@
*/
namespace PHPUnit\Framework\Error;

final class Deprecation extends Error
final class Deprecated extends Error
{
}
2 changes: 1 addition & 1 deletion src/Runner/Version.php
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/Util/ErrorHandler.php
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit e77a49b

Please sign in to comment.