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
- Resolve static::$p to its property when it is passed by reference
- Keep the invariance check of a template nested in a generic param
- Report a stringable object in the index column of array_column since PHP 8
- Remember a property of an interface that a shape or a mixin gives
- Psalter applies file edits from a discarded loop analysis pass
- Fix: ImpureMethodCall when a PSR-3 logger converts its Stringable message
- Impure function and static calls cost write-refs, impure instance calls don't
- echo, print and string parameters don't charge __toString
- Taint the body of a function-like with the arguments its variadic parameter is given after its first
- Don't report what die, exit and unpacked arguments of printf() and the like print from CLI code
- Docs
- PHP not yet supported