diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-07-20 05:21:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-07-20 05:21:06 +0900 |
| commit | 087020525d364e1e5bb3d9b41d020704b068c59c (patch) | |
| tree | 8f2e94519c6df43afdcd2a53ebe750bb43dc7429 /crates/shirabe/tests/event_dispatcher | |
| parent | f299bf44f6f19e84110b5fb39c440e2e81ab8310 (diff) | |
| download | php-shirabe-087020525d364e1e5bb3d9b41d020704b068c59c.tar.gz php-shirabe-087020525d364e1e5bb3d9b41d020704b068c59c.tar.zst php-shirabe-087020525d364e1e5bb3d9b41d020704b068c59c.zip | |
fix(auditor): restore instanceof ConsoleIO semantics for BufferIO
PHP's BufferIO extends ConsoleIO, so $io instanceof ConsoleIO matches
it; the port models that inheritance as composition, making the plain
ConsoleIO downcast reject BufferIO and throw where PHP renders tables.
Also try a BufferIO downcast and unwrap its inner ConsoleIO, which
unblocks the two FORMAT_TABLE cases and un-ignores test_audit.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/tests/event_dispatcher')
0 files changed, 0 insertions, 0 deletions
