psalm
https://github.com/vimeo/psalm
PHP
A static analysis tool for finding errors in PHP applications
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
PHP not yet supported17 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- [6.x] Fix cold-cache crash when serializing deeply nested ASTs inside worker fibers
- Intern all symbol names as int ids
- Cold-cache scan crashes on PHP >= 8.3: AST serialize() in parallel worker fiber exceeds ~2 MiB fiber call-stack limit ("Infinite recursion?")
- Detect unused free functions; simplify dead-code roots
- Strict comparaison
- Uncaught `UnexpectedValueException` from `Methods::getStorage()` during taint analysis — method identifier case-normalized against a declaring class that doesn't have it
- Support star projection `*` as a generic type argument (`Foo<*>`)
- Keep the type of variables assigned in only some branches
- inherited methods and properties defined in child classes
- Plugin RemoveTaints answers can land on shared @psalm-flow edges and silence unrelated taint flows (AddRemoveTaintsEvent has no dispatch context)
- Docs
- PHP not yet supported