Skip to content

Commit 04a94f0

Browse files
anomiexmatticbot
authored andcommitted
phpunit: Update to yoast/phpunit-polyfills v4 (#43231)
This brings in use of PHPUnit 12 for PHP 8.3+. Other than needing `phpunit.12.xml.dist` files (as symlinks to the PHPUnit 11 configs), this seems to work without issue after a few cleanups in #43215 and #43217. Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/14646946984 Upstream-Ref: Automattic/jetpack@320d92e
1 parent 3dc12b5 commit 04a94f0

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"automattic/jetpack-device-detection": "^3.0.6-alpha"
88
},
99
"require-dev": {
10-
"yoast/phpunit-polyfills": "^3.0.0",
10+
"yoast/phpunit-polyfills": "^4.0.0",
1111
"automattic/jetpack-changelogger": "^6.0.5-alpha",
1212
"automattic/phpunit-select-config": "^1.0.3-alpha"
1313
},

composer.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/automattic/jetpack-device-detection/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"php": ">=7.2"
88
},
99
"require-dev": {
10-
"yoast/phpunit-polyfills": "^3.0.0",
10+
"yoast/phpunit-polyfills": "^4.0.0",
1111
"automattic/jetpack-changelogger": "^6.0.5-alpha",
1212
"automattic/phpunit-select-config": "^1.0.3-alpha"
1313
},

vendor/composer/installed.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
"packages": [
33
{
44
"name": "automattic/jetpack-device-detection",
5-
"version": "3.0.6-alpha.1745352378",
6-
"version_normalized": "3.0.6.0-alpha1745352378",
5+
"version": "3.0.6-alpha.1745512883",
6+
"version_normalized": "3.0.6.0-alpha1745512883",
77
"dist": {
88
"type": "path",
99
"url": "/tmp/jetpack-build/Automattic/jetpack-device-detection",
10-
"reference": "252c6a144048fb6718693a4a2c22c5b5a052664f"
10+
"reference": "f3163853323ee19649b28b1c96d4c9c9f7f1ba5b"
1111
},
1212
"require": {
1313
"php": ">=7.2"
1414
},
1515
"require-dev": {
1616
"automattic/jetpack-changelogger": "^6.0.5-alpha",
1717
"automattic/phpunit-select-config": "^1.0.3-alpha",
18-
"yoast/phpunit-polyfills": "^3.0.0"
18+
"yoast/phpunit-polyfills": "^4.0.0"
1919
},
2020
"suggest": {
2121
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."

vendor/composer/installed.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
),
1212
'versions' => array(
1313
'automattic/jetpack-device-detection' => array(
14-
'pretty_version' => '3.0.6-alpha.1745352378',
15-
'version' => '3.0.6.0-alpha1745352378',
16-
'reference' => '252c6a144048fb6718693a4a2c22c5b5a052664f',
14+
'pretty_version' => '3.0.6-alpha.1745512883',
15+
'version' => '3.0.6.0-alpha1745512883',
16+
'reference' => 'f3163853323ee19649b28b1c96d4c9c9f7f1ba5b',
1717
'type' => 'jetpack-library',
1818
'install_path' => __DIR__ . '/../automattic/jetpack-device-detection',
1919
'aliases' => array(),

0 commit comments

Comments
 (0)