In a microservices architecture, service A expects service B to return a field user_id, but B renamed it to userId. Integration tests do not always catch such changes in time.
Pact — the most popular framework. Supports PHP, Node, Java, Go and others. Pact Broker — centralised contract storage.