From 57e5e77b62086033528ee1f4063ae03035f57894 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Fri, 4 Oct 2019 05:12:25 +0200 Subject: [PATCH] Prepare release --- ChangeLog-8.3.md | 65 ------------------------------------------ ChangeLog-8.4.md | 2 +- README.md | 6 ++-- src/Runner/Version.php | 2 +- 4 files changed, 5 insertions(+), 70 deletions(-) delete mode 100644 ChangeLog-8.3.md diff --git a/ChangeLog-8.3.md b/ChangeLog-8.3.md deleted file mode 100644 index c263ce0f3fa..00000000000 --- a/ChangeLog-8.3.md +++ /dev/null @@ -1,65 +0,0 @@ -# Changes in PHPUnit 8.3 - -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.5] - 2019-09-14 - -### Fixed - -* Fixed [#3745](https://github.com/sebastianbergmann/phpunit/issues/3745): Performance degradation with test doubles -* Fixed [#3801](https://github.com/sebastianbergmann/phpunit/issues/3801): Class constant as default parameter is undefined -* Fixed [#3807](https://github.com/sebastianbergmann/phpunit/pull/3807): Fixed message of exception raised by `MockBuilder::addMethods()` -* Fixed [#3834](https://github.com/sebastianbergmann/phpunit/issues/3834): Trailing slash breaks code coverage on Windows - -## [8.3.4] - 2019-08-11 - -### Changed - -* Implemented [#3788](https://github.com/sebastianbergmann/phpunit/pull/3788): Cast exception message to string - -### Fixed - -* Fixed [#3772](https://github.com/sebastianbergmann/phpunit/issues/3772): Process Isolation does not work when PHPDBG is used - -## [8.3.3] - 2019-08-03 - -### Fixed - -* Fixed [#3781](https://github.com/sebastianbergmann/phpunit/pull/3781): `MockBuilder::addMethods()` and `MockBuilder::onlyMethods()` do not handle empty parameter array correctly - -## [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 - -* 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 - -### Added - -* Implemented [#3687](https://github.com/sebastianbergmann/phpunit/pull/3687): Introduce `MockBuilder::addMethods()` and `MockBuilder::onlyMethods()` as alternatives to `MockBuilder::setMethods()` -* Implemented [#3741](https://github.com/sebastianbergmann/phpunit/issues/3741): Format class names as well as method names in TestDox output -* Implemented [#3748](https://github.com/sebastianbergmann/phpunit/issues/3748): Add option to sort tests based on information from `@small`, `@medium`, and `@large` -* Added `TestCase::getActualOutputForAssertion()` as a wrapper for `TestCase::getActualOutput()` to prevent a test being marked as risky when it prints output and that output is not expected using `TestCase::expectOutputString()` or `TestCase::expectOutputRegEx()` - -### Changed - -* Implemented [#2015](https://github.com/sebastianbergmann/phpunit/issues/2015): Prefix all code bundled in PHAR distribution with random/unique namespace -* Implemented [#3503](https://github.com/sebastianbergmann/phpunit/issues/3503): The error handler has been refactored to not rely on global state -* Implemented [#3521](https://github.com/sebastianbergmann/phpunit/issues/3521): The `@errorHandler` annotation, which controlled a feature that was not documented and did not work correctly, does not have an effect anymore -* 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.5]: https://github.com/sebastianbergmann/phpunit/compare/8.3.4...8.3.5 -[8.3.4]: https://github.com/sebastianbergmann/phpunit/compare/8.3.3...8.3.4 -[8.3.3]: https://github.com/sebastianbergmann/phpunit/compare/8.3.2...8.3.3 -[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/ChangeLog-8.4.md b/ChangeLog-8.4.md index 946b4e2cd94..727e759b0fa 100644 --- a/ChangeLog-8.4.md +++ b/ChangeLog-8.4.md @@ -13,5 +13,5 @@ All notable changes of the PHPUnit 8.4 release series are documented in this fil * The method `expectExceptionMessageRegExp()` is now deprecated. There is no behavioral change in this version of PHPUnit. Using this method will trigger a deprecation warning in PHPUnit 9 and in PHPUnit 10 it will be removed. Please use `expectExceptionMessageMatches()` instead. -[8.4.0]: https://github.com/sebastianbergmann/phpunit/compare/8.3...8.4.0 +[8.4.0]: https://github.com/sebastianbergmann/phpunit/compare/8.3.5...8.4.0 diff --git a/README.md b/README.md index 711ee636ce5..b1df7d608de 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of [![Latest Stable Version](https://img.shields.io/packagist/v/phpunit/phpunit.svg?style=flat-square)](https://packagist.org/packages/phpunit/phpunit) [![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg?style=flat-square)](https://php.net/) -[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/master.svg?style=flat-square)](https://phpunit.de/build-status.html) +[![Build Status](https://img.shields.io/travis/sebastianbergmann/phpunit/8.4.svg?style=flat-square)](https://phpunit.de/build-status.html) [![Type Coverage](https://shepherd.dev/github/sebastianbergmann/phpunit/coverage.svg)](https://shepherd.dev/github/sebastianbergmann/phpunit) ## Installation @@ -12,9 +12,9 @@ PHPUnit is a programmer-oriented testing framework for PHP. It is an instance of We distribute a [PHP Archive (PHAR)](https://php.net/phar) that has all required (as well as some optional) dependencies of PHPUnit 8.4 bundled in a single file: ```bash -$ wget https://phar.phpunit.de/phpunit-nightly.phar +$ wget https://phar.phpunit.de/phpunit-8.4.phar -$ php phpunit-nightly.phar --version +$ php phpunit-8.4.phar --version ``` Alternatively, you may use [Composer](https://getcomposer.org/) to download and install PHPUnit as well as its dependencies. Please refer to the "[Getting Started](https://phpunit.de/getting-started-with-phpunit.html)" guide for details on how to install PHPUnit. diff --git a/src/Runner/Version.php b/src/Runner/Version.php index 0520aa785fc..e86e4fbf56a 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.4', \dirname(__DIR__, 2)))->getVersion(); + self::$version = (new VersionId('8.4.0', \dirname(__DIR__, 2)))->getVersion(); } return self::$version;