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
- Variable defined in while condition incorrectly marked as PossiblyUndefinedGlobalVariable
- Logic operations not parsed correctly in combination with class_exists
- Should a @param-out be considered a contract for sub-classes?
- Problem with literals
- Unexpected `InvalidArgument` with object union
- Assertions do not propagate to defined variables
- ImpureStaticProperty in immutable context when static property is @readonly
- Could not verify return type when union array<> and arraylike-object<>
- Template types/arrays not working in as callable parameters
- ImpureFunctionCall false-positive on preg_last_error() / preg_last_error_msg()
- Docs
- PHP not yet supported