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
- False positive: UnusedMethodCall when `find-dead-code` is turned on
- Array assignment type inconsistencies
- Top-level @var ignored if file has any "use" statement
- Covariant native return type defeats `@implements IteratorAggregate<X, Y>`
- Missing support for templates resolution in closures/callables/first class callables
- Unable to determine object type
- How to approach typing of `$val = require 'file.php'`
- Recursive array merging and replacing
- Bitwise assignment doesn't change type
- MixedAssignment when assigning mixed value with string key to array<string,mixed>
- Docs
- PHP not yet supported