Skip to content

Bump dependencies to avoid warnings#724

Merged
shish merged 1 commit intomasterfrom
pr724
Mar 3, 2026
Merged

Bump dependencies to avoid warnings#724
shish merged 1 commit intomasterfrom
pr724

Conversation

@shish
Copy link
Collaborator

@shish shish commented Mar 3, 2026

phpunit 12.5.7 has a security hole which I can't imagine actually affecting us (if an attacker has access to modify files on your dev machine, then phpunit can be tricked into executing one of those files), but no harm in using a safer version

Copy link
Contributor

@oliverklee oliverklee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the generator composer.json, we should also then use "phpunit/phpunit": "^12.5.14", to ensure the fixed version is used.

@shish
Copy link
Collaborator Author

shish commented Mar 3, 2026

Yup - also "update all our deps" is pulling in a new version of phpstan too, which updates phpstan's function database, which is causing other backwards-incompatible changes 😭

@shish
Copy link
Collaborator Author

shish commented Mar 3, 2026

Redone to only update phpunit (plus necessary dependencies, not all dependencies), and specify a new minimum in composer.json

Looks like 8.6 had recent changes, so sending a new PR to re-sync those first...

phpunit 12.5.7 has a security hole which I can't imagine actually affecting us (if an attacker has access to modify files on your dev machine, then phpunit can be tricked into executing one of those files), but no harm in using a safer version
@shish shish merged commit a4f8976 into master Mar 3, 2026
23 checks passed
@shish shish deleted the pr724 branch March 3, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants