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
- [7.x] Perf: analyze the most complex files first
- Perf: shrink the results workers send to the main process
- Conditional `($v is Closure ? A : B)` does not drop the Closure branch for interface, iterable and bounded-template arguments
- `->value` on a union of many enum cases is O(N³), and `->value`/`->name` on a union of two enums drops one enum
- [7.x] Fix: slow and lossy ->value/->name on unions of enum cases
- Real files scanned during stub registration still get stub semantics for methods, functions and constants
- [6.x] Fix crash when a class extends a class_alias() declared later
- [6.x] Fix: stubbed override of a trait-provided method is ignored in subclasses
- Crash "Could not get class storage" in ClassAnalyzer::addContextProperties() when a class extends a class_alias() declared later in scan order
- TypeDoesNotContainType when asserting a string against a union with a __toString() class (regression in 7.0.0-rc3)
- Docs
- PHP not yet supported