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
- class-string as array key gives false positive with multiple yields in a generator
- Emit redundant/impossible condition when the result of a pure getter is compared to itself
- Reconciliation issue for templated asserts
- @param-out cannot parse array type in docblock with trailing comma
- Don't report PossiblyUndefinedIntArrayOffset for $match[0], when preg_match returns 1.
- Unable to infer argument value within conditional return type when skipping args using named arguments
- Preventing use of `false` as an array key
- Classes implementing templated trait and interface cause InvalidArgument errors
- static return type not recognized
- `@psalm-assert-if-true` doesn't work if method moved to a trait
- Docs
- PHP not yet supported