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
- AMPHP 3.x support
- Returning a constrained generic does not work
- Only one of the @psalm-assert* annotations is remembered
- [Enhancement] map type for keyed arrays that have identical values
- Incorrect RedundantCondition in if statement
- Feature/better config constant handling
- If array elements exceed maxArrayShapeSize unsealed type is inferred too generically
- 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
- Docs
- PHP not yet supported