diff --git a/ChangeLog-9.4.md b/ChangeLog-9.4.md deleted file mode 100644 index 1129a2e02de..00000000000 --- a/ChangeLog-9.4.md +++ /dev/null @@ -1,59 +0,0 @@ -# Changes in PHPUnit 9.4 - -All notable changes of the PHPUnit 9.4 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles. - -## [9.4.5] - 2020-MM-DD - -### Fixed - -* [#4535](https://github.com/sebastianbergmann/phpunit/issues/4535): `getMockFromWsdl()` does not handle methods that do not have parameters correctly - -## [9.4.4] - 2020-12-01 - -### Fixed - -* [#4489](https://github.com/sebastianbergmann/phpunit/issues/4489): Numeric group names are not handled correctly -* [#4529](https://github.com/sebastianbergmann/phpunit/issues/4529): Debug mode of Xdebug 2 is not disabled for PHPT tests - -## [9.4.3] - 2020-11-10 - -### Fixed - -* [#4446](https://github.com/sebastianbergmann/phpunit/pull/4446): The `--no-logging` and `--no-coverage` do not only affect XML configuration settings -* [#4499](https://github.com/sebastianbergmann/phpunit/pull/4499): Restore support for case-insensitive namespaced class names when invoking the test runner with the test case file name -* [#4514](https://github.com/sebastianbergmann/phpunit/issues/4514): `--fail-on-skipped` does not work - -## [9.4.2] - 2020-10-19 - -### Added - -* Added missing `PHPUnit\Framework\assertObjectEquals()` and `PHPUnit\Framework\objectEquals()` wrapper functions - -### Changed - -* `PHPUnit\Framework\Assert::assertObjectEquals()` is now `static` - -## [9.4.1] - 2020-10-11 - -### Fixed - -* [#4480](https://github.com/sebastianbergmann/phpunit/issues/4480): Methods with "static" return type (introduced in PHP 8) are not handled correctly by test double code generator - -## [9.4.0] - 2020-10-02 - -### Added - -* [#4462](https://github.com/sebastianbergmann/phpunit/pull/4462): Support for Cobertura XML report format -* [#4464](https://github.com/sebastianbergmann/phpunit/issues/4464): Filter based on covered (`@covers`) / used (`@uses`) units of code -* [#4467](https://github.com/sebastianbergmann/phpunit/issues/4467): Convenient custom comparison of objects - -### Changed - -* The PHPUnit XML configuration generator (that is invoked using the `--generate-configuration` CLI option) now asks for a cache directory (default: `.phpunit.cache`) - -[9.4.5]: https://github.com/sebastianbergmann/phpunit/compare/9.4.4...9.4 -[9.4.4]: https://github.com/sebastianbergmann/phpunit/compare/9.4.3...9.4.4 -[9.4.3]: https://github.com/sebastianbergmann/phpunit/compare/9.4.2...9.4.3 -[9.4.2]: https://github.com/sebastianbergmann/phpunit/compare/9.4.1...9.4.2 -[9.4.1]: https://github.com/sebastianbergmann/phpunit/compare/9.4.0...9.4.1 -[9.4.0]: https://github.com/sebastianbergmann/phpunit/compare/9.3.11...9.4.0 diff --git a/ChangeLog-9.5.md b/ChangeLog-9.5.md index d2ac37ab48a..b94e5bfa7a3 100644 --- a/ChangeLog-9.5.md +++ b/ChangeLog-9.5.md @@ -11,4 +11,8 @@ All notable changes of the PHPUnit 9.5 release series are documented in this fil * [#4492](https://github.com/sebastianbergmann/phpunit/issues/4492): Emit Error instead of Warning when test double configuration is invalid * [#4493](https://github.com/sebastianbergmann/phpunit/issues/4493): Emit error when (configured) test directory does not exist -[9.5.0]: https://github.com/sebastianbergmann/phpunit/compare/9.4...master +### Fixed + +* [#4535](https://github.com/sebastianbergmann/phpunit/issues/4535): `getMockFromWsdl()` does not handle methods that do not have parameters correctly + +[9.5.0]: https://github.com/sebastianbergmann/phpunit/compare/9.4.4...9.5.0 diff --git a/README.md b/README.md index fe0ab947590..d6bb0846cce 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.3-8892BF.svg?style=flat-square)](https://php.net/) -[![CI Status](https://github.com/sebastianbergmann/phpunit/workflows/CI/badge.svg?branch=master&event=push)](https://phpunit.de/build-status.html) +[![CI Status](https://github.com/sebastianbergmann/phpunit/workflows/CI/badge.svg?branch=9.5&event=push)](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 9.5 bundled in a single file: ```bash -$ wget https://phar.phpunit.de/phpunit-nightly.phar +$ wget https://phar.phpunit.de/phpunit-9.5.phar -$ php phpunit-nightly.phar --version +$ php phpunit-9.5.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 93157f706d5..47a8ed43572 100644 --- a/src/Runner/Version.php +++ b/src/Runner/Version.php @@ -41,7 +41,7 @@ public static function id(): string } if (self::$version === '') { - self::$version = (new VersionId('9.5', dirname(__DIR__, 2)))->getVersion(); + self::$version = (new VersionId('9.5.0', dirname(__DIR__, 2)))->getVersion(); } return self::$version;