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
- Fails to recognize UnusedMethodCall when calling pure method statically
- False-positive `ArgumentTypeCoercion` for `class-string<static>`
- Static property reads in mutation free contexts should be allowed
- The declared return type 'CollectionInterface<int, TKey:Collection as array-key>' for Collection::keys is incorrect, got 'Collection<int, TKey:Collection as array-key>'
- False-positive UnusedParam when including file inside method
- @psalm-mutation-free false-negative global modification
- Same code inferred in static method is different (and wrong) from normal function
- Bug: Ternary operator nullability checking
- Suggestion: Add nice error message for other missing `pcntl_`* functions too
- Class template type on static method
- Docs
- PHP not yet supported