Skip to content

[command] Add global dev-tools no-logo control for nested runs#278

Merged
coisa merged 7 commits intomainfrom
issue/277-no-logo
Apr 28, 2026
Merged

[command] Add global dev-tools no-logo control for nested runs#278
coisa merged 7 commits intomainfrom
issue/277-no-logo

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 28, 2026

Summary

Show banner at startup for top-level DevTools runs and suppress it for orchestrated child runs.

Changes

  • Add --no-logo global option in src/Console/DevTools.php.
  • Print logo in doRun() only when --no-logo is not passed.
  • Inject --no-logo automatically for nested DevTools subprocesses in src/Process/ProcessBuilder.php.
  • Add focused coverage in tests/Console/DevToolsTest.php and tests/Process/ProcessBuilderTest.php.

Testing

  • vendor/bin/phpunit tests/Console/DevToolsTest.php tests/Process/ProcessBuilderTest.php
  • composer dev-tools (not available in this environment: composer: command not found)

Closes #277

@github-actions
Copy link
Copy Markdown
Contributor

@coisa coisa merged commit 52d5225 into main Apr 28, 2026
33 checks passed
@coisa coisa deleted the issue/277-no-logo branch April 28, 2026 21:55
@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