mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
2de3e27f10
- Added detection for when we can infer closure types from parent fn return types - Implemented functionality for infering types of returned closures - Added ability to infer type of return from typed closures - Added a new getFunctionLikeStorage method in Codebase to support easily getting a function despite being a method, closure, or function - Added some utilities to the MethodIdentifier to facilitate creating MethodIdentifier's from string method references Closes #2896 Signed-off-by: RJ Garcia <rj@bighead.net> |
||
---|---|---|
.circleci | ||
.github/workflows | ||
assets/psalm-phar | ||
bin | ||
build/phpunit | ||
docs | ||
examples | ||
src | ||
tests | ||
vendor-bin/box | ||
.appveyor.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.scrutinizer.yml | ||
.travis.yml | ||
box.json.dist | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
config.xsd | ||
CONTRIBUTING.md | ||
infection.json.dist | ||
keys.asc.gpg | ||
LICENSE | ||
phpcs.xml | ||
phpunit.xml.dist | ||
psalm | ||
psalm-language-server | ||
psalm-plugin | ||
psalm-refactor | ||
psalm.xml.dist | ||
PsalmLogo.png | ||
psalter | ||
README.md | ||
scoper.inc.php |
Psalm
Psalm is a static analysis tool for finding errors in PHP applications, built on top of PHP Parser.
It's able to find a large number of issues, but it can also be configured to only care about a small subset of those.
Try a live demo, or install it in your project by following the Quickstart Guide below.
Psalm documentation
Documentation is available on Psalm’s website, generated from the docs folder.
To get started, check out the installation guide
Interested in contributing?
Have a look at CONTRIBUTING.md.
Acknowledgements
The engineering team @vimeo for encouragement and patience, especially @nbeliard, @erunion and @nickyr.