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
- mixed + non-empty-literal-string = string
- Invalid `InvalidPropertyAssignmentValue` when assigning value to a private property
- false positive on `InvalidPropertyAssignmentValue`
- Provide a way to distinguish constant-originated literal from string literals
- No errors for array functions about broken changes since PHP 8
- Callable type information is not preserved in class constants
- using $this in pure function
- ImpureVariable - cannot reference $this in a pure context
- `@psalm-this-out` must allow changes to property type
- PossiblyInvalidArgument reported for array item that was previously filtered with instanceof
- Docs
- PHP not yet supported