#4412: Code Coverage does not work for isolated test when PHAR is used
[9.3.4] - 2020-08-10
Added
Added --coverage-cache <directory> CLI option for enabling a cache for static analysis results; it will write its files to <directory>
Added <coverage cacheDirectory="directory"> XML configuration attribute for enabling a cache for static analysis results; it will write its files to directory
Added --warm-coverage-cache CLI option for warming the cache for static analysis results; the cache must be configured for this to work
Fixed
#4405: Location for (current version of) XML Schema for XML configuration file has changed
Default value for <phpunit cacheResult="true|false"> XML configuration attribute was false instead of true
[9.3.3] - 2020-08-08
Changed
Reverted the workaround for #4399 now that the root cause is fixed in PHP-Scoper
Fixed
#4404: Code Coverage does not work with PHAR and Xdebug
#4407: PHPUnit 9.3 breaks backward compatibility for assertXmlStringEqualsXmlFile()
#3936: Support using @depends to depend on classes
#4260: pathCoverage attribute on the phpunit/coverage element of the XML configuration file for enabling path coverage for code coverage drivers that support it
#4288: Add option for migrating phpunit.xml from a supported but outdated XML schema version
#4314: Add option to exit with exit code 1 when no tests are executed
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)
Updates the requirements on phpunit/phpunit to permit the latest version.
Changelog
Sourced from phpunit/phpunit's changelog.
Commits
7115b00
Prepare released0ce1be
Closes #44120bc9739
Prepare releasea89b9ae
Fix default value of cacheResult XML configuration attribute4b829f2
Update Psalm baseline319fdcc
These tests fail when Xdebug is loaded85be542
Pass code coverage static analysis cache configuration to PHP processes that ...55dccc6
Pass code coverage static analysis cache configuration to PHP processes that ...d572081
Configure cachea287eb4
BumpDependabot 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)