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
- Inherit `@property` from implemented interfaces
- Incorrect type inference for loose comparisons
- Class existence is wrong after checking class_exists in a nested block
- Argument unpacking issues
- json_encode pure?
- Warn about unused results of unary/binary/conditional operands?
- Forbid write access to entire `$GLOBALS`
- array_walk_recursive changes variable type to incorrect
- Psalm complaining about invalid docblock, while still correctly inferring it
- Logic operations not parsed correctly in combination with class_exists
- Docs
- PHP not yet supported