humanmade / psalm-plugin-wordpress
WordPress stubs and plugin for Psalm.
Installs: 76 957
Dependents: 5
Suggesters: 0
Security: 0
Stars: 46
Watchers: 26
Forks: 10
Open Issues: 10
Type:psalm-plugin
Requires
- ext-simplexml: *
- johnbillion/wp-hooks: ^0.4.4
- php-stubs/wordpress-stubs: ^5.5
- vimeo/psalm: ^4
Requires (Dev)
- phpunit/phpunit: ^9.0
- psalm/plugin-phpunit: ^0.15.1
This package is auto-updated.
Last update: 2022-07-19 10:00:09 UTC
README
WordPress plugin for Psalm Write type-safe WordPress code. |
|
A Human Made project. Maintained by @joehoyle. |
|
This Psalm plugin provides all WordPress (and WP CLI) stubs, so your WordPress based project or plugin will have type information for calls to WordPress APIs.
- Stubs for all of WordPress Core
- Stubs for WP CLI
- Types for
apply_filters
return values. - Types for
add_filter
/add_action