diff --git a/composer.json b/composer.json index 61df8031562..cdbae130830 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "google/cloud-storage": "^1.0", "mikey179/vfsstream": "1.6.12", "mustache/mustache": "^2", - "php-stubs/wordpress-stubs": "^6.0", + "php-stubs/wordpress-stubs": "^7.0", "phpcompatibility/phpcompatibility-wp": "2.1.7", "phpdocumentor/reflection": "^3.0", "phpstan/phpstan": "^2.1.13", diff --git a/composer.lock b/composer.lock index dfff7129fa4..2c875c866f4 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": "b05de2de99d78aa64d8b3745b1e22fa2", + "content-hash": "57575a800ba1a1988f083ed1bf108eb9", "packages": [ { "name": "ampproject/amp-toolbox", @@ -2598,16 +2598,16 @@ }, { "name": "php-stubs/wordpress-stubs", - "version": "v6.8.2", + "version": "v7.0.0", "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8" + "reference": "d74b963ed4f47303859bf73c741c80f554c83dc6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8", - "reference": "9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/d74b963ed4f47303859bf73c741c80f554c83dc6", + "reference": "d74b963ed4f47303859bf73c741c80f554c83dc6", "shasum": "" }, "conflict": { @@ -2617,10 +2617,11 @@ "dealerdirect/phpcodesniffer-composer-installer": "^1.0", "nikic/php-parser": "^5.5", "php": "^7.4 || ^8.0", - "php-stubs/generator": "^0.8.3", - "phpdocumentor/reflection-docblock": "^5.4.1", + "php-stubs/generator": "^0.8.6", + "phpdocumentor/reflection-docblock": "^6.0", "phpstan/phpstan": "^2.1", "phpunit/phpunit": "^9.5", + "symfony/polyfill-php80": "*", "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1", "wp-coding-standards/wpcs": "3.1.0 as 2.3.0" }, @@ -2643,9 +2644,9 @@ ], "support": { "issues": "https://github.com/php-stubs/wordpress-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.8.2" + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v7.0.0" }, - "time": "2025-07-16T06:41:00+00:00" + "time": "2026-05-21T21:41:34+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -8904,5 +8905,5 @@ "platform-overrides": { "php": "7.4" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.9.0" }