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
- @mixin-host method providers not consulted for mixin-forwarded methods
- Psalm silently aborts (exit 0, zero output) when an analyzed file `class_exists()`-guards a `require_once` of an autoloadable file that has a top-level `exit`
- Fix crash when a property assertion targets a non-variable argument
- Fix false positives on a nullable enum property under null coalesce
- InvalidStaticInvocation false positive: static call to inaccessible non-static method routes to __callStatic at runtime
- `MoreSpecificReturnType`/`LessSpecificReturnStatement` with narrowed `@method` annotations in inheritance chains
- Add @psalm-fixme support and --add-fixmes generator
- Programmatic usage triggers fatal memory exhaustion when inflating decompressed framework cache blobs
- Fix false RedundantCondition for instanceof on a class-string variable
- Fix ??= in a condition not removing null from the assigned variable
- Docs
- PHP not yet supported