Skip to content

Commit f18556b

Browse files
Switch to Guzzle 7
Co-Authored-By: Owen Voke <[email protected]>
1 parent c881791 commit f18556b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
php: ['7.0', '7.1', '7.2', '7.3', '7.4']
14+
php: ['7.2', '7.3', '7.4', '8.0']
1515

1616
steps:
1717
- name: Checkout Code

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
## Installation
1212

13-
The StyleCI SDK requires [PHP](https://php.net) 7. To get the latest version, simply require the project using [Composer](https://getcomposer.org):
13+
The StyleCI SDK requires [PHP](https://php.net) 7.2.5 or higher. To get the latest version, simply require the project using [Composer](https://getcomposer.org):
1414

1515
```bash
16-
$ composer require styleci/sdk
16+
$ composer require styleci/sdk:^1.4
1717
```
1818

1919

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.0",
14-
"graham-campbell/guzzle-factory": "^3.0",
15-
"guzzlehttp/guzzle": "^6.3"
13+
"php": "^7.2.5 || ^8.0",
14+
"ext-json": "*",
15+
"graham-campbell/guzzle-factory": "^4.2"
1616
},
1717
"require-dev": {
18-
"graham-campbell/testbench-core": "^1.1",
19-
"mockery/mockery": "^1.2",
20-
"phpunit/phpunit": "^6.5|^7.0|^8.0"
18+
"graham-campbell/testbench-core": "^3.2.2",
19+
"phpunit/phpunit": "^8.5.13 || ^9.4.4",
20+
"mockery/mockery": "~1.3.3 || ^1.4.2"
2121
},
2222
"autoload": {
2323
"psr-4": {

src/Client.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Client
3535
*
3636
* @var string
3737
*/
38-
const USER_AGENT = 'styleci-sdk/1.3';
38+
const USER_AGENT = 'styleci-sdk/1.4';
3939

4040
/**
4141
* The guzzle client instance.

0 commit comments

Comments
 (0)