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 supported18 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- UndefinedVariable if variable is defined inside function call
- Psalm stops checking for taint detection after call to eval()
- Bound closures should maintain return type.
- Flag non-stringable objects passed to `define()` (PHP <8.1)
- Type of $this seems to have changed after conditional return in trait
- MixedOperator error raised when using int|float-based template type with addition
- false positive UnusedVariable (in forach, use in return)
- False positive: array with optional keys does not accept generic array
- wrong template detection in composed instance
- Assertion reconciler not working if the key is in a variable
- Docs
- PHP not yet supported