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
- @var $this should infer that we are not in global scope for InvalidGlobal
- Tell psalm that file is not in global scope?
- Loop: type not restricted/asserted on negative conditions array access
- Array keys should never use mixed but array-key
- Mixed issues caused by own code vs Mixed issues caused by stubs
- Cannot assign combined list type to non-empty-list
- Unnecessary `isset` / `array_key_exists` checks not detected
- Parameterized class type inside typed collection.
- @template-extends not working with wildcard type even though it's the same type
- Object property type changed when used in if condition
- Docs
- PHP not yet supported