Skip to content

[command] Respect raw output when rendering DevTools banner#280

Merged
coisa merged 3 commits intomainfrom
issue/277-no-logo-raw-changelog-output
Apr 28, 2026
Merged

[command] Respect raw output when rendering DevTools banner#280
coisa merged 3 commits intomainfrom
issue/277-no-logo-raw-changelog-output

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 28, 2026

Related Issue

Closes #277

Motivation / Context

  • Keep the top-level DevTools banner behavior consistent for raw changelog flows used by automations.
  • Avoid breaking plain-text consumers of changelog:show and changelog:next-version output.

Changes

  • Centralized logo rendering in DevTools::shouldRenderLogo().
  • Added explicit raw-command suppression for changelog:show and changelog:next-version.
  • Kept suppression behavior for --no-logo, --json, and --pretty-json.
  • Added focused DevToolsTest coverage for raw changelog commands.
  • Adjusted CHANGELOG.md ordering in Unreleased section.

Verification

  • tests/Console/DevToolsTest.php focused scenario added.
  • composer dev-tools (environment missing composer)

Documentation / Generated Output

  • README updated
  • docs/ updated
  • Generated or synchronized output reviewed

Changelog

  • Added a notable CHANGELOG.md entry

Reviewer Notes

  • Command output for changelog:show and changelog:next-version is now banner-free in raw flows.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 28, 2026

…ands

Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@coisa coisa merged commit a3011ff into main Apr 28, 2026
33 checks passed
@coisa coisa deleted the issue/277-no-logo-raw-changelog-output branch April 28, 2026 22:21
@github-project-automation github-project-automation Bot moved this from Backlog to Released in PHP Fast Forward Project Apr 28, 2026
github-actions Bot added a commit that referenced this pull request Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Released

Development

Successfully merging this pull request may close these issues.

Add global banner for top-level dev-tools execution with orchestration-safe suppression

1 participant