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
- fix(parser): report a duplicate type in a native union
- feat(reconciler): a non-empty string that is not "0" is non-falsy
- --find-references-to for a method misses calls whose return value is used
- A falsy nullsafe method call narrows its base to null
- Ship a user-facing AI agent skill with the package
- Generic class without type arguments rejects instances when a template has a bound
- Add a CLI flag to skip taint analysis for one run
- ⭐️ Support star projection `*` syntax in generic type arguments
- instanceof narrowing of a concrete generic parent to a child fixing one parent argument reports DocblockTypeContradiction and loses the type arguments
- `@return static` called through an instance static call drops the receiver type arguments
- Docs
- PHP not yet supported