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
- False positive UnusedVariable
- Detect duplicate literal strings
- False-positive `InvalidArgument` with callable Enum
- fix(analyzer): correct composite string handling, and improve string casting
- returning a generic `array-key` for generic parameter with constraint of `array-key` is incorrectly allowed
- Wrong inference of conditional return type with type argument
- PossiblyUnusedMethod when the method is only called in a property hook
- false-positive `UnusedParam` when variables are used in by-ref assignment.
- Different Code parts depending on other packages show different errors
- psalm does not report possibly undefined array key when using a generic `int` type as an index.
- Docs
- PHP not yet supported