Skip to content

--only breaks next "normal" runs #9485

@ghbob

Description

@ghbob

Bug Report

Subject Details
Rector version 2.2.7

After running --only a "normal" run finishes instantly, telling me:

[OK] Rector is done!

process --dry-run --clear-cache works again.

Minimal PHP Code Causing Issue

Expected Behaviour

After --only, non---only runs should run "normally" and show all results again.
Or maybe I misunderstood how it should work and it caches the --only run and therefore has nothing to do before the next --clear-cache?

If that's the case, a short info about it here would be great: https://getrector.com/documentation/run-single-rule

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions