Repository navigation
deps: update phpunit/phpunit requirement from ^11.5 to ^12.5 - #281
Merged
Merged
Conversation
Updates the requirements on [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) to permit the latest version. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/12.5.43/ChangeLog-12.5.md) - [Commits](sebastianbergmann/phpunit@11.5.0...12.5.43) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-version: 12.5.43 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Morgy93
previously approved these changes
Nov 11, 2026
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The PHPUnit upgrade leaves mock-without-expectation notices in ModuleScannerTest, adding noise to test results.
1 open issue
What changed in this PR
Updates MageForge’s development test framework to PHPUnit 12.5 and adapts two parameterised tests to its attribute-based metadata.
Changes:
- Raises the
phpunit/phpunitrequirement from^11.5to^12.5. - Replaces two
@dataProviderannotations with#[DataProvider]attributes.
| File | Description |
|---|---|
| tests/Unit/Service/TemplateOverride/TemplateCopierTest.php | Migrates data-provider metadata for PHPUnit 12 compatibility. |
| composer.json | Updates the PHPUnit development dependency constraint. |
Review effort: Balanced
…hpunit/phpunit-tw-12.5 # Conflicts: # tests/Unit/Console/Command/Theme/BuildCommandTest.php # tests/Unit/Console/Command/Theme/WatchCommandTest.php # tests/Unit/Service/TemplateOverride/TemplatePathParserTest.php Co-authored-by: Morgy93 <7961978+Morgy93@users.noreply.github.com>
Co-authored-by: Morgy93 <7961978+Morgy93@users.noreply.github.com>
Co-authored-by: Morgy93 <7961978+Morgy93@users.noreply.github.com>
Merged
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Updates the requirements on phpunit/phpunit to permit the latest version.
Release notes
Sourced from phpunit/phpunit's releases.
Changelog
Sourced from phpunit/phpunit's changelog.
... (truncated)
Commits
1d5a4a3Prepare release0e18ec2Update cbrgm/mastodon-github-action action to v2.2.6092e177Make control characters in user-supplied strings visible in the output of --d...d596570Merge branch '11.5' into 12.589a07f0Merge branch '10.5' into 11.5980dbebMerge branch '9.6' into 10.58d2bf9eMerge branch '8.5' into 9.63e1dbd3Copy the LICENSE files of sebastian/object-enumerator and sebastian/object-re...5bbaab1Recognize stack frames of code in the PHAR by the path that PHP reports for t...0a6de0cMerge branch '11.5' into 12.5Most Recent Ignore Conditions Applied to This Pull Request
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)