PHP Classes

File: src/vendor/phpunit/phpunit/ChangeLog-9.5.md

Recommend this page to a friend!
  Classes of LAGGOUNE Walid   QPHP   src/vendor/phpunit/phpunit/ChangeLog-9.5.md   Download  
File: src/vendor/phpunit/phpunit/ChangeLog-9.5.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: QPHP
Exchange messages with a queue server using Swoole
Author: By
Last change:
Date: 3 years ago
Size: 5,852 bytes
 

Contents

Class file image Download

Changes in PHPUnit 9.5

All notable changes of the PHPUnit 9.5 release series are documented in this file using the Keep a CHANGELOG principles.

[9.5.10] - 2021-09-25

Changed

  • PHPUnit no longer converts PHP deprecations to exceptions by default (configure `convertDeprecationsToExceptions="true"` to enable this)
  • The PHPUnit XML configuration file generator now configures `convertDeprecationsToExceptions="true"`

Fixed

  • #4772: TestDox HTML report not displayed correctly when browser has custom colour settings

[9.5.9] - 2021-08-31

Fixed

  • #4750: Automatic return value generation leads to invalid (and superfluous) test double code generation when a stubbed method returns `*|false`
  • #4751: Configuration validation fails when using brackets in glob pattern

[9.5.8] - 2021-07-31

Fixed

  • #4740: `phpunit.phar` does not work with PHP 8.1

[9.5.7] - 2021-07-19

Fixed

  • #4720: PHPUnit does not verify its own PHP extension requirements
  • #4735: Automated return value generation does not work for stubbed methods that return `*|false`

[9.5.6] - 2021-06-23

Changed

  • PHPUnit now errors out on startup when `PHP_VERSION` contains a value that is not compatible with `version_compare()`, for instance `X.Y.Z-(to be removed in future macOS)`

[9.5.5] - 2021-06-05

Changed

  • The test result cache (the storage for which is implemented in `PHPUnit\Runner\DefaultTestResultCache`) no longer uses PHP's `serialize()` and `unserialize()` functions for persistence. It now uses a versioned JSON format instead that is independent of PHP implementation details (see #3581 and #4662 for examples why this is a problem). When PHPUnit tries to load the test result cache from a file that does not exist, or from a file that does not contain data in JSON format, or from a file that contains data in a JSON format version other than the one used by the currently running PHPUnit version, then this is considered to be a "cache miss". An empty `DefaultTestResultCache` object is created in this case. This should also prevent PHPUnit from crashing when trying to load a test result cache file created by a different version of PHPUnit (see #4580 for example).

Fixed

  • #4632: TestDox result printer does not handle repeated test execution correctly
  • #4678: Stubbed methods with `iterable` return types should return empty array by default
  • #4692: Annotations in single-line doc-comments are not handled correctly
  • #4694: `TestCase::getMockFromWsdl()` does not work with PHP 8.1-dev

[9.5.4] - 2021-03-23

Fixed

  • #4630: Empty test case class causes error in TestDox XML logger

[9.5.3] - 2021-03-17

Fixed

  • #4591: TeamCity logger logs warnings as test failures
  • #4620: No useful output when an error occurs in the bootstrap script

[9.5.2] - 2021-02-02

Fixed

  • #4573: No stack trace printed when PHPUnit is used from PHAR
  • #4590: `--coverage-text` CLI option is documented wrong

[9.5.1] - 2021-01-17

Fixed

  • #4572: Schema validation does not work with `%xx` sequences in path to `phpunit.xsd`

[9.5.0] - 2020-12-04

Changed

  • #4490: Emit Error instead of Warning when test case class cannot be instantiated
  • #4491: Emit Error instead of Warning when data provider does not work correctly
  • #4492: Emit Error instead of Warning when test double configuration is invalid
  • #4493: Emit error when (configured) test directory does not exist

Fixed

  • #4535: `getMockFromWsdl()` does not handle methods that do not have parameters correctly

[9.5.10]: https://github.com/sebastianbergmann/phpunit/compare/9.5.9...9.5.10 [9.5.9]: https://github.com/sebastianbergmann/phpunit/compare/9.5.8...9.5.9 [9.5.8]: https://github.com/sebastianbergmann/phpunit/compare/9.5.7...9.5.8 [9.5.7]: https://github.com/sebastianbergmann/phpunit/compare/9.5.6...9.5.7 [9.5.6]: https://github.com/sebastianbergmann/phpunit/compare/9.5.5...9.5.6 [9.5.5]: https://github.com/sebastianbergmann/phpunit/compare/9.5.4...9.5.5 [9.5.4]: https://github.com/sebastianbergmann/phpunit/compare/9.5.3...9.5.4 [9.5.3]: https://github.com/sebastianbergmann/phpunit/compare/9.5.2...9.5.3 [9.5.2]: https://github.com/sebastianbergmann/phpunit/compare/9.5.1...9.5.2 [9.5.1]: https://github.com/sebastianbergmann/phpunit/compare/9.5.0...9.5.1 [9.5.0]: https://github.com/sebastianbergmann/phpunit/compare/9.4.4...9.5.0