diff --git a/composer.json b/composer.json index ee79b24..9bb6ab1 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "php": ">=7.4" }, "require-dev": { - "wp-phpunit/wp-phpunit": "6.9.4", + "wp-phpunit/wp-phpunit": "7.0.0", "yoast/phpunit-polyfills": "4.0.0", "squizlabs/php_codesniffer": "^3.13", "wp-coding-standards/wpcs": "^3.3" diff --git a/composer.lock b/composer.lock index 222c7c6..a16291a 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": "608aa96515db967ebe5ec62d19e88eed", + "content-hash": "1a972e5e2a81b96268aed02db7aca7ca", "packages": [], "packages-dev": [ { @@ -2222,16 +2222,16 @@ }, { "name": "wp-phpunit/wp-phpunit", - "version": "6.9.4", + "version": "7.0.0", "source": { "type": "git", "url": "https://github.com/wp-phpunit/wp-phpunit.git", - "reference": "15fd216bf6516670d8d07b938675925bfa5c15b0" + "reference": "06828a65f8276e31368fbe4c5f3d445332abc4c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-phpunit/wp-phpunit/zipball/15fd216bf6516670d8d07b938675925bfa5c15b0", - "reference": "15fd216bf6516670d8d07b938675925bfa5c15b0", + "url": "https://api.github.com/repos/wp-phpunit/wp-phpunit/zipball/06828a65f8276e31368fbe4c5f3d445332abc4c5", + "reference": "06828a65f8276e31368fbe4c5f3d445332abc4c5", "shasum": "" }, "type": "library", @@ -2266,7 +2266,7 @@ "issues": "https://github.com/wp-phpunit/issues", "source": "https://github.com/wp-phpunit/wp-phpunit" }, - "time": "2026-02-04T01:48:23+00:00" + "time": "2026-05-21T02:56:35+00:00" }, { "name": "yoast/phpunit-polyfills", diff --git a/package.json b/package.json index 6786cba..c42a355 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,11 @@ "pretest": "wp-env start && wp-env run cli --env-cwd='wp-content/plugins/wcpos-wpml' -- composer install && wp-env run tests-cli --env-cwd='wp-content/plugins/wcpos-wpml' -- composer install", "test": "wp-env run tests-cli --env-cwd='wp-content/plugins/wcpos-wpml' -- vendor/bin/phpunit -c phpunit.xml.dist" }, + "pnpm": { + "overrides": { + "ajv@>=7.0.0-alpha.0 <8.18.0": ">=8.18.0" + } + }, "devDependencies": { "@wordpress/env": "^11.6.0" }