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
- Global type not respected during taint analysis
- Type lost after array_walk
- InvalidTemplateParam in LimitIterator
- $this not understood in conditional return type
- isset()/empty() does not generate issues for non-existing/non-declared attributes and variables
- Inconsistent immutability assumptions causing incorrect type inference
- @psalm-internal namespace check confuses class name with a namespace
- RedundantPropertyInitializationCheck in constructor
- Detect known tainted callable variables
- Creating variables in `match` (`PHP 8`) can lead to `PossiblyUndefinedVariable` and `MixedArgument` false-positive warnings
- Docs
- PHP not yet supported