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
- Arithmetics with int, if not impossible due to specified range, should always include float in type
- Multiple `@psalm-assert-if-false` wrongly narrows down only `true` code path
- false-positive `UnusedParam`
- `UnusedFunctionCall` when combining `return` with `require`
- Psalm lacks support for `open-resource`
- InvalidArgument - Argument 2 of usort expects a public static callable, but a non-public callable provided
- Psalm does not collect assertions from null-safe method calls
- InternalMethod error on class extending @internal abstract class
- alter and InvalidFalsableReturnType can generate invalid PHP code
- `array{...}` with sequential keys, and `list{...}` should be interchangeable.
- Docs
- PHP not yet supported