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
- Add psalm `--overlay-server` and `Psalm\Overlay\OverlaySession`
- Taint: by-reference out parameter node is shared across call sites, unlike the return value
- False PossiblyUndefinedArrayOffset when taking a reference to a possibly missing array offset
- False TypeDoesNotContainType on instanceof after passing a mixed value to a ?string parameter
- ReflectionClass::newInstanceWithoutConstructor(...)() is typed as a type variable, giving InvalidPropertyAssignment
- False PossiblyNullArgument for a possibly undefined variable passed to a by-reference out parameter
- Dynamic call through a union of function names is checked against only one of them
- Every named argument is numbered "Argument 1" in issue messages
- MixedPropertyTypeCoercion reported on `new SplObjectStorage()` instead of on the bad write
- Type of a variable after `while (true)` includes the type from a `continue` path
- Docs
- PHP not yet supported