diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-20 19:24:00 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-20 19:25:31 +0900 |
| commit | 1f4addc0c016eaf0fd953fd10995d481ea7db74b (patch) | |
| tree | d33c8aa8800c0dff87652391f5297bb3293a42fb /crates/shirabe-external-packages | |
| parent | 81b9fc9d92bb74aa8428ae4db39bd84e8c16095c (diff) | |
| download | php-shirabe-1f4addc0c016eaf0fd953fd10995d481ea7db74b.tar.gz php-shirabe-1f4addc0c016eaf0fd953fd10995d481ea7db74b.tar.zst php-shirabe-1f4addc0c016eaf0fd953fd10995d481ea7db74b.zip | |
feat(console): implement doRenderThrowable exception rendering
Port Symfony's Application::doRenderThrowable so command failures render
the error box instead of hitting todo!(). This unblocks six CLI no-panic
tests (config, depends, global, prohibits, remove, repository), whose
ignore attributes are now removed.
Also fill in the php-shim functions on the render path that were still
todo!(): php_exception_get_code, intval, str_pad, str_split,
mb_detect_encoding, mb_convert_encoding, mb_strwidth, mb_convert_variables.
PHP file/line and the verbose getTrace() block have no faithful Rust
equivalent; file/line use PHP's own 'n/a' fallback and the trace block is
intentionally omitted.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-external-packages')
0 files changed, 0 insertions, 0 deletions
