aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-20 15:37:24 +0900
committernsfisis <nsfisis@gmail.com>2026-06-20 15:45:19 +0900
commit1b38bdb5a1de127ca8040f5a132d08c73ccb3c67 (patch)
tree71cd969054fa56845d737abf4e55e10a12c378a0 /crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs
parentb7c3981fd60662cdf500aaf1a7e49a77b967968d (diff)
downloadphp-shirabe-1b38bdb5a1de127ca8040f5a132d08c73ccb3c67.tar.gz
php-shirabe-1b38bdb5a1de127ca8040f5a132d08c73ccb3c67.tar.zst
php-shirabe-1b38bdb5a1de127ca8040f5a132d08c73ccb3c67.zip
refactor(console): propagate getComposer's exit(1) as ExitException
Composer's Application::getComposer() calls exit(1) when a required Composer instance fails to build under areExceptionsCaught(). Replace the deep std::process::exit with a php-shim ExitException that mirrors PHP's `exit` construct: it bypasses parent::doRun()'s catch and Symfony's renderThrowable (excluded at both broad catches), so the already-written plain error message is not re-rendered and the process exits with code 1. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/console/input/argv_input.rs')
0 files changed, 0 insertions, 0 deletions