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
- non-empty composite string made up of only expressions is incorrectly inferred as `string` instead of `non-empty-string`
- fix(analyzer): correct composite string handling, and improve string casting
- returning a generic `array-key` for generic parameter with constraint of `array-key` is incorrectly allowed
- Wrong inference of conditional return type with type argument
- PossiblyUnusedMethod when the method is only called in a property hook
- DOM extension updated
- Taint analysis does not detect tainted sources in Iterator implementations
- false-positive `UnusedParam` when variables are used in by-ref assignment.
- Different Code parts depending on other packages show different errors
- Different output based on the order of conditions in logical AND
- Docs
- PHP not yet supported