humanmade/psalm-plugin-wordpress

WordPress stubs and plugin for Psalm.

Installs: 1 329

Dependents: 4

Suggesters: 0

Security: 0

Stars: 23

Watchers: 21

Forks: 6

Open Issues: 3

Type:psalm-plugin

2.0.3 2021-02-16 14:51 UTC

This package is auto-updated.

Last update: 2021-04-10 12:29:18 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