diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-20 15:37:24 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-20 15:45:19 +0900 |
| commit | 1b38bdb5a1de127ca8040f5a132d08c73ccb3c67 (patch) | |
| tree | 71cd969054fa56845d737abf4e55e10a12c378a0 /crates/shirabe/src/repository | |
| parent | b7c3981fd60662cdf500aaf1a7e49a77b967968d (diff) | |
| download | php-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/src/repository')
0 files changed, 0 insertions, 0 deletions
