fix(tia): keep the graph writable when a path is not valid UTF-8 (#2079)

* fix(tia): keep the graph writable when a path is not valid UTF-8

* test: update the suite totals for the byte-safe JSON tests

---------

Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
This commit is contained in:
Jhon Farias
2026-11-27 07:48:19 +01:00
committed by GitHub
parent fa6e96486e
commit a6a919c32c
11 changed files with 337 additions and 54 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ test('parallel', function () use ($run): void {
$output = implode("\n", array_slice(explode("\n", (string) $output), -10));
$profileOutput = $run('tests/Fixtures/Suites/SuccessOnly.php', '--profile');
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 31 skipped, 1861 passed (3960 assertions)';
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 31 skipped, 1872 passed (3978 assertions)';
expect($output)
->toContain("Tests: {$expected}")