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
- Passing an object to a function should handle property types - or at least reset if unable to infer
- Possible false positive: isset check for class static variables is required
- Array type with contiguous int keys is forced to a list type, considered incompatible with property type declaration
- Different results for `strval()` and `(string)`
- CI/Shepherd not checking test files itself
- Cannot suppress InvalidParamDefault for promoted property
- Generic return type of `callable` inferred as `never`, triggering "MixedArgumentTypeCoercion"
- Callmap - distinguish between docblock and signature types
- Accessing different nested object properties trigger MixedPropertyFetch
- Sanity check tests in CI
- Docs
- PHP not yet supported