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
- Expose the analysed function-like node on `FunctionLikeAnalyzer`
- `@method` param typed with 4+ literals is not enforced (collapsed to `string`/`int`)
- Trait method results depend on `--threads`: a failed docblock type check is cached as passed
- Fix: merge user stubs with autoloadable classes regardless of scan order
- Stub override of a trait-provided method is not inherited by subclasses
- Psalm forgets nullability check when combined with `!str_contains` in the same `||` guard
- Constants defined with a function call value are mixed under allConstantsGlobal
- Conditional return type in @method is not resolved
- [6.x] Infer `define()` constant types from internal function return types
- Fix crashes on first-class callables of inherited and provider-confirmed methods
- Docs
- PHP not yet supported