Skip to content

Commit

Permalink
Merge pull request #72 from creative-commoners/pulls/2/bumpguzzle-req…
Browse files Browse the repository at this point in the history
…uirements

MNT Bump guzzle requirements
  • Loading branch information
emteknetnz authored Nov 9, 2021
2 parents 3f2fbda + 47b184d commit aa1311f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"php": "^7.3 || ^8.0",
"silverstripe/framework": "^4.10",
"silverstripe/versioned": "^1.0",
"guzzlehttp/guzzle": "^6.3.3"
"guzzlehttp/guzzle": "^6.3.3 || ^7"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand All @@ -38,4 +38,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This module adds an API for running environment checks to your API.
## Requirements

* SilverStripe 4.x
* PHP 5.6+
* PHP 7.3

For SilverStripe 3.x support, please use a `1.x` tagged release.

Expand Down
2 changes: 1 addition & 1 deletion tests/Checks/CacheHeadersCheckTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function testMustExclude()
new Response(200, ['Cache-Control' => 'must-revalidate', 'ETag' => '123']),
new Response(200, ['Cache-Control' =>'no-cache', '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);
Expand Down

0 comments on commit aa1311f

Please sign in to comment.