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
- False positive MethodSignatureMismatch errors if parent class is stubbed
- #[ReturnTypeWillChange] does not report an error when used on non-built ins and also causes MethodSignatureMismatch to not report on built-ins
- If param has type hint but parent param does not, it results in a fatal error but psalm does not report an error for it
- Fix missing and inconsistent reporting of type hint issues and messages
- Scope checking for require
- Nullability breaks covariance in generics
- Docker image crashes on projects requiring PHP 8.5+ due to Composer platform check
- Improve coalesce temporary variable name in error messages
- psalm-assert-if-true doesn't work with first class callables
- Add "Forbidden Functions" support to MethodCallAnalyzer
- Docs
- PHP not yet supported