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
- Psalm failed to recongnize implicitly subtracted `null`
- False-positive `InvalidReturnType` when assigning and narrowing type inside `if` condition itself
- Keys NULL and BOOL gets messed up in array shapes
- Exceptions thrown in loops are not considered for MissingThrowsDocblock
- Unions of disjoint array shapes are not considered mutually exclusive by psalm after conditionals in code
- Returning a constrained generic does not work
- Only one of the @psalm-assert* annotations is remembered
- Incorrect RedundantCondition in if statement
- Feature/better config constant handling
- If array elements exceed maxArrayShapeSize unsealed type is inferred too generically
- Docs
- PHP not yet supported