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 supported14 Subscribers
Add a CodeTriage badge to psalm
Help out
- Issues
- Psalm 5.4 does not evaluate count() for the interval type of a loop index variable
- False positive PossiblyInvalidArrayAssignment & PropertyTypeCoercion when setting value in an array
- Merging object-like arrays on imported type does not work
- False positive on array access inside ternary operator where condition checks index exists
- isset test on optional key of unsealed array corrupts the type information of the corresponding array element
- Looping over `non-empty-list<non-empty-string>` gives just string
- isset on a string key should imply associative array
- Unable to infer template type from nested parametrised method call and fail to fix properly
- MethodSignatureMismatch - Argument 1 of DateTime::__unserialize has wrong type 'mixed', expecting 'array<array-key, mixed>' as defined by DateTimeInterface::__unserialize
- Unable to determine the type that $num is being assigned to
- Docs
- PHP not yet supported