diff --git a/composer.json b/composer.json index 497530e36e1..37b59e98254 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "php-stubs/wordpress-stubs": "5.9.6", "php-stubs/woocommerce-stubs": "6.8.0", "rregeer/phpunit-coverage-check": "0.3.1", - "yoast/phpunit-polyfills": "1.1.0", + "yoast/phpunit-polyfills": "3.0.0", "cweagans/composer-patches": "1.7.1", "automattic/jetpack-changelogger": "3.3.2", "spatie/phpunit-watcher": "1.23", diff --git a/composer.lock b/composer.lock index 2128df15f90..67a8c82469f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "595a21dda8d9c0943a32df05723b0e28", + "content-hash": "b13176600608cb9e12f50cdccf3818f0", "packages": [ { "name": "automattic/jetpack-a8c-mc-stats", @@ -938,13 +938,6 @@ "reference": "81d809a476e87c260492d4cc0413818d85e123cc", "shasum": "" }, - "archive": { - "exclude": [ - "!/build", - "*.zip", - "node_modules" - ] - }, "require": { "composer/installers": "~1.2", "php": "^7.1" @@ -959,6 +952,13 @@ "extra": { "phpcodesniffer-search-depth": 2 }, + "archive": { + "exclude": [ + "!/build", + "*.zip", + "node_modules" + ] + }, "scripts": { "phpcs": [ "bin/phpcs.sh" @@ -6845,29 +6845,31 @@ }, { "name": "yoast/phpunit-polyfills", - "version": "1.1.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", - "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212" + "reference": "19e6d5fb8aad31f731f774f9646a10c64a8843d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/224e4a1329c03d8bad520e3fc4ec980034a4b212", - "reference": "224e4a1329c03d8bad520e3fc4ec980034a4b212", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/19e6d5fb8aad31f731f774f9646a10c64a8843d2", + "reference": "19e6d5fb8aad31f731f774f9646a10c64a8843d2", "shasum": "" }, "require": { - "php": ">=5.4", - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" + "php": ">=7.0", + "phpunit/phpunit": "^6.4.4 || ^7.0 || ^8.0 || ^9.0 || ^11.0" }, "require-dev": { - "yoast/yoastcs": "^2.3.0" + "php-parallel-lint/php-console-highlighter": "^1.0.0", + "php-parallel-lint/php-parallel-lint": "^1.4.0", + "yoast/yoastcs": "^3.1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -6899,9 +6901,10 @@ ], "support": { "issues": "https://github.com/Yoast/PHPUnit-Polyfills/issues", + "security": "https://github.com/Yoast/PHPUnit-Polyfills/security/policy", "source": "https://github.com/Yoast/PHPUnit-Polyfills" }, - "time": "2023-08-19T14:25:08+00:00" + "time": "2024-09-07T00:24:25+00:00" }, { "name": "yosymfony/resource-watcher", @@ -6976,5 +6979,5 @@ "platform-overrides": { "php": "7.3" }, - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.6.0" }