From 8455f7527ecc16db92e0c504693ab27b2565aae6 Mon Sep 17 00:00:00 2001 From: Hug0-Drelon Date: Mon, 9 Feb 2026 18:10:33 +0100 Subject: [PATCH 1/2] Move wpsyntex/polylang-stubs to dev dependencies. --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index f5c893f..4de0ef7 100644 --- a/composer.json +++ b/composer.json @@ -6,11 +6,11 @@ "type": "library", "require": { "php": "^8.0", - "szepeviktor/phpstan-wordpress": "^2.0", - "wpsyntex/polylang-stubs": "dev-master" + "szepeviktor/phpstan-wordpress": "^2.0" }, "require-dev": { - "phpunit/phpunit": "^9" + "phpunit/phpunit": "^9", + "wpsyntex/polylang-stubs": "dev-master" }, "autoload": { "psr-4": { From efee1bcb0749f3e43b6681c52e7d16b84205c12f Mon Sep 17 00:00:00 2001 From: Hug0-Drelon Date: Mon, 9 Feb 2026 18:11:15 +0100 Subject: [PATCH 2/2] Update README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 014bbd2..102f6af 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Include the extension and stubs in the PHPStan configuration file. includes: - vendor/wpsyntex/polylang-phpstan/extension.neon parameters: - stubFiles: + scanFiles: - vendor/wpsyntex/polylang-stubs/polylang-stubs.php ```