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
- Human-readable reports print control and bidi characters from analyzed code verbatim
- Add --timeout that stops the run cleanly and still writes partial results
- DeprecatedClass on declarations depends on analysis order (failing tests)
- No narrowing after an || whose right side negates a call with an `=` assertion
- Taint: calls through call_user_func() and first-class callables of methods don't connect the method's taints
- Taint analysis: resolve the array keys that are parameters to the keys each call passes, through unspecialized, nested and despecialized calls
- `@param-out` ignores the declaring class: `self`/`static` leak through first-class callables (crash), `parent` becomes `Ns\parent`
- Thread count UX: `auto`, `N%`, `-N`, cgroup-aware default, strict validation
- Add `@optional-arguments-by-name`, `@arguments-by-name` and `@stable-parameter-names`
- Track the taints of an object that cannot change after construction per instance
- Docs
- PHP not yet supported