Skip to content

Commit 43f237a

Browse files
committed
fix: pin wordpress-stubs to 6.8.x for Psalm compatibility
WordPress 6.9 stubs contain type annotations that Psalm cannot parse. The stubs are only for static analysis; runtime uses actual WP 6.9.
1 parent 8b322a4 commit 43f237a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

plugins/wpgraphql-logging/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"johnpbloch/wordpress-core": "^6.9",
4949
"lucatume/wp-browser": "^4.0",
5050
"mockery/mockery": "^1.5",
51-
"php-stubs/wordpress-stubs": "^6.9",
51+
"php-stubs/wordpress-stubs": "~6.8.0",
5252
"phpcompatibility/php-compatibility": "^9.3",
5353
"phpcompatibility/phpcompatibility-wp": "^2.0",
5454
"phpstan/phpstan-strict-rules": "^2.0",

plugins/wpgraphql-logging/composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)