wildwolf / wordpress-test-library-stubs
Stubs for WordPress test library
Package info
github.com/sjinks/wordpress-test-library-stubs
pkg:composer/wildwolf/wordpress-test-library-stubs
Fund package maintenance!
6.8.1
2025-06-24 06:31 UTC
Requires
- php: ^7.4 || ^8.0
Requires (Dev)
- php-stubs/generator: ^0.8.5
- wp-phpunit/wp-phpunit: ^6.0
README
This package provides stub declarations for the WordPress Test Library.
The stubs were generated directly from the source code with the help of php-stubs/generator.
Installation
composer require --dev wildwolf/wordpress-test-library-stubs
Usage with Psalm
Update your Psalm configuration file to include the following code:
<stubs> <file name="vendor/wildwolf/wordpress-test-library-stubs/wordpress-test-library-stubs.php" /> </stubs>