#4720: PHPUnit does not verify its own PHP extension requirements
[8.5.17] - 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)
[8.5.16] - 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
#4663: TestCase::expectError() works on PHP 7.3, but not on PHP >= 7.4
#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
[8.5.15] - 2021-03-17
Fixed
#4591: TeamCity logger logs warnings as test failures
[8.5.14] - 2021-01-17
Fixed
#4535: getMockFromWsdl() does not handle methods that do not have parameters correctly
#4572: Schema validation does not work with %xx sequences in path to phpunit.xsd
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)
Bumps phpunit/phpunit from 8.5.3 to 8.5.20.
Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
9deefba
Prepare release737772d
Update tools5ea9eb5
Fix: Regenerate baselinea8f8f8f
Fix: Run 'php-cs-fixer fix'137e72f
Enhancement: Configure braces fixer to position opening braces for closures o...ae9ead4
Update tools2ced53f
Update toolsf3dde0a
Update tools39cb299
Delete superfluous test0598f58
get away from SHA-1, switch to SHA-512Dependabot 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)