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 supported14 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- Psalm enters recursive loop analysing anonymous classes
- False-positive `InvalidArrayOffset` while accessing a list with an upper bound inside `for` loop
- checking for keys in $_SERVER changes type of $_SERVER['argv']
- Object property type changes after using it in if condition
- `preg_match` should assert array keys existence for every capture group and `non-empty-string` for non-* quantifiers
- Complex logical expression triggers poor performance
- Do not produce invalid array-key types with array_column
- InvalidArrayOffset: Invalid array key types not reported when assigning in loop
- False positive "PossiblyUnusedMethod" interface method when use in abstract class?
- Array key enumaration should handle negative numbers
- Docs
- PHP not yet supported