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
- `callable` type is more relaxed than `callable&object` inferred by `__invoke` method
- Inconsistant handling of callable(...)
- false is not eliminated when comparing against != ""
- Condition of for and while loop conditions is not considered evaluated
- FFI::memcmp complains with InvalidPassByReference
- Math on FFI\CData is not supported
- Undefined variable with ad-hoc reference in array
- A variable being null is not memoized together with the value after null-safe calls
- If a null-safe method call does not return null, it implies that the object is definitely not null
- Type check stored in variable is ignored
- Docs
- PHP not yet supported