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 supported17 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- fix(enum): resolve global constants as enum case values
- Narrow a class comparison only for ::class, not for other class constants
- Infer an object cast of an array, scalar or null as an stdClass
- Type the matches of the preg_replace_callback callback as nullable with PREG_UNMATCHED_AS_NULL
- Add a stub of the protobuf extension for Message, Timestamp and Duration
- [6.x] Fix: false `AmbiguousConstantInheritance` for a constant reached through a parent class and an interface
- fix(class-string): do not check array literals as class names when the value type is a union
- fix(assert): don't check an is_*() call inside assert() a second time
- Keep the classes checked with class_exists() on both sides of && and ||
- fix(reconciler): report isset and ?? of an array offset that always exists
- Docs
- PHP not yet supported