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
- Unexpected `PossiblyNullPropertyFetch` after `$object?->property === %NOT_NULL%`
- Support extended types `stdClass<type>` and `stdClass{foo:type}`
- Unions of object shapes are not properly handled.
- Type lost after unrelated condition (templates).
- Upgrade array typehints with literal keys to keyed arrays
- Assert on var of nullsafe expr
- Allow specifying a custom default template type/begin implementing `@satisfies`
- Reproducible builds (fixes #10446)
- Type scoping in callable with by-reference use affecting by-value parameter.
- `callable` type is more relaxed than `callable&object` inferred by `__invoke` method
- Docs
- PHP not yet supported