1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00
Go to file
Joe Hoyle c837535c9d
Remove file map cache when re-analyzing files (#5084)
* Remove file map cache when re-analyzing files

When the project is re-analyzed under the single thread condition (not using a process pool), the filemaps are not cleared before re-analyzing files. This means that file maps only get appended to. If you delete the contents of a file via the LSP, the file map will still be populated with all the old values for example.

In doing this I had to write a few more tests to check my assumptions too, so adding those additional tests.

* Rename test

* Formatting

* Formatting again!
2021-01-29 11:47:34 +01:00
.circleci Bump circleci image version 2021-01-29 11:47:23 +01:00
.github/workflows Bump up to 8 concurrent builds 2021-01-29 11:47:31 +01:00
assets/psalm-phar Fix other check 2021-01-29 11:47:23 +01:00
bin Split unit test over multiple jobs in GitHub Actions, lowering the total run time (#4985) 2021-01-29 11:47:31 +01:00
build/phpunit Add circleci config file 2019-06-16 09:04:56 -04:00
dictionaries fix wrong order of types (#5058) 2021-01-29 11:47:33 +01:00
docs Add option to dump taint graph (#5080) 2021-01-29 11:47:34 +01:00
examples implement DTO for plugins (#4881) 2021-01-29 11:47:27 +01:00
src Remove file map cache when re-analyzing files (#5084) 2021-01-29 11:47:34 +01:00
stubs Stubs: Don't explicitly depend on \Stringable (#5037) 2021-01-29 11:47:32 +01:00
tests Remove file map cache when re-analyzing files (#5084) 2021-01-29 11:47:34 +01:00
vendor-bin/box Fix lack of autoload_real in latest humbug/box 2021-01-29 11:47:23 +01:00
.appveyor.yml Fix windows builds (#4775) 2021-01-29 11:47:15 +01:00
.editorconfig adding editorconfig that seems to match the php files (#163) 2017-06-26 00:22:05 -04:00
.gitattributes Removed misc files from dist archives (#4968) 2021-01-29 11:47:28 +01: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
box.json.dist PHAR: Include issue docs for SARIF output (#4925) 2021-01-29 11:47:25 +01:00
CODE_OF_CONDUCT.md Add code of conduct 2017-12-31 16:53:56 -05:00
composer.json Fix lack of autoload_real in latest humbug/box 2021-01-29 11:47:23 +01:00
config.xsd Fix #4912 - detect mismatching property type 2021-01-29 11:47:24 +01:00
CONTRIBUTING.md Add contributing section of docs 2021-01-29 11:47:07 +01:00
infection.json.dist Add circleci config file 2019-06-16 09:04:56 -04:00
keys.asc.gpg Change GPG key 2021-01-29 11:47:30 +01:00
LICENSE Add license 2016-11-21 14:48:17 -05:00
phpcs.xml Simplify calling of replacer methods 2021-01-29 11:47:05 +01:00
phpunit.xml.dist Fix windows builds (#4775) 2021-01-29 11:47:15 +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 Change permissions on the language server executable 2018-10-19 14:04:22 -04:00
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 Make complex method break the build 2021-01-29 11:47:34 +01:00
PsalmLogo.png New and improved logo 2017-01-16 17:24:26 -05:00
psalter Break file manipulation out into Psalter 2018-01-07 17:25:23 -05:00
README.md Grammar 2021-01-29 11:46:17 +01:00
scoper.inc.php Move static code out of src 2021-01-29 11:39:51 +01:00

Psalm

Packagist Packagist Coverage Status Psalm coverage

Psalm is a static analysis tool for finding errors in PHP applications.

Installation

To get started, check out the installation guide.

Live Demo

You can play around with Psalm on its website.

Documentation

Documentation is available on Psalms website, generated from the docs folder.

Interested in contributing?

Have a look at CONTRIBUTING.md.

Who made this

Built by Matt Brown (@muglug).

Maintained by Matt and Bruce Weirdan (@weirdan).

The engineering team at Vimeo have provided a lot encouragement, especially @nbeliard, @erunion and @nickyr.