Skip to content

Pull request annotations do not appear near files in CR with php-cs-fixer #118

@k-baczkiewicz

Description

@k-baczkiewicz

Hi!

I'm using cs2pr to convert xml issues to annotations in Github Actions, and I think I did everything by the book.

My executable looks like this:

PHP_CS_FIXER_IGNORE_ENV=1 php bin/php-cs-fixer-v3.phar fix --dry-run --config=php-cs-fixer.dist --format=$FORMAT -v --using-cache=no ${EXTRA_ARGS} | ./bin/cs2pr --prepend-filename --prepend-source --notices-as-warnings

($FORMAT for GHA run is checkstyle ofc)

The output of command is like this:

Image

however, I don't get any info in Files view on Github. I believe it should work that way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions