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
- Normal variadic call interpreted as named-argument variadic call
- PossiblyUndefinedArrayOffset should not be emitted when an assertion on array key exists
- [Question] Stubs prioity, MethodReturnTypeProviderInterface for documented magic methods
- Notations assert-if* does not support unions in the same way as assert
- Implicit immutable object mutation is not detected
- 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
- Detect flags in FilesystemIterator to get a more correct iterator type
- Docs
- PHP not yet supported