#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
#4365: assertIsResource() and assertIsNotResource() now handle closed resources
PHPUnit\Framework\TestCase::$backupGlobalsBlacklist is now deprecated, please use PHPUnit\Framework\TestCase::$backupGlobalsExcludeList instead
PHPUnit\Framework\TestCase::$backupStaticAttributesBlacklist is now deprecated, please use PHPUnit\Framework\TestCase::$backupStaticAttributesExcludeList instead
PHPUnit\Util\Blacklist is now deprecated, please use PHPUnit\Util\ExcludeList instead
Using --whitelist <directory> to include a directory in code coverage reports is now deprecated, please use --coverage-filter <directory> instead
Using --generate-configuration now generates a configuration file with failOnRisky="true" and failOnWarning="true"
Configuration of Code Coverage and Logging in phpunit.xml
The configuration of code coverage and logging in phpunit.xml has been changed to be less confusing. Here is an example of what this configuration looked like prior to PHPUnit 9.3:
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
05c76e2
Prepare releasecaa9fb7
Bump7b19aee
Update Psalm baseline4644e20
Add testsac18dcf
Allow building of unscoped PHARs for testing005b4e5
Merge branch '9.2'5ac09f3
Merge branch '8.5' into 9.268efdbb
Prevent a problem that occurs when PHPUnit is invoked from a PHAR for a proje...bec8f0b
Sync6ef340a
FixDependabot 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)