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(throws): accept an intersection type in @throws
- fix(mixed): a non-empty mixed is never a falsy value, nor an empty mixed a truthy one
- fix(types): keep every object shape of an intersection and read a property from any of them
- Apply inline @var docblocks written before use statements
- fix(traits): self and static of a trait method refer to the class it ends up in when comparing signatures
- fix(reconcile): !array_is_list does not widen the keys of an array that cannot have int keys
- fix(foreach): a mixed value iterated by foreach may still be empty after it
- feat(array-offset): report a false array offset, which PHP turns into 0
- Don't make an array shape key optional because its value was possibly undefined
- Infer templates when invoking generic first-class callables
- Docs
- PHP not yet supported