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
- Properties typed as `self` resolved incorrectly in traits
- Optional before required function parameters not recognized
- Conditional interfaces are not recognized
- False-positive RedundantConditionGivenDocblockType
- Detect duplicate use statements that trigger a PHP fatal error
- InvalidArgument with wider parameter
- Fails to recognize UnusedMethodCall when calling pure method statically
- False-positive `ArgumentTypeCoercion` for `class-string<static>`
- Static property reads in mutation free contexts should be allowed
- The declared return type 'CollectionInterface<int, TKey:Collection as array-key>' for Collection::keys is incorrect, got 'Collection<int, TKey:Collection as array-key>'
- Docs
- PHP not yet supported