humanmade/psalm-plugin-wordpress

WordPress stubs and plugin for Psalm.

Installs: 3 953

Dependents: 5

Suggesters: 0

Security: 0

Stars: 26

Watchers: 22

Forks: 7

Open Issues: 3

Type:psalm-plugin

2.0.5 2021-05-26 08:45 UTC

This package is auto-updated.

Last update: 2021-07-03 07:51:33 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