Skip to content

DX: store cache to file only if content will get modified#7151

Merged
keradus merged 2 commits intoPHP-CS-Fixer:masterfrom
keradus:cache_attempt_write
Jul 15, 2023
Merged

DX: store cache to file only if content will get modified#7151
keradus merged 2 commits intoPHP-CS-Fixer:masterfrom
keradus:cache_attempt_write

Conversation

@keradus
Copy link
Copy Markdown
Member

@keradus keradus commented Jul 14, 2023

while having the counter property, now we can fully skip cache->write() if no content of cache json was modified

@keradus keradus marked this pull request as ready for review July 14, 2023 16:11
@keradus keradus marked this pull request as draft July 14, 2023 16:17
@keradus keradus marked this pull request as ready for review July 15, 2023 20:55
@keradus keradus merged commit 3b398f6 into PHP-CS-Fixer:master Jul 15, 2023
@keradus keradus deleted the cache_attempt_write branch July 15, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants