humanmade/psalm-plugin-wordpress

WordPress stubs and plugin for Psalm.

Installs: 10 950

Dependents: 6

Suggesters: 0

Security: 0

Stars: 30

Watchers: 26

Forks: 8

Open Issues: 5

Type:psalm-plugin

2.0.5 2021-05-26 08:45 UTC

This package is auto-updated.

Last update: 2021-10-08 10:53:37 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