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
- Narrow type after early return in negation of assertions with `=type`
- 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
- Complex logical expression triggers poor performance
- Do not produce invalid array-key types with array_column
- Array key enumaration should handle negative numbers
- "round" has wrong return type suddenly
- Psalm no longer recognizes boolean returns on enum functions
- preg_grep returns boolean false but psalm does not agree
- Docs
- PHP not yet supported