Skip to content

Conversation

@samsonasik
Copy link
Member

@samsonasik
Copy link
Member Author

implemented 👍 /cc @ghbob

@samsonasik samsonasik changed the title [Configuration] Make --only to force clear cache to ensure next normal run strat from fresh state [Configuration] Make --only to force clear cache to ensure next normal run start from fresh state Nov 19, 2025
@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@samsonasik samsonasik marked this pull request as draft November 19, 2025 18:54
@samsonasik
Copy link
Member Author

It seems not really clear cache, next normal run still on cache:

➜  rector-src git:(clear-cache-on-only) bin/rector process src/Application/ApplicationFileProcessor.php --only="CombinedAssignRector"
 1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
 [OK] Rector is done!                                                                                                   
                                                                                                                       
➜  rector-src git:(clear-cache-on-only) bin/rector process src/Application/ApplicationFileProcessor.php                              
                                                                                                                  
 [OK] Rector is done!                                                                                                                                                                                                                     

I will look more ..

@samsonasik
Copy link
Member Author

Okay, clearing cache should on the last

@samsonasik
Copy link
Member Author

Closing for now, as it may require "flag" previous run is with --only in cache

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.

--only breaks next "normal" runs

2 participants