You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a discussion not an issue because I'm not sure if this is a bug or feature ot I'm missing something.
Rector has --clear-cache option. It clears a cache but it looks like it also does not save current run into cache. What I mean is the difference between clear-cache and no-cache. The first I understand Clear cache at the beginning. Just analyze all the files but in the end save them to cache. Te second I understand Do not use cache. Ignore it. Always analyze all the files.
If I am right then right now it is not possible to clear the cache on the run 1 and use cache on run 2, i.e.
bin/rector process --clear-cache
bin/rector process # this will run on all files
PHPStan solves this problem in a way that it has separate clear-result-cache command and no clear-cache or similiar option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm creating a discussion not an issue because I'm not sure if this is a bug or feature ot I'm missing something.
Rector has --clear-cache option. It clears a cache but it looks like it also does not save current run into cache. What I mean is the difference between
clear-cacheandno-cache. The first I understand Clear cache at the beginning. Just analyze all the files but in the end save them to cache. Te second I understand Do not use cache. Ignore it. Always analyze all the files.If I am right then right now it is not possible to clear the cache on the run 1 and use cache on run 2, i.e.
bin/rector process --clear-cache bin/rector process # this will run on all filesPHPStan solves this problem in a way that it has separate
clear-result-cachecommand and noclear-cacheor similiar option.All reactions