Skip to content

Commit d8971ef

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 b660fc4 commit d8971ef

25 files changed

+102
-92
lines changed

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"name": "automattic/jetpackcrm",
33
"description": "[Jetpack CRM](https://jetpackcrm.com) Core CRM Plugin - WordPress.org Hosted",
44
"require-dev": {
5-
"automattic/jetpack-changelogger": "^6.0.1",
5+
"automattic/jetpack-changelogger": "^6.0.2-alpha",
66
"codeception/codeception": "^4.1 || ^5.0",
77
"codeception/module-asserts": "^2.0 || ^3.0",
88
"codeception/module-phpbrowser": "^2.0 || ^3.0",
99
"codeception/module-webdriver": "^2.0 || ^3.0 || ^4.0",
1010
"codeception/module-db": "^2.0 || 3.1.0 || ^3.1.2",
1111
"codeception/module-filesystem": "^2.0 || ^3.0",
1212
"codeception/util-universalframework": "^1.0",
13-
"yoast/phpunit-polyfills": "^1.1.1",
14-
"automattic/phpunit-select-config": "^1.0.0"
13+
"yoast/phpunit-polyfills": "^3.0.0",
14+
"automattic/phpunit-select-config": "^1.0.1-alpha"
1515
},
1616
"scripts": {
1717
"build-development": [
@@ -55,9 +55,9 @@
5555
},
5656
"require": {
5757
"php": ">=7.4",
58-
"automattic/jetpack-assets": "^4.0.13",
59-
"automattic/jetpack-autoloader": "^5.0.4",
60-
"automattic/jetpack-composer-plugin": "^4.0.3",
58+
"automattic/jetpack-assets": "^4.0.14-alpha",
59+
"automattic/jetpack-autoloader": "^5.0.5-alpha",
60+
"automattic/jetpack-composer-plugin": "^4.0.4-alpha",
6161
"automattic/woocommerce": "^3.1",
6262
"dompdf/dompdf": "^2.0"
6363
},

jetpack_vendor/automattic/jetpack-assets/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [4.0.14-alpha] - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
812
## [4.0.13] - 2025-03-18
913
### Changed
1014
- Update dependencies. [#42545]
@@ -588,6 +592,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
588592

589593
- Statically access asset tools
590594

595+
[4.0.14-alpha]: https://github.com/Automattic/jetpack-assets/compare/v4.0.13...v4.0.14-alpha
591596
[4.0.13]: https://github.com/Automattic/jetpack-assets/compare/v4.0.12...v4.0.13
592597
[4.0.12]: https://github.com/Automattic/jetpack-assets/compare/v4.0.11...v4.0.12
593598
[4.0.11]: https://github.com/Automattic/jetpack-assets/compare/v4.0.10...v4.0.11

jetpack_vendor/automattic/jetpack-assets/composer.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"license": "GPL-2.0-or-later",
66
"require": {
77
"php": ">=7.2",
8-
"automattic/jetpack-constants": "^3.0.4"
8+
"automattic/jetpack-constants": "^3.0.5-alpha"
99
},
1010
"require-dev": {
1111
"brain/monkey": "^2.6.2",
12-
"yoast/phpunit-polyfills": "^1.1.1",
13-
"automattic/jetpack-changelogger": "^6.0.1",
12+
"yoast/phpunit-polyfills": "^3.0.0",
13+
"automattic/jetpack-changelogger": "^6.0.2-alpha",
1414
"wikimedia/testing-access-wrapper": "^1.0 || ^2.0 || ^3.0",
15-
"automattic/phpunit-select-config": "^1.0.0"
15+
"automattic/phpunit-select-config": "^1.0.1-alpha"
1616
},
1717
"suggest": {
1818
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."

jetpack_vendor/automattic/jetpack-constants/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [3.0.5-alpha] - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
812
## [3.0.4] - 2025-03-12
913
### Changed
1014
- Internal updates.
@@ -198,6 +202,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
198202

199203
- Packages: Finish the constants package
200204

205+
[3.0.5-alpha]: https://github.com/Automattic/jetpack-constants/compare/v3.0.4...v3.0.5-alpha
201206
[3.0.4]: https://github.com/Automattic/jetpack-constants/compare/v3.0.3...v3.0.4
202207
[3.0.3]: https://github.com/Automattic/jetpack-constants/compare/v3.0.2...v3.0.3
203208
[3.0.2]: https://github.com/Automattic/jetpack-constants/compare/v3.0.1...v3.0.2

jetpack_vendor/automattic/jetpack-constants/composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
},
99
"require-dev": {
1010
"brain/monkey": "^2.6.2",
11-
"yoast/phpunit-polyfills": "^1.1.1",
12-
"automattic/jetpack-changelogger": "^6.0.1",
13-
"automattic/phpunit-select-config": "^1.0.0"
11+
"yoast/phpunit-polyfills": "^3.0.0",
12+
"automattic/jetpack-changelogger": "^6.0.2-alpha",
13+
"automattic/phpunit-select-config": "^1.0.1-alpha"
1414
},
1515
"suggest": {
1616
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."

jetpack_vendor/i18n-map.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
'packages' => array(
77
'jetpack-assets' => array(
88
'path' => 'jetpack_vendor/automattic/jetpack-assets',
9-
'ver' => '4.0.13',
9+
'ver' => '4.0.14-alpha1742415897',
1010
),
1111
),
1212
);

vendor/autoload_packages.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @package automattic/jetpack-autoloader
66
*/
77

8-
namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_6_0_alpha\al5_0_4;
8+
namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_6_0_alpha\al5_0_5_alpha;
99

1010
// phpcs:ignore
1111

vendor/composer/installed.json

+25-25
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22
"packages": [
33
{
44
"name": "automattic/jetpack-assets",
5-
"version": "4.0.13",
6-
"version_normalized": "4.0.13.0",
5+
"version": "4.0.14-alpha.1742415897",
6+
"version_normalized": "4.0.14.0-alpha1742415897",
77
"dist": {
88
"type": "path",
99
"url": "/tmp/jetpack-build/Automattic/jetpack-assets",
10-
"reference": "8fadcc5a91736665f741b958e794059d4c68d315"
10+
"reference": "30f60d6931db25869a7c1d6e002af9d3213caf8d"
1111
},
1212
"require": {
13-
"automattic/jetpack-constants": "^3.0.4",
13+
"automattic/jetpack-constants": "^3.0.5-alpha",
1414
"php": ">=7.2"
1515
},
1616
"require-dev": {
17-
"automattic/jetpack-changelogger": "^6.0.1",
18-
"automattic/phpunit-select-config": "^1.0.0",
17+
"automattic/jetpack-changelogger": "^6.0.2-alpha",
18+
"automattic/phpunit-select-config": "^1.0.1-alpha",
1919
"brain/monkey": "^2.6.2",
2020
"wikimedia/testing-access-wrapper": "^1.0 || ^2.0 || ^3.0",
21-
"yoast/phpunit-polyfills": "^1.1.1"
21+
"yoast/phpunit-polyfills": "^3.0.0"
2222
},
2323
"suggest": {
2424
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."
@@ -75,22 +75,22 @@
7575
},
7676
{
7777
"name": "automattic/jetpack-autoloader",
78-
"version": "5.0.4",
79-
"version_normalized": "5.0.4.0",
78+
"version": "5.0.5-alpha.1742415897",
79+
"version_normalized": "5.0.5.0-alpha1742415897",
8080
"dist": {
8181
"type": "path",
8282
"url": "/tmp/jetpack-build/Automattic/jetpack-autoloader",
83-
"reference": "7d90256fcb2c83a732e71165ce12469674ced3f0"
83+
"reference": "dc6ed5abe1957177f74460339779916f7467c296"
8484
},
8585
"require": {
8686
"composer-plugin-api": "^2.2",
8787
"php": ">=7.2"
8888
},
8989
"require-dev": {
90-
"automattic/jetpack-changelogger": "^6.0.1",
91-
"automattic/phpunit-select-config": "^1.0.0",
90+
"automattic/jetpack-changelogger": "^6.0.2-alpha",
91+
"automattic/phpunit-select-config": "^1.0.1-alpha",
9292
"composer/composer": "^2.2",
93-
"yoast/phpunit-polyfills": "^1.1.1"
93+
"yoast/phpunit-polyfills": "^3.0.0"
9494
},
9595
"type": "composer-plugin",
9696
"extra": {
@@ -147,22 +147,22 @@
147147
},
148148
{
149149
"name": "automattic/jetpack-composer-plugin",
150-
"version": "4.0.3",
151-
"version_normalized": "4.0.3.0",
150+
"version": "4.0.4-alpha.1742415897",
151+
"version_normalized": "4.0.4.0-alpha1742415897",
152152
"dist": {
153153
"type": "path",
154154
"url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin",
155-
"reference": "f4ecc5a2415aa33bd5c7bfc87f8bf2cbd0276853"
155+
"reference": "fadcf5238300c955673b5f967b678c810af2982b"
156156
},
157157
"require": {
158158
"composer-plugin-api": "^2.2",
159159
"php": ">=7.2"
160160
},
161161
"require-dev": {
162-
"automattic/jetpack-changelogger": "^6.0.1",
163-
"automattic/phpunit-select-config": "^1.0.0",
162+
"automattic/jetpack-changelogger": "^6.0.2-alpha",
163+
"automattic/phpunit-select-config": "^1.0.1-alpha",
164164
"composer/composer": "^2.2",
165-
"yoast/phpunit-polyfills": "^1.1.1"
165+
"yoast/phpunit-polyfills": "^3.0.0"
166166
},
167167
"type": "composer-plugin",
168168
"extra": {
@@ -211,21 +211,21 @@
211211
},
212212
{
213213
"name": "automattic/jetpack-constants",
214-
"version": "3.0.4",
215-
"version_normalized": "3.0.4.0",
214+
"version": "3.0.5-alpha.1742415897",
215+
"version_normalized": "3.0.5.0-alpha1742415897",
216216
"dist": {
217217
"type": "path",
218218
"url": "/tmp/jetpack-build/Automattic/jetpack-constants",
219-
"reference": "d086105251107adad03590b54efda28650465a28"
219+
"reference": "6778831f8d903a9787c55a853e28e74e84679887"
220220
},
221221
"require": {
222222
"php": ">=7.2"
223223
},
224224
"require-dev": {
225-
"automattic/jetpack-changelogger": "^6.0.1",
226-
"automattic/phpunit-select-config": "^1.0.0",
225+
"automattic/jetpack-changelogger": "^6.0.2-alpha",
226+
"automattic/phpunit-select-config": "^1.0.1-alpha",
227227
"brain/monkey": "^2.6.2",
228-
"yoast/phpunit-polyfills": "^1.1.1"
228+
"yoast/phpunit-polyfills": "^3.0.0"
229229
},
230230
"suggest": {
231231
"automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package."

vendor/composer/installed.php

+12-12
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,36 @@
1111
),
1212
'versions' => array(
1313
'automattic/jetpack-assets' => array(
14-
'pretty_version' => '4.0.13',
15-
'version' => '4.0.13.0',
16-
'reference' => '8fadcc5a91736665f741b958e794059d4c68d315',
14+
'pretty_version' => '4.0.14-alpha.1742415897',
15+
'version' => '4.0.14.0-alpha1742415897',
16+
'reference' => '30f60d6931db25869a7c1d6e002af9d3213caf8d',
1717
'type' => 'jetpack-library',
1818
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets',
1919
'aliases' => array(),
2020
'dev_requirement' => false,
2121
),
2222
'automattic/jetpack-autoloader' => array(
23-
'pretty_version' => '5.0.4',
24-
'version' => '5.0.4.0',
25-
'reference' => '7d90256fcb2c83a732e71165ce12469674ced3f0',
23+
'pretty_version' => '5.0.5-alpha.1742415897',
24+
'version' => '5.0.5.0-alpha1742415897',
25+
'reference' => 'dc6ed5abe1957177f74460339779916f7467c296',
2626
'type' => 'composer-plugin',
2727
'install_path' => __DIR__ . '/../automattic/jetpack-autoloader',
2828
'aliases' => array(),
2929
'dev_requirement' => false,
3030
),
3131
'automattic/jetpack-composer-plugin' => array(
32-
'pretty_version' => '4.0.3',
33-
'version' => '4.0.3.0',
34-
'reference' => 'f4ecc5a2415aa33bd5c7bfc87f8bf2cbd0276853',
32+
'pretty_version' => '4.0.4-alpha.1742415897',
33+
'version' => '4.0.4.0-alpha1742415897',
34+
'reference' => 'fadcf5238300c955673b5f967b678c810af2982b',
3535
'type' => 'composer-plugin',
3636
'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin',
3737
'aliases' => array(),
3838
'dev_requirement' => false,
3939
),
4040
'automattic/jetpack-constants' => array(
41-
'pretty_version' => '3.0.4',
42-
'version' => '3.0.4.0',
43-
'reference' => 'd086105251107adad03590b54efda28650465a28',
41+
'pretty_version' => '3.0.5-alpha.1742415897',
42+
'version' => '3.0.5.0-alpha1742415897',
43+
'reference' => '6778831f8d903a9787c55a853e28e74e84679887',
4444
'type' => 'jetpack-library',
4545
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants',
4646
'aliases' => array(),

0 commit comments

Comments
 (0)