wildwolf / wordpress-test-library-stubs
Stubs for WordPress test library
Fund package maintenance!
www.paypal.com/donate/?hosted_button_id=SAG6877JDJ3KU
send.monobank.ua/jar/7rosVfiwKM
Installs: 227 046
Dependents: 6
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 1
Requires
- php: ^7.4 || ^8.0
Requires (Dev)
- giacocorsiglia/stubs-generator: ^0.5.0
- 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 giacocorsiglia/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>