Skip to content

[ChangesReporting] Remove junit output format - #8250

Merged
TomasVotruba merged 1 commit into
mainfrom
remove-junit-formatter-only
Jul 31, 2026
Merged

[ChangesReporting] Remove junit output format#8250
TomasVotruba merged 1 commit into
mainfrom
remove-junit-formatter-only

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Rector is a refactoring tool, not a testing tool, so reporting its results as a JUnit test suite is a poor fit. The gitlab and github output formats already cover CI reporting.

Before

vendor/bin/rector --dry-run --output-format=junit
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="rector" tests="1" failures="1">
  <testcase name="src/SomeClass.php" file="src/SomeClass.php">
    <error type="error">...diff...</error>
  </testcase>
</testsuite>

After

vendor/bin/rector --dry-run --output-format=gitlab
vendor/bin/rector --dry-run --output-format=github

Removes JUnitOutputFormatter and its container registration. Nothing else.

Rector is a refactoring tool, not a testing tool, so reporting its
results as a JUnit test suite is a poor fit. The gitlab and github
output formats already cover CI reporting.
@TomasVotruba
TomasVotruba enabled auto-merge (squash) July 31, 2026 20:30
@TomasVotruba
TomasVotruba merged commit 513d639 into main Jul 31, 2026
65 checks passed
@TomasVotruba
TomasVotruba deleted the remove-junit-formatter-only branch July 31, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant