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
- Narrowing down of an instance class in `else` branch doesn't work
- Covariance of class strings for templates
- Psalm crashes after start on PhpParser\Lexer\Emulative::__construct() :(
- psalm-assert-if-false annotation does not work as expected
- Possible to improve/preserve `non-empty-string` type when `\substr(T, 0, positive-int)` is used?
- Incorrect type detection when null-safe operator usage
- clearstatcache 2nd argument is unused if 1st arg is not true should report error
- Invalid type detect after AND condition
- "false cannot be cast to int" with truthy-string (Can't repro in sandbox)
- InvalidArgument: 'expects a public static callable, but a non-static callable provided'
- Docs
- PHP not yet supported