1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
Go to file
Joe Hoyle 7749682c71
Pass CodeLocation to FunctionParamsProviderInterface interface (#4444)
Currently the `getFunctionParams()` method of the `FunctionParamsProviderInterface` is never passed the CodeLocation of the analyzed function call. As this is in-scope in the only call site, we can pass the CodeLocation. This means the `getFunctionParams()` is able to issue it's own Issues (which required the code location to attached the Issue to)
2021-01-29 11:44:35 +01:00
.circleci Bump circle PHP version 2021-01-29 11:44:33 +01:00
.github/workflows Run on pull_request too 2020-02-24 11:31:20 -05:00
assets/psalm-phar Experiment with PHP 7.1 compatibility (#4421) 2021-01-29 11:44:32 +01:00
bin Add some backwards-incompatible changes for 4.x 2021-01-29 11:38:48 +01:00
build/phpunit Add circleci config file 2019-06-16 09:04:56 -04:00
dictionaries Protect more calls 2021-01-29 11:44:34 +01:00
docs Fix tests 2021-01-29 11:44:33 +01:00
examples Use more accurate arguments count 2021-01-29 11:39:55 +01:00
src Pass CodeLocation to FunctionParamsProviderInterface interface (#4444) 2021-01-29 11:44:35 +01:00
stubs Use softer return 2021-01-29 11:44:35 +01:00
tests Ensure Stringable is always available to tests that need it 2021-01-29 11:44:35 +01:00
vendor-bin/box Bump box version 2019-06-08 19:59:23 -04:00
.appveyor.yml Test parallelization (#4045) 2021-01-29 11:38:04 +01:00
.editorconfig
.gitattributes Add .gitattributes 2019-03-17 13:30:33 -04:00
.gitignore Fix: Remove unused friendsofphp/php-cs-fixer (#2603) 2020-01-12 10:52:33 -05:00
.scrutinizer.yml More config 2020-05-19 17:51:28 -04:00
.travis.yml Add some backwards-incompatible changes for 4.x 2021-01-29 11:38:48 +01:00
box.json.dist Move static code out of src 2021-01-29 11:39:51 +01:00
CODE_OF_CONDUCT.md
composer.json Experiment with PHP 7.1 compatibility (#4421) 2021-01-29 11:44:32 +01:00
config.xsd Ensure Stringable is always available to tests that need it 2021-01-29 11:44:35 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md (#3235) 2020-04-26 18:59:33 -04:00
infection.json.dist Add circleci config file 2019-06-16 09:04:56 -04:00
keys.asc.gpg
LICENSE
phpcs.xml Remove deleted path 2021-01-29 11:39:53 +01:00
phpunit.xml.dist Test parallelization (#4045) 2021-01-29 11:38:04 +01:00
psalm Move Psalm execution code into PHP file that Psalm can analyse 2017-12-29 17:02:56 -05:00
psalm-language-server
psalm-plugin Plugin loading (#855) 2018-11-10 23:23:36 -05:00
psalm-refactor Change psalm-refactor perms 2019-06-05 10:43:51 -04:00
psalm.xml.dist Protect more calls 2021-01-29 11:44:34 +01:00
PsalmLogo.png New and improved logo 2017-01-16 17:24:26 -05:00
psalter
README.md Shortened the readme 2020-02-24 11:43:32 -05:00
scoper.inc.php Move static code out of src 2021-01-29 11:39:51 +01:00

Psalm

Packagist Packagist Travis CI Coverage Status Psalm coverage

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 Psalms 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.