diff --git a/composer.json b/composer.json index c7ca3ad35..d77c30f71 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "automattic/vipwpcs": "^2.3", "dealerdirect/phpcodesniffer-composer-installer": "^0.7", "dg/bypass-finals": "1.1.3", - "php-stubs/wordpress-stubs": "^5.7", + "php-stubs/wordpress-stubs": "^6.8", "phpcompatibility/phpcompatibility-wp": "^2.1", "phpmd/phpmd": "^2.9", "roave/security-advisories": "dev-latest", diff --git a/composer.lock b/composer.lock index 8e2319c16..f138f54a2 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": "0b419b2a324674dda2efb56791447676", + "content-hash": "e630817abe5e1a53b41803a61498a2b0", "packages": [ { "name": "ampproject/amp-toolbox", @@ -1419,28 +1419,35 @@ }, { "name": "php-stubs/wordpress-stubs", - "version": "v5.7.2", + "version": "v6.8.2", "source": { "type": "git", "url": "https://github.com/php-stubs/wordpress-stubs.git", - "reference": "beda02c58f1c4689d42c8dde6a84f7f0c9c93f42" + "reference": "9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/beda02c58f1c4689d42c8dde6a84f7f0c9c93f42", - "reference": "beda02c58f1c4689d42c8dde6a84f7f0c9c93f42", + "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8", + "reference": "9c8e22e437463197c1ec0d5eaa9ddd4a0eb6d7f8", "shasum": "" }, - "replace": { - "giacocorsiglia/wordpress-stubs": "*" + "conflict": { + "phpdocumentor/reflection-docblock": "5.6.1" }, "require-dev": { - "giacocorsiglia/stubs-generator": "^0.5.0", - "php": "~7.1" + "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", + "phpstan/phpstan": "^2.1", + "phpunit/phpunit": "^9.5", + "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1", + "wp-coding-standards/wpcs": "3.1.0 as 2.3.0" }, "suggest": { "paragonie/sodium_compat": "Pure PHP implementation of libsodium", - "symfony/polyfill-php73": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan" }, "type": "library", @@ -1457,9 +1464,9 @@ ], "support": { "issues": "https://github.com/php-stubs/wordpress-stubs/issues", - "source": "https://github.com/php-stubs/wordpress-stubs/tree/v5.7.2" + "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.8.2" }, - "time": "2021-05-13T07:54:04+00:00" + "time": "2025-07-16T06:41:00+00:00" }, { "name": "phpcompatibility/php-compatibility", @@ -4075,8 +4082,8 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { - "sabberworm/php-css-parser": 20, - "roave/security-advisories": 20 + "roave/security-advisories": 20, + "sabberworm/php-css-parser": 20 }, "prefer-stable": true, "prefer-lowest": false, @@ -4088,9 +4095,9 @@ "ext-libxml": "*", "ext-mbstring": "*" }, - "platform-dev": [], + "platform-dev": {}, "platform-overrides": { "php": "7.0.0" }, - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.6.0" }