Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds checkstyle compatible renderer, suitable for cs2pr or reviewdog #856

Merged
merged 11 commits into from Apr 17, 2021

Conversation

ffflabs
Copy link
Contributor

@ffflabs ffflabs commented Dec 31, 2020

Type: feature
Breaking change: no

Adds a new Renderer for checkstyle output, in order to manage the outcome of phpmd, phpcs, psalm, phpstan and rector in a common format, suitable to make Github Actions annotate faults in your PR via the checks API (see CS2PR)

Please check this points before submitting your PR.

  • Add test to cover the changes you made on the code.
  • If you have a change on the documentation, please link to the page that you change. (README.rst)

@kylekatarnls kylekatarnls mentioned this pull request Jan 4, 2021
5 tasks
ffflabs and others added 2 commits January 4, 2021 19:03
Co-authored-by: Kyle <kylekatarnls@users.noreply.github.com>

Update src/test/php/PHPMD/TextUI/CommandTest.php

Co-authored-by: Kyle <kylekatarnls@users.noreply.github.com>
  - Also: declare a method showing equivalence between priority and
severity
@ffflabs ffflabs force-pushed the feature/checkstyle_renderer branch from 8c8ad12 to 5e8d195 Compare January 4, 2021 22:03
ffflabs and others added 4 commits January 4, 2021 19:36
  - As phpmd is meant to run in a broad range of php versions,
    we cannot rely on features that wouldn't run in PHP 5.4.x
  - Violation fileName shoulnd't be modified. Any path canonicalization
    needed by an external tool should be applied afterwards
Co-authored-by: Kyle <kylekatarnls@users.noreply.github.com>
kylekatarnls
kylekatarnls previously approved these changes Jan 7, 2021
@kylekatarnls kylekatarnls added this to the 2.10.0 milestone Apr 17, 2021
@kylekatarnls kylekatarnls merged commit 73af583 into phpmd:master Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants