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 supported18 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- psalm is unable to detect the the resulting type of a property fetch if the selector could refer to more than 1 property.
- Test file extends internal final class
- invalid `InvalidReturnStatement` when using `int` template
- weird `ArgumentTypeCoercion` error when using an parameter after narrowing its type.
- false-positive `InvalidReturnStatement`
- accessing an array for read or write using a non-array-key type should not be allowed.
- When using property setter with wider typing, psalm does not accept setting.
- False positive -- RiskyTruthyFalsyComparison with array shape
- `@param-out` does not support generics.
- multiple issues in array destructuring
- Docs
- PHP not yet supported