🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README
Tests that do not unregister their error handlers or exception handlers are no longer considered risky when they are run in an isolated process
Fixed
When a test (or the code called from it) does not unregister its own error handlers and its own exception handlers then only the latter was reported
Resource usage information is printed when the --debug CLI option is used
[11.0.2] - 2024-04-04
Fixed
#5692: --log-events-text and --log-events-verbose-text require the destination file to exit
[11.0.1] - 2024-02-02
Fixed
#5690: Backward Compatibility break in PHPUnit\Framework\Constraint\Constraint
[11.0.0] - 2024-02-02
Added
#4964: Enable named data sets with the #[TestWith*] attributes
#5225: Allow providing named arguments from a data provider
#5600: Assertions for comparing arrays while ignoring a specified list of keys
#5605: expectUserDeprecationMessage() and expectUserDeprecationMessageMatches() for expecting E_USER_DEPRECATED issues
#5620: Implement group attribute on <directory> and <file> elements (children of <testsuite>) to add all tests found in a directory or file to a specified group
#5629: --exclude-filter CLI option for excluding tests from execution
#5642: --list-test-files CLI option to print the list of test files
Changed
#5213: Make TestCase methods protected that should have been protected all along
#5254: Make TestCase methods final that should have been final all along
#5619: Check and restore error/exception global handlers
The format of the XML document generated using the --list-tests-xml CLI option has been changed
small, medium, and large can no longer be used as group names with the #[Group] attribute
A test can no longer be part of multiple test suites that are configured in the XML configuration file
--check-version now exits with a shell exit code that indicates failure when the version is not the latest version
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 9.6.17 to 11.0.3.
Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
de24e7e
Prepare release0e4f6d8
Do not consider tests that do not unregister their error handlers or exceptio...65748f3
Also emit 'Test code or tested code did not remove its own error handlers' Te...62c67c4
Merge branch '10.5' into 11.049429bf
Merge branch '9.6' into 10.58c11997
Merge branch '10.5' into 11.005a77e9
Merge branch '9.6' into 10.50c48887
Merge branch '10.5' into 11.0611b484
Add testsec65812
Merge branch '10.5' into 11.0Dependabot 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 show