Skip to content

[ChangesReporting] Deprecate github and gitlab output formats - #8390

Merged
TomasVotruba merged 2 commits into
mainfrom
deprecate-static-analysis-output-formats
Aug 28, 2026
Merged

[ChangesReporting] Deprecate github and gitlab output formats#8390
TomasVotruba merged 2 commits into
mainfrom
deprecate-static-analysis-output-formats

Conversation

@TomasVotruba

@TomasVotruba TomasVotruba commented Aug 28, 2026

Copy link
Copy Markdown
Member

Rector is a refactoring tool, not a static analysis tool. The github and gitlab output formats produce code-quality reports meant for static analysers (GitHub Actions annotations / GitLab CodeClimate JSON), which is a poor fit for Rector's diffs.

Deprecate both. They will be removed in the next minor version.

Rector is a refactoring tool, not a static analysis tool. The github and
gitlab code-quality output formats fit static analysers, not Rector, so
deprecate both. They will be removed in the next minor version.

A deprecation warning is printed to STDERR (via error style), so the
machine-readable output on STDOUT stays clean.

Claude-Session: https://claude.ai/code/session_01Ajwt4SBryQ2b5hvv2SMAds
The test intentionally exercises the now-deprecated formatter until removal.

Claude-Session: https://claude.ai/code/session_01Ajwt4SBryQ2b5hvv2SMAds
@TomasVotruba
TomasVotruba merged commit 33760c7 into main Aug 28, 2026
44 checks passed
@TomasVotruba
TomasVotruba deleted the deprecate-static-analysis-output-formats branch August 28, 2026 08:55
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