Bug Report
| Subject |
Details |
| Rector version |
2.2.11 |
Minimal PHP Code Causing Issue
While working on alice, I executed:
vendor-bin/rector/bin/rector --dry-run
vendor-bin/rector/bin/rector --only=GetDebugTypeRector --dry-run # did not show any change
vendor-bin/rector/bin/rector --only=GetDebugTypeRector --dry-run --clear-cache # showed up changes!
Expected Behaviour
I'm ensure how the cache works there, but I expect using --only=Rule to apply the rule on any relevant file, with our without a clean cache.