[5.x] TIA: stat once in ReadCapture::url_stat() (#2038)

* Stat once in ReadCapture url_stat

* Keep quiet url_stat probes away from error handlers

---------

Co-authored-by: Punyapal Shah <mrpunyapal@gmail.com>
This commit is contained in:
Jeremy Braband
2026-11-20 13:03:18 -06:00
committed by GitHub
parent 776a44a391
commit 996b5ee8f5
4 changed files with 41 additions and 15 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, 30 skipped, 1766 passed (3814 assertions)';
$expected = '2 deprecated, 4 warnings, 5 incomplete, 3 notices, 40 todos, 30 skipped, 1767 passed (3815 assertions)';
expect($output)
->toContain("Tests: {$expected}")