Skip to content

Commit 65ccbef

Browse files
committed
Drop v1 contracts packages everywhere
1 parent e602b73 commit 65ccbef

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Tests/HttpClientTestCase.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,6 @@ private static function startVulcain(HttpClientInterface $client)
321321
throw new SkippedTestSuiteError('Testing with the "vulcain" is not supported on Windows.');
322322
}
323323

324-
if (['application/json'] !== $client->request('GET', 'http://127.0.0.1:8057/json')->getHeaders()['content-type']) {
325-
throw new SkippedTestSuiteError('symfony/http-client-contracts >= 2.0.1 required');
326-
}
327-
328324
$process = new Process(['vulcain'], null, [
329325
'DEBUG' => 1,
330326
'UPSTREAM' => 'http://127.0.0.1:8057',

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"require": {
2424
"php": ">=8.1",
2525
"psr/log": "^1|^2|^3",
26-
"symfony/deprecation-contracts": "^2.1|^3",
26+
"symfony/deprecation-contracts": "^2.5|^3",
2727
"symfony/http-client-contracts": "^3",
28-
"symfony/service-contracts": "^1.0|^2|^3"
28+
"symfony/service-contracts": "^2.5|^3"
2929
},
3030
"require-dev": {
3131
"amphp/amp": "^2.5",

0 commit comments

Comments
 (0)