1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
Go to file
lhchavez ab3016af6e
Fix File-related analysis plugin hooks (#3970)
This change does a few things:

* Renames `BeforeAnalyzeFileInterface` to `BeforeFileAnalysisInterface`.
* Adds a few more parameters to `BeforeFileAnalysisInterface`.
* Since the analysis was never called due to a bug, the above two
  changes are safe to do.
* Fix the above-mentioned bug, and now adds the hooks to the config.
* Update the documentation about the File-related analysis plugin hooks.
* Add a test to ensure that this does not break again in the future.

Fixes: #3969
2020-08-10 10:49:53 -04:00
.circleci Test with PHP-Standard-Library (#3768) 2020-07-07 17:12:07 -04:00
.github/workflows Run on pull_request too 2020-02-24 11:31:20 -05:00
assets/psalm-phar Make config generation smarter 2020-02-17 22:05:58 -05:00
bin Remove PSL from test-with-real-projects 2020-08-03 12:05:21 -04:00
build/phpunit
docs Fix File-related analysis plugin hooks (#3970) 2020-08-10 10:49:53 -04:00
examples Align paramter names 2020-08-09 23:19:59 -04:00
src Fix File-related analysis plugin hooks (#3970) 2020-08-10 10:49:53 -04:00
tests Fix File-related analysis plugin hooks (#3970) 2020-08-10 10:49:53 -04:00
vendor-bin/box
.appveyor.yml Suppress choco install progress (#3100) 2020-04-08 09:23:24 -04:00
.editorconfig
.gitattributes
.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 Remove nightly builds until PHPUnit fixes deprecated method 2020-05-12 22:41:33 -04:00
box.json.dist
CODE_OF_CONDUCT.md
composer.json Bump nikic/php-parser 2020-08-09 16:23:43 -04:00
config.xsd Detect mismatching param names effectively 2020-08-10 09:58:43 -04:00
CONTRIBUTING.md Update CONTRIBUTING.md (#3235) 2020-04-26 18:59:33 -04:00
infection.json.dist
keys.asc.gpg
LICENSE
phpcs.xml
phpunit.xml.dist Support using paratest for local development 2020-02-20 22:42:16 -05:00
psalm
psalm-language-server
psalm-plugin
psalm-refactor
psalm.xml.dist Use composer/package-versions-deprecated instead of ocramius/package-versions (#3846) 2020-07-20 04:53:16 -04:00
PsalmLogo.png
psalter
README.md Shortened the readme 2020-02-24 11:43:32 -05:00
scoper.inc.php Don’t scope more internal classes 2020-05-14 19:56:20 -04: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.