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
- Logical xor assertions aren't properly reconciled
- `$arrayLike[$key] ?? new Foo()` seems to recognized as `Foo | null` instead of `Foo`
- `$a === []` does not resolve `$a` to an array type
- The phar fails with an exception during config validation
- trait_exists($name, false) does not always resolve to trait-string
- Psalm-suppress doesn't work for MethodSignatureMismatch
- Variable is not an array regression
- psalm-assert-if-true does not complain if there are no checks of a parameter inside a function
- psalm-suppress UnusedVariable doesn't work in script root
- non-empty-list conditionals regression
- Docs
- PHP not yet supported