Merge pull request #72 from creative-commoners/pulls/2/bumpguzzle-requirements
MNT Bump guzzle requirements
This commit is contained in:
commit
aa1311fa01
|
@ -23,7 +23,7 @@
|
||||||
"php": "^7.3 || ^8.0",
|
"php": "^7.3 || ^8.0",
|
||||||
"silverstripe/framework": "^4.10",
|
"silverstripe/framework": "^4.10",
|
||||||
"silverstripe/versioned": "^1.0",
|
"silverstripe/versioned": "^1.0",
|
||||||
"guzzlehttp/guzzle": "^6.3.3"
|
"guzzlehttp/guzzle": "^6.3.3 || ^7"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^9.5",
|
"phpunit/phpunit": "^9.5",
|
||||||
|
@ -38,4 +38,4 @@
|
||||||
},
|
},
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ This module adds an API for running environment checks to your API.
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* SilverStripe 4.x
|
* SilverStripe 4.x
|
||||||
* PHP 5.6+
|
* PHP 7.3
|
||||||
|
|
||||||
For SilverStripe 3.x support, please use a `1.x` tagged release.
|
For SilverStripe 3.x support, please use a `1.x` tagged release.
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ class CacheHeadersCheckTest extends SapphireTest
|
||||||
new Response(200, ['Cache-Control' => 'must-revalidate', 'ETag' => '123']),
|
new Response(200, ['Cache-Control' => 'must-revalidate', 'ETag' => '123']),
|
||||||
new Response(200, ['Cache-Control' =>'no-cache', 'ETag' => '123']),
|
new Response(200, ['Cache-Control' =>'no-cache', 'ETag' => '123']),
|
||||||
new Response(200, ['ETag' => '123']),
|
new Response(200, ['ETag' => '123']),
|
||||||
new Response(200, ['Cache-Control' =>'private, no-store', ' ETag' => '123']),
|
new Response(200, ['Cache-Control' =>'private, no-store', 'ETag' => '123']),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$handler = HandlerStack::create($mock);
|
$handler = HandlerStack::create($mock);
|
||||||
|
|
Loading…
Reference in New Issue