Replies: 1 comment 1 reply
-
The problem is that you're analysing your files with different paths so the cache gets bigger over time as PHPStan doesn't recognize these are the same files. As the cache is cold in these cases anyway, I recommend you to use different |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using Gitlab to deploy my codebase.
Each time, I deploy a branch (in fact multiple times by day), my CI do the following things (very simplified) :
So, by default my caching folder is set to
/tmp/phpstan
. This folder is getting bigger and bigger.For now, I have a cron that delete the folder periodically but it seems like a workaround...
Can I use a better approach in my CI/CD to maintain a reasonnable
/tmp/phpstan
folder size and not broke the performance of caching ?Beta Was this translation helpful? Give feedback.
All reactions