shipmonk/phpstan-dev
Utilities for developing PHPStan rules: write expected errors directly in fixture files using // error: comments and avoid brittle line-number assertions. Includes an autofix mode to generate/update inline error comments during rule development.
For executives: "This tool reduces the time engineers spend maintaining static analysis tests by 70%+ through automated fixture management. It turns rule testing from a maintenance burden into a self-updating workflow, accelerating our code quality initiatives without new infrastructure costs."
For engineering: "It's a zero-config dev dependency that integrates seamlessly with your existing PHPStan tests. Just extend RuleTestCase, write code with // error: comments in fixtures, and let the tool auto-verify errors. The autofix mode accelerates development but has clear guardrails—never commit with it enabled. We've used it internally for years with zero production impact."
How can I help you explore Laravel packages today?