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
- Fix: generic class used without type arguments rejects instances when a write-free template has a bound
- fix(loops): a variable a break leaves undefined is possibly undefined after the loop
- feat(instanceof): report instanceof iterable as a reserved word
- False RedundantCondition/TypeDoesNotContainNull on narrowing argument of a method call on a union type
- fix(array): appending to a nested element of a sealed keyed array no longer asserts
- array_map() does not bind a class-string<T> template of a first-class callable
- Support closures and first-class callables in class constants
- Taint does not flow through a first-class callable of a static method
- Declare the global constants added in PHP 8.5 and 8.6
- Report partial function application compile errors while parsing
- Docs
- PHP not yet supported