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
- Typecasting object to array should not lose type information
- Imported type intersection only works when using psalm-import-type alias and non-alias name inconsistently
- `PossiblyUndefinedStringArrayOffset` is not reported in the class method with no key checking, but works outside
- False positive InvalidReturnType for method that always throws
- Different output for `get_class` and `::class`
- Inconsistent mixed behavior on assignment
- Incorrect int range for variable decremented in loop
- Type lost on str_starts_with() invoke
- @psalm-internal must not propagate to private functions
- Missing falsy type after `or` operator with `throw` expression in `finally` block
- Docs
- PHP not yet supported