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
- Unused function call for array_map unlink
- Memoization of assertions of mutable and immutable values, later used in closures
- Allow in_array check to constrain type of array
- Inconsistent MethodSignatureMismatch reporting: it yields randomly and poiting to the wrong class
- Self-referencing error handler isn't seen to modify referenced variables
- Cannot silence InvalidReturnType to allow return-less methods via stub files
- False positive LessSpecificReturnStatement/MoreSpecificReturnType when using non-empty-array
- RedundantCondition after changing array key inside IF block
- false negative on undefined constant
- Object properties are not inferred when asserted
- Docs
- PHP not yet supported