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
- Greater than or less than comparison when types are different or one is an object should report issue
- @var doblock collapses object{} and class notation
- Subtype error when parent class includes class-string and callable params
- Would expect `InvalidStaticInvocation` or `UndefinedMagicMethod`
- Invalid `UndefinedDocblockClass` / `MismatchingDocblockParamType` when using constant literals as a parameter type.
- ParadoxicalCondition not detected in default with return
- Unknown type within template with @param array<T>
- No error after checking `empty` array offset.
- Using $this is final class where static is expected leads to false-positive?
- Exclude user predefined constants/functions
- Docs
- PHP not yet supported