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
- [6.x] Support parameter-conditional types in `@self-out` / `@this-out`
- Detect unused free functions; simplify dead-code roots
- Type variables minted in namespaced file-scope code are never reconciled
- Strict comparaison
- Uncaught `UnexpectedValueException` from `Methods::getStorage()` during taint analysis — method identifier case-normalized against a declaring class that doesn't have it
- Support PHPStan's star projection `*` as a generic type argument (`Foo<*>`)
- false PossiblyUnusedParam errors and eval()
- Keep the type of variables assigned in only some branches
- variable variables yield UnusedVariable errors
- inherited methods and properties defined in child classes
- Docs
- PHP not yet supported