Skip to content

No diffs with dry run produces no output with GitHub formatter #9584

@MuhannadVisma

Description

@MuhannadVisma

Running this:

vendor/bin/rector --output-format github --dry-run --no-diffs

Exits with a non-zero exit code, but shows no output besides:

::group::Rector report
::endgroup::

Running the command without --no-diffs shows the violations with diffs as expected.

I'm trying to get just the violation to be shown without diffs because diffs don't look right in GitHub annotations edit: this is a GitHub issue with the new "Files changed" view.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions