diff --git a/README.md b/README.md index 102f6af..9fd4aba 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ This package provides a [PHPStan](https://phpstan.org/) extension for [Polylang](https://wordpress.org/plugins/polylang/) and [Polylang Pro](https://polylang.pro). It should be used in combination with [Polylang Stubs](https://github.com/polylang/polylang-stubs/). +> [!WARNING] +> Currently blocked to WordPress Stubs 6.9.4 until we find a solution to the issues we get with 7.0+. + ## Requirements - PHP 8+ diff --git a/composer.json b/composer.json index 4de0ef7..15f1349 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,8 @@ "type": "library", "require": { "php": "^8.0", - "szepeviktor/phpstan-wordpress": "^2.0" + "szepeviktor/phpstan-wordpress": "^2.0", + "php-stubs/wordpress-stubs": "6.9.4" }, "require-dev": { "phpunit/phpunit": "^9",