use a separate resultCache per project config file
closes https://github.com/phpstan/phpstan/issues/7379 closes https://github.com/phpstan/phpstan/issues/7601
With this patch we see analysis time dropped to ~5 seconds from previous 2-3 minutes in mono-repo projects, which contain several phpstan.neon files.
added a test-case. should be good to go.
@ondrejmirtes anything I can do to get this merged?
I'm looking forward to this feature too. I should be able to get rid of some local config entries most likely :)
sorry, for the "bump", but I just thought about this PR and was wondering about its state and/or if it was forgotten maybe :)
I'm a bit afraid to touch this area because it's hard to test it.