sloppy
View on GitHubStatic analysis for the debt AI agents leave in PHP: 26 rules, Claude Code hooks, git-diff review, a Rector and Pint fix pass, Pest expectations, CI annotations and an MCP server. Deterministic, local, no LLM.
A deterministic PHP static analyzer for maintainability issues commonly introduced during AI-assisted coding. It provides agent hooks, diff review, CI checks, MCP access, and Rector/Pint fixes without using an LLM.
Use Cases
Catch maintainability issues in code written by coding agentsRun checks after agent edits with Claude Code hooksReview only new findings in a Git diffGate new technical debt in CIExpose code analysis to agents through an MCP serverApply mechanical fixes with Rector and Pint
Built With
- Language
- PHP
- Frameworks
- Claude Code · Laravel · Pest · Rector · Laravel Pint · PHPStan · Psalm · Symfony Console · MCP
Tags
PHP · static analysis · AI coding agents · code quality · technical debt · Claude Code · MCP · Laravel · CI · code review