Skip to content

[composer] Scope ProxyCommand under composer adapter#270

Merged
coisa merged 31 commits intomainfrom
feat/199-hybrid-command-proxy
Apr 26, 2026
Merged

[composer] Scope ProxyCommand under composer adapter#270
coisa merged 31 commits intomainfrom
feat/199-hybrid-command-proxy

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 25, 2026

Summary

Continue hardening issue #199 by standardizing standards-pipeline command naming and improving command discovery safety, while retaining practical backwards compatibility.

Changes

  • Rename PHPDoc command entry point from standards:phpdoc to standards:dockblock and keep dockblock + php-cs-fixer aliases for compatibility.
  • Update StandardsCommand to run the PHPDoc step through php-cs-fixer, forwarding --cache and --cache-dir to php-cs-fixer and reports only; route cache directory to .dev-tools/cache/php-cs-fixer.
  • Maintain compatibility for existing dockblock-style invocations (dockblock, php-cs-fixer) while intentionally dropping only the legacy standards:phpdoc command name.
  • Harden DevToolsCommandLoader to guard duplicate command/alias registration and throw a deterministic RuntimeException on collision.
  • Add command-loader regression coverage for duplicate command names via FixtureDuplicateCommandName and DevToolsCommandLoaderTest.
  • Update CHANGELOG.md (Unreleased) describing these command naming and compatibility changes.

Testing

  • ./vendor/bin/phpunit tests/Console/Command/StandardsCommandTest.php
  • ./vendor/bin/phpunit tests/Console/CommandLoader/DevToolsCommandLoaderTest.php

Closes #199
Closes #200
Closes #201
Closes #202
Closes #203
Closes #204
Closes #205
Closes #206
Closes #207
Closes #208
Closes #209
Closes #210
Closes #211
Closes #212
Closes #213
Closes #214
Closes #215
Closes #216
Closes #217
Closes #218
Closes #219
Closes #220
Closes #221
Closes #222
Closes #223
Closes #224
Closes #225

@coisa coisa changed the title [composer] Implement command runtime hybrid foundation for issue 199 [composer] Scope ProxyCommand under composer adapter Apr 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 26, 2026

coisa and others added 6 commits April 26, 2026 19:04
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
@coisa coisa merged commit 25523c5 into main Apr 26, 2026
12 checks passed
@coisa coisa deleted the feat/199-hybrid-command-proxy branch April 26, 2026 22:25
@github-project-automation github-project-automation Bot moved this from Backlog to Released in PHP Fast Forward Project Apr 26, 2026
github-actions Bot added a commit that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment