1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-14 02:07:37 +01:00
psalm/src
Joe Hoyle ba43e6d0f3
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-22 16:05:28 -05:00
..
Psalm Remove file map cache when re-analyzing files (#5084) 2021-01-22 16:05:28 -05:00
command_functions.php Add option to dump taint graph (#5080) 2021-01-22 16:04:15 -05:00
functions.php
psalm_plugin.php add support for 'COMPOSER' env variable for alternate name of 'composer.json' (#4275) 2020-10-03 02:26:37 -04:00
psalm-language-server.php Fix whitespace in help output (#4642) 2020-11-21 17:37:50 -05:00
psalm-refactor.php Remove unused uses in Psalm’s codebase 2020-11-13 13:16:39 -05:00
psalm.php Add option to dump taint graph (#5080) 2021-01-22 16:04:15 -05:00
psalter.php Fix whitespace in help output (#4642) 2020-11-21 17:37:50 -05:00
spl_object_id.php