You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.
PHPUnit 9.6.33
Changed
To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs
Learn how to install or update PHPUnit 9.6 in the documentation.
To prevent Poisoned Pipeline Execution (PPE) attacks using prepared .coverage files in pull requests, a PHPT test will no longer be run if the temporary file for writing code coverage information already exists before the test runs
[9.6.32] - 2026-01-24
Changed
PHPUnit\Framework\MockObject exceptions are now subtypes of PHPUnit\Exception
[9.6.31] - 2025-12-06
No changes; phpunit.phar rebuilt with PHP 8.4 to work around PHP-Scoper issue #1139
[9.6.30] - 2025-12-01
Changed
Updated list of deprecated PHP configuration settings for PHP 8.4, PHP 8.5, and PHP 8.6
[9.6.29] - 2025-09-24
No changes; phpunit.phar rebuilt with updated dependencies
[9.6.28] - 2025-09-23
No changes; phpunit.phar rebuilt with updated dependencies
[9.6.27] - 2025-09-14
Changed
#6366: Exclude __sleep() and __wakeup() from test double code generation on PHP >= 8.5
[9.6.26] - 2025-09-11
Changed
Implement __serialize() in addition to __sleep() (which will be deprecated in PHP 8.5)
[9.6.25] - 2025-08-20
... (truncated)
Commits
b36f023 Fix regression introduced in PHPUnit 9.6.33
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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
@dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
@dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
@dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
@dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Updates test tooling only.
Bumps phpunit/phpunit from 9.6.22 to 9.6.34 in wp/headless-wp
Refreshes composer.lock: updates transitive dev deps (sebastian/*, theseer/tokenizer, myclabs/deep-copy, nikic/php-parser); doctrine/instantiator now 1.5.0
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Looks like this PR is already up-to-date with develop! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dependenciesPull requests that update a dependency filephpPull requests that update php code
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the composer group with 1 update in the /wp/headless-wp directory: phpunit/phpunit.
Updates
phpunit/phpunitfrom 9.6.22 to 9.6.34Release notes
Sourced from phpunit/phpunit's releases.
... (truncated)
Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
b36f023Fix regression introduced in PHPUnit 9.6.33fea0625Prepare release1a677f6Merge branch '8.5' into 9.61015741Prepare release1cce5f3Merge branch '8.5' into 9.63141742Do not run PHPT test when its temporary file for code coverage information ex...0b3170aWe do not need to unserialize() objects here261086aExtract methodfdd6b86Fix CS/WS issue492ee10Prepare releaseDependabot 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Updates test tooling only.
phpunit/phpunitfrom9.6.22to9.6.34inwp/headless-wpcomposer.lock: updates transitive dev deps (sebastian/*,theseer/tokenizer,myclabs/deep-copy,nikic/php-parser);doctrine/instantiatornow1.5.0plugin-api-version2.6.0,platform-devformat)No application code changes; scope limited to
composer.lockWritten by Cursor Bugbot for commit 7f954e6. This will update automatically on new commits. Configure here.