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 supported13 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- 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
- Psalm remembers previous array key assertion even if array is replaced
- `int-mask<>` with `match` leads to a `DocblockTypeContradiction` false-positive
- `InvalidDocblock` while using constants with `int-mask-of<>`
- Add warning when checking `instanceof iterable`
- Checking variable class against static class const incorrectly infers self as type
- Docs
- PHP not yet supported