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 supported17 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- Conditional @param-out assertions don't work as expected
- Conditional @param-out broken - most cases of psalm's phpstubs affected
- Foreach loop 2 if with !empty modify/asserts type outside of condition, therefore modifying the type of unrelated key/values
- class-map-string does not perform well when passing a class string literal for setting
- Associative array destructuring warns with nullable array
- Treat some Datetime format as numeric string
- Private constructors that are not called are not dead code
- Mixed type of return value for a static variable that is assigned a specific type
- psalm-if-this-is seems too restrictive
- [lsp] provide completions for `@psalm-*` docblock tags
- Docs
- PHP not yet supported