From cf9f53e2a11f52b8d2a3a41e0d1536056ea8a89b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Tue, 9 Jul 2024 22:34:11 +0200 Subject: [PATCH 1/2] Add WP_CONTENT_DIR to PHPStan stubs --- tests/phpstan/stubs.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/phpstan/stubs.php b/tests/phpstan/stubs.php index 690ab30d9..d68e180c3 100644 --- a/tests/phpstan/stubs.php +++ b/tests/phpstan/stubs.php @@ -1,5 +1,7 @@ Date: Tue, 9 Jul 2024 22:36:49 +0200 Subject: [PATCH 2/2] Add WP_PLUGIN_DIR to stubs.php --- tests/phpstan/stubs.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpstan/stubs.php b/tests/phpstan/stubs.php index d68e180c3..18c3891e8 100644 --- a/tests/phpstan/stubs.php +++ b/tests/phpstan/stubs.php @@ -1,6 +1,7 @@