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
- Introduced bug in Psalm 5.16 about optionnal arguments in callable
- Trouble with array_key_exists+assignment in a foreach
- Fix magic method abstract class calls
- Types of a closure for usort
- psalm-check-type needs \ prefix on literals to correctly work when used inside namespace
- Interprets `list<int>|list<string>` as `list<int|string>`
- Fix incorrect isset/empty/array_key_exists assertions and types and report redundant checks correctly
- Passing an object to a function should handle property types - or at least reset if unable to infer
- Possible false positive: isset check for class static variables is required
- Array type with contiguous int keys is forced to a list type, considered incompatible with property type declaration
- Docs
- PHP not yet supported