humanmade/psalm-plugin-wordpress

WordPress stubs and plugin for Psalm.

1.0.1 2020-07-11 13:50 UTC

This package is auto-updated.

Last update: 2020-10-29 07:45:56 UTC


README

WordPress plugin for Psalm
Write type-safe WordPress code.
A Human Made project. Maintained by @joehoyle. 68747470733a2f2f686d6e2e6d642f636f6e74656e742f7468656d65732f686d6e6d642f6173736574732f696d616765732f686d2d6c6f676f2e737667

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 (coming soon)