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 supported16 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- Psalm treat an array as `array<array-key, mixed>` if it does not know the key type
- PSALM doesn't check if variable is used in finally block, if try block has return in it.
- Add nikic/php-parser v5 support
- Edge case where PossiblyNullIterator is thrown on known non-null value
- Psalm\Suppress annotations
- Literal string considered `!string` by `is_string()`
- "Cannot call method on possibly null value" inside if that confirms value is set
- [bug] psalm doesn't recognize @implements on concrete class
- [Bug] Psalm doesn't understand variable cannot ever be null in the current scope
- Intersection of sealed array with a templated array triggers unexpected PossiblyUndefinedStringArrayOffset
- Docs
- PHP not yet supported