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
- Notations assert-if* does not support unions in the same way as assert
- Implicit immutable object mutation is not detected
- Psalm can't infer argument type of nested closure
- Allow using "require-implements / require-extends" annotations from classes and interfaces scope
- Conditionals depending on arguments declared after by-reference arguments
- Intersection with an imported type
- PHP can catch non-extending interfaces, yet Psalm thinks this is not allowed
- UnusedVariable false positive with thrown and caught exceptions
- Detect flags in FilesystemIterator to get a more correct iterator type
- Detect which method is available in php version?
- Docs
- PHP not yet supported