Skip to content

Update phpunit/phpunit requirement from ~6.5 to ~9.5 in /build/integration

Created by: dependabot[bot]

Updates the requirements on phpunit/phpunit to permit the latest version.

Changelog

Sourced from phpunit/phpunit's changelog.

[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

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Merge request reports