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 supported17 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- fix(templates): an input equal to an atomic of the union does not bound the template
- fix(callable): a callable array naming a method declared by @method is callable
- Closure capturing a variable by reference returns its value at creation, ignoring the declared return type
- Implemented method with the same conditional return type as the interface reports ImplementedReturnTypeMismatch
- Conditional type on a parameter in an inline @var is reported as InvalidDocblock
- fix(coalesce): variables assigned in the call on the left of ?? are set on the right
- fix(assertions): a nullsafe call coalesced with a falsy literal narrows its receiver
- fix(callable): non-public static callbacks of the current class by class string
- fix(empty): no RiskyTruthyFalsyComparison for a required key of a sealed shape
- fix(property): name the object in property assignment messages
- Docs
- PHP not yet supported