diff --git a/composer.json b/composer.json index 5fefa795fa..caa388018a 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "phpcompatibility/phpcompatibility-wp": "*", "yoast/phpunit-polyfills": "^3.0", "phpunit/phpunit": "^9.5", - "php-stubs/wordpress-stubs": "^6.8", + "php-stubs/wordpress-stubs": "^7.0", "php-stubs/wordpress-tests-stubs": "^6.8" }, "autoload": { diff --git a/composer.lock b/composer.lock index 60a5d84057..9f9952f056 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": "6b6268ba2c15e3c66299046a44fd2a9c", + "content-hash": "2ebbf130feb2fb5e3e9ba02c7c79aece", "packages": [ { "name": "composer/installers", @@ -1549,16 +1549,16 @@ }, { "name": "php-stubs/wordpress-stubs", - "version": "v6.9.1", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "f12220f303e0d7c0844c0e5e957b0c3cee48d2f7" + "reference": "d74b963ed4f47303859bf73c741c80f554c83dc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/f12220f303e0d7c0844c0e5e957b0c3cee48d2f7", - "reference": "f12220f303e0d7c0844c0e5e957b0c3cee48d2f7", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/d74b963ed4f47303859bf73c741c80f554c83dc6", + "reference": "d74b963ed4f47303859bf73c741c80f554c83dc6", "shasum": "" }, "conflict": { @@ -1568,7 +1568,7 @@ "dealerdirect/phpcodesniffer-composer-installer": "^1.0", "nikic/php-parser": "^5.5", "php": "^7.4 || ^8.0", - "php-stubs/generator": "^0.8.3", + "php-stubs/generator": "^0.8.6", "phpdocumentor/reflection-docblock": "^6.0", "phpstan/phpstan": "^2.1", "phpunit/phpunit": "^9.5", @@ -1595,9 +1595,9 @@ ], "support": { "issues": "https://github.com/php-stubs/wordpress-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.9.1" + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v7.0.0" }, - "time": "2026-02-03T19:29:21+00:00" + "time": "2026-05-21T21:41:34+00:00" }, { "name": "php-stubs/wordpress-tests-stubs", @@ -4525,13 +4525,13 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], + "platform": {}, + "platform-dev": {}, "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.9.0" }