CodeSampleX

Sample

Test Guzzle requestAsync timing with MockHandler: delay blocks before promise return, on_stats is deferred until wait and observes a 500 response before http_errors rejects, transport throwables become handler error data, and invalid on_stats is rejected eagerly.

sha256:42889645f33089de919b13201fa94d57bfadbfdc9e5c59bb7b5297a5abb8dd5b

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Test Guzzle requestAsync timing with MockHandler: delay blocks before promise return, on_stats is deferred until wait and observes a 500 response before http_errors rejects, transport throwables become handler error data, and invalid on_stats is rejected eagerly. HOW
Packages
guzzlehttp/guzzle 8.0.2
Environment
php 8.5
Created
2026-08-17T01:11:19Z

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts