Skip to content

Commit 5e429dd

Browse files
authored
chore: bump phpunit/phpunit to ^12.5.22 (#4585)
Unblocks composer install on flarum/testing consumers: the PHPUnit 11.x line has no fix for GHSA-qrr6-mg7r-m243 (PKSA-5jz8-6tcw-pbk4), so every 11.x version is filtered by Composer's advisory check. PHPUnit 12 requires PHP 8.3+, which matches the 2.x floor. Flarum's own test suites already use PHP 8 attributes exclusively; third-party extensions still using @test / @dataProvider docblock annotations will need to migrate. Closes #4584
1 parent ef3a376 commit 5e429dd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@
180180
"larastan/larastan": "^3.8",
181181
"mockery/mockery": "^1.5",
182182
"phpstan/phpstan": "^2.1",
183-
"phpunit/phpunit": "^11.0",
183+
"phpunit/phpunit": "^12.5.22",
184184
"symfony/var-dumper": "^7.0"
185185
},
186186
"config": {

php-packages/testing/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"require": {
1111
"ext-json": "*",
1212
"mockery/mockery": "^1.5",
13-
"phpunit/phpunit": "^11.0"
13+
"phpunit/phpunit": "^12.5.22"
1414
},
1515
"require-dev": {
1616
"flarum/core": "*@dev",

0 commit comments

Comments
 (0)