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
- Incorrect array type recognition
- Assertions used as function argument are repeated
- False Positive - UnusedVariable when Pre-increment variable
- False positive PossiblyInvalidArgument when using templates and handling type conditionally
- Assertions in array used as foreach value are repeated
- Broken SARIF output
- False negative: TaintedCallable not fixed, when text checked against dynamically created array contents
- MismatchingDocblockReturnType not working correctly
- Iterated value is assumed to be always nullable if implementation of Iterator::current() allows null return value
- Treat DocBlock types as uncertain
- Docs
- PHP not yet supported