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
- Signature / return types are lost when creating a closure from known callable string
- Inferred array keys marked as optional when source referenced in try catch
- Encourage using DOMDocument factory methods to prevent objects broken state
- Pushing to a list element changes the type of the list to `non-empty-array`
- Fix ElseIfAnalyzer inconsistency and remove dead code
- Null-safe usage within if condition asserts object ref is null
- Match with true or false in subject expression needs redundant casting to bool
- properties-of does not work with traits.
- Conditional and types ?
- Disjointed array shape blocks non-empty-array
- Docs
- PHP not yet supported