Pular para o conteúdo
Kitbay
Enviar
SkillOficial

wp-phpstan

GPL-2.0-or-laterAtualizado em 9 de nov. de 20262.352Estrelas no GitHubInclui scripts

A WordPress project skill for PHPStan static analysis in plugins, themes and sites.

O que a skill ensina

A WordPress project skill for PHPStan static analysis in plugins, themes and sites. It shows the agent how to find existing PHPStan setup, load WordPress core stubs, write a sensible phpstan.neon, fix errors with WordPress-specific type annotations rather than suppressing them, deal with classes from third-party plugins, and use a baseline only as a migration aid. It needs a Composer-based PHPStan install and includes a helper script.

O que faz

  • Set up PHPStan for a WordPress project
  • Load WordPress core stubs
  • Fix type errors with WordPress annotations
  • Manage a PHPStan baseline