chore(deps): bump phpunit/phpunit from 13.4.6 to 13.4.7
Bumps phpunit/phpunit from 13.4.6 to 13.4.7.
Release notes
Sourced from phpunit/phpunit's releases.
PHPUnit 13.4.7
Fixed
- When an order is configured on the command line, for instance using
--order-by random,defectsconfigured using theexecutionOrderattribute in the XML configuration file is still applied, and vice versa- Using
defaulttogether with an order for--order-byor theexecutionOrderXML configuration attribute, for instancedefault,random, triggers a deprecation for using more than one order, althoughdefaultresets the order instead of selecting one--fail-on-skippeddoes not make the test runner exit with a shell exit code that indicates failure when a test class is skipped, for instance because its before-first-test method callsmarkTestSkipped(), although its tests are counted as skipped--stop-on-skippeddoes not stop the test run when a test class is skipped, for instance because its before-first-test method callsmarkTestSkipped()- When coverage contribution is required, a test is considered risky because it does not contribute to code coverage although it executed covered code, when the code coverage driver collects hit counts and each covered line that the test executed was executed more than once
- When PHPUnit is installed using Composer, code units in the
PHPUnit\orSebastianBergmann\namespace that do not belong to PHPUnit or one of its dependencies are preloaded on startup, which leads to a fatal error when such a code unit depends on code that is not available- Code from
sebastian/file-filterandsebastian/git-stateis not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack traces- Code from
nikic/php-parserand parts of the code fromphar-io/manifestare not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack traces
Learn how to install or update PHPUnit 13.4 in the documentation.
Keep up to date with PHPUnit:
- You can follow
@phpunit@phpc.socialto stay up to date with PHPUnit's development.- You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
Changelog
Sourced from phpunit/phpunit's changelog.
[13.4.7] - 2026-11-13
Fixed
- When an order is configured on the command line, for instance using
--order-by random,defectsconfigured using theexecutionOrderattribute in the XML configuration file is still applied, and vice versa- Using
defaulttogether with an order for--order-byor theexecutionOrderXML configuration attribute, for instancedefault,random, triggers a deprecation for using more than one order, althoughdefaultresets the order instead of selecting one--fail-on-skippeddoes not make the test runner exit with a shell exit code that indicates failure when a test class is skipped, for instance because its before-first-test method callsmarkTestSkipped(), although its tests are counted as skipped--stop-on-skippeddoes not stop the test run when a test class is skipped, for instance because its before-first-test method callsmarkTestSkipped()- When coverage contribution is required, a test is considered risky because it does not contribute to code coverage although it executed covered code, when the code coverage driver collects hit counts and each covered line that the test executed was executed more than once
- When PHPUnit is installed using Composer, code units in the
PHPUnit\orSebastianBergmann\namespace that do not belong to PHPUnit or one of its dependencies are preloaded on startup, which leads to a fatal error when such a code unit depends on code that is not available- Code from
sebastian/file-filterandsebastian/git-stateis not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack traces- Code from
nikic/php-parserand parts of the code fromphar-io/manifestare not treated like code from PHPUnit's other dependencies, for instance stack frames from it are not filtered from stack traces
Commits
e6458d4Prepare release9d06f0cMerge branch '12.5' into 13.447d052bPrepare release0b207c9Merge branch '11.5' into 12.5c14b314Prepare release31face4Merge branch '10.5' into 11.51f3e67dPrepare releasec600d32Merge branch '9.6' into 10.51333945Prepare release73bd58cMerge branch '8.5' into 9.6- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Updates phpunit/phpunit from 13.4.6 to 13.4.7, a patch release that fixes several test runner issues: order handling with executionOrder, --fail-on-skipped and --stop-on-skipped behavior for skipped test classes, false risky coverage warnings, a preloading crash, and stack trace filtering for sebastian/file-filter, sebastian/git-state, nikic/php-parser, and parts of phar-io/manifest.
The lock file also removes published-time metadata and adjusts plugin-api-version because it was regenerated with a different Composer version; no dependency versions other than PHPUnit change.