fix: upgrade phpunit to ^12.5, isolate mddoc via composer-bin-plugin#57
Draft
Copilot wants to merge 2 commits into
Draft
fix: upgrade phpunit to ^12.5, isolate mddoc via composer-bin-plugin#57Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…ingway-style description Agent-Logs-Url: https://github.com/donatj/printf-parser/sessions/13c0d3a2-8c38-427a-9235-3acf0926332a Co-authored-by: donatj <133747+donatj@users.noreply.github.com>
…te mddoc via composer-bin-plugin Agent-Logs-Url: https://github.com/donatj/printf-parser/sessions/13c0d3a2-8c38-427a-9235-3acf0926332a Co-authored-by: donatj <133747+donatj@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
donatj
April 19, 2026 15:57
View session
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.
phpunit/phpunit≤12.5.21 has an argument injection vulnerability via newlines in PHP INI values forwarded to child processes. The 9.x branch has no patch; the fix is 12.5.22+.Dependency isolation
Upgrading to phpunit 12 pulls in
nikic/php-parser ^5.7, which conflicts withdonatj/mddoc's transitive requirement ofphpdocumentor/reflection ~5.x(nikic/php-parser ^4.x). Resolved by moving mddoc into an isolated bin namespace:bamarni/composer-bin-plugin ^1.8torequire-devdonatj/mddoc ^0.10tovendor-bin/mddoc/composer.jsonvendor/bin/mddocsymlink preserved viaextra.bamarni-bin.bin-links: truevendor-bin/*/vendor/added to.gitignorephpunit 12 migration
phpunit/phpunit ~9→^12.5(installs 12.5.23)phpunit.xml.dist:<filter>/<whitelist>→<source>/<include>(required by phpunit 10+)@dataProviderdocblock annotations →#[DataProvider]PHP attributes (annotation removed in phpunit 10)8.3,8.4,8.5— phpunit 12 requires PHP ≥8.3