Skip to content

Conversation

@samsonasik
Copy link
Member

@samsonasik samsonasik commented Jan 13, 2026

to make easy test for cross OS usage.

Continue of PR:

Closes #7808

@samsonasik samsonasik changed the title [ChangesReporting][Alternative] Collect changed_files on --no-diff with json output with use of JsonOutputFactory [ChangesReporting][Alternative] Collect changed_files on --no-diffs with json output with use of JsonOutputFactory Jan 13, 2026
@samsonasik samsonasik force-pushed the use-factory branch 2 times, most recently from 0a2abd2 to 8f69825 Compare January 13, 2026 11:38
@samsonasik samsonasik marked this pull request as draft January 13, 2026 11:41
@samsonasik
Copy link
Member Author

@peterfox on running via cli, it somehow not show the list of file changed (even your original PR).

➜  rector-src git:(use-factory) ✗ bin/rector process src/Application/VersionResolver.php  --output-format=json --no-diffs  --dry-run
{
    "totals": {
        "changed_files": 1,
        "errors": 0
    }
}

so it seems need change on FileProcessor or ApplicationFileProcessor level to append "empty file diffs"

I will look more, mark as draft for now :)

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.

4 participants