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
- No errors for array functions about broken changes since PHP 8
- no error for function marked pure returning global variable
- False positive: RedundantCondition - $foo is not in-array-Foo has already been asserted
- Wrong type `never` for `int` inside do-while loop
- InvalidArgument does not appear for invariant generics
- object types with optional properties don't get their inferred type changed after isset() check
- Callable type information is not preserved in class constants
- Incorrect assumptions about mysqli object parameters
- using $this in pure function
- Add InvalidDocblockTag issue.
- Docs
- PHP not yet supported