1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00
psalm/tests/FileUpdates
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
..
AnalyzedMethodTest.php Remove file map cache when re-analyzing files (#5084) 2021-01-29 11:47:34 +01:00
CachedStorageTest.php unused use statements (#4228) 2021-01-29 11:39:42 +01:00
ErrorAfterUpdateTest.php Invalidate child methods when signature changes 2021-01-29 11:45:01 +01:00
ErrorFixTest.php Fix tests 2021-01-29 11:46:05 +01:00
TemporaryUpdateTest.php Add non-emptiness check 2021-01-29 11:47:29 +01:00