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
- 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
- Constant reference inside array shape definition parsing failure
- Type inheritance not considered in templated values
- request for type detection w/ array_filter, string filters, also with ARRAY_FILTER_USE_KEY
- Closure return type not considered with @template annotation.
- Docs
- PHP not yet supported