Skip to content

Commit b5bed44

Browse files
anomiexmatticbot
authored andcommitted
phpunit: Update yoast/phpunit-polyfills to v3, bringing PHPUnit 11 for PHP 8.2+ (#42517)
This adds PHPUnit 11 configurations for all PHPUnit-using projects, and regularizes the PHPUnit 9 configurations as well. It also drops `johnkary/phpunit-speedtrap` from `plugins/jetpack`, since that doesn't support PHPUnit >9. If we decide we still want a slow-test thing, `ergebnis/phpunit-slow-test-detector` looks like a popular candidate. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/13956024003 Upstream-Ref: Automattic/jetpack@434125e
1 parent bf157b1 commit b5bed44

File tree

6 files changed

+327
-375
lines changed

6 files changed

+327
-375
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"type": "wordpress-plugin",
55
"license": "GPL-2.0-or-later",
66
"require": {
7-
"automattic/jetpack-device-detection": "^3.0.4"
7+
"automattic/jetpack-device-detection": "^3.0.5-alpha"
88
},
99
"require-dev": {
10-
"yoast/phpunit-polyfills": "^1.1.1",
11-
"automattic/jetpack-changelogger": "^6.0.1",
12-
"automattic/phpunit-select-config": "^1.0.0"
10+
"yoast/phpunit-polyfills": "^3.0.0",
11+
"automattic/jetpack-changelogger": "^6.0.2-alpha",
12+
"automattic/phpunit-select-config": "^1.0.1-alpha"
1313
},
1414
"autoload": {
1515
"classmap": [

0 commit comments

Comments
 (0)