1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
psalm/tests/FileUpdates
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
..
AnalyzedMethodTest.php Remove file map cache when re-analyzing files (#5084) 2021-01-22 16:05:28 -05:00
CachedStorageTest.php unused use statements (#4228) 2020-09-22 01:10:46 -04:00
ErrorAfterUpdateTest.php Invalidate child methods when signature changes 2020-11-01 09:46:21 -05:00
ErrorFixTest.php Fix tests 2020-11-08 11:04:39 -05:00
TemporaryUpdateTest.php Add non-emptiness check 2021-01-10 21:54:49 -05:00