From afb3fba5fb858daa939647fa04c55eb8b979e99a Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 13 Jan 2025 20:07:00 +0100 Subject: [PATCH] Update phpstan-wordpress --- composer.json | 4 ++-- composer.lock | 31 +++++++++++++++---------------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/composer.json b/composer.json index 59da8c41e..491399e4b 100644 --- a/composer.json +++ b/composer.json @@ -56,8 +56,8 @@ "slope-it/clock-mock": "^0.4.0", "phpunit/php-code-coverage": "^9.2.32", "myclabs/deep-copy": "^1.12.0", - "phpstan/phpstan": "^2.1" - "szepeviktor/phpstan-wordpress": "^1.3", + "phpstan/phpstan": "^2.1", + "szepeviktor/phpstan-wordpress": "^2.0", "phpstan/extension-installer": "^1.4" } } diff --git a/composer.lock b/composer.lock index 5beab44b7..7057f3bd8 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": "3b912e78fc98b799c1ef8f7bad3ae94a", + "content-hash": "86a68c900a7db4caa9242e22f7465c33", "packages": [ { "name": "clue/stream-filter", @@ -4754,30 +4754,29 @@ }, { "name": "szepeviktor/phpstan-wordpress", - "version": "v1.3.5", + "version": "v2.0.1", "source": { "type": "git", "url": "https://github.com/szepeviktor/phpstan-wordpress.git", - "reference": "7f8cfe992faa96b6a33bbd75c7bace98864161e7" + "reference": "f7beb13cd22998e3d913fdb897a1e2553ccd637e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/7f8cfe992faa96b6a33bbd75c7bace98864161e7", - "reference": "7f8cfe992faa96b6a33bbd75c7bace98864161e7", + "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/f7beb13cd22998e3d913fdb897a1e2553ccd637e", + "reference": "f7beb13cd22998e3d913fdb897a1e2553ccd637e", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0", - "php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0", - "phpstan/phpstan": "^1.10.31", - "symfony/polyfill-php73": "^1.12.0" + "php": "^7.4 || ^8.0", + "php-stubs/wordpress-stubs": "^6.6.2", + "phpstan/phpstan": "^2.0" }, "require-dev": { "composer/composer": "^2.1.14", "dealerdirect/phpcodesniffer-composer-installer": "^1.0", "php-parallel-lint/php-parallel-lint": "^1.1", - "phpstan/phpstan-strict-rules": "^1.2", - "phpunit/phpunit": "^8.0 || ^9.0", + "phpstan/phpstan-strict-rules": "^2.0", + "phpunit/phpunit": "^9.0", "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.0", "wp-coding-standards/wpcs": "3.1.0 as 2.3.0" }, @@ -4811,9 +4810,9 @@ ], "support": { "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues", - "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.5" + "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v2.0.1" }, - "time": "2024-06-28T22:27:19+00:00" + "time": "2024-12-01T02:13:05+00:00" }, { "name": "theseer/tokenizer", @@ -4997,13 +4996,13 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, "platform": { "php": ">=7.4", "ext-json": "*" }, - "platform-dev": [], - "plugin-api-version": "2.3.0" + "platform-dev": {}, + "plugin-api-version": "2.6.0" }