Skip to content

Commit

Permalink
Merge pull request #30 from grnhse/upgrade_guzzle
Browse files Browse the repository at this point in the history
Upgrade Guzzle to 7+
  • Loading branch information
tdphillipsjr authored Oct 2, 2020
2 parents a76ec41 + 33ba3d5 commit 645a3c4
Show file tree
Hide file tree
Showing 13 changed files with 1,150 additions and 417 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ workflows:
- test:
matrix:
parameters:
php-version: ["5.6", "7.0", "7.1", "7.2", "7.3", "7.4"]
php-version: ["7.3", "7.4"]
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,18 @@ This package of tools is provided by Greenhouse for customers who use PHP. Ther
4. **Harvest Service**: Used to interact with the Harvest API.

# Requirements
1. PHP Version 5.6 or greater. (Travis build passes on PHP 7.0; has not been manually tested).
1. PHP Version
a. 5.6 or greater for V1.
b. 7.3 or greater for V2.
2. [Composer](https://getcomposer.org/). You should be using Composer to manage this package.

Due to the EOL on PHP 5 and Guzzle 6, this package was upgraded to require PHP 7.3. We will no longer be supporting V1.

# Installing
This is available on Packagist. Install via Composer. Add the following to your requirements:

```
"grnhse/greenhouse-tools-php": "~1.0"
"grnhse/greenhouse-tools-php": "~2.0"
```


Expand Down
9 changes: 5 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
}
],
"require": {
"php": ">=5.6",
"guzzlehttp/guzzle": "~6.2"
"php": ">=7.3",
"guzzlehttp/guzzle": "~7"
},
"require-dev": {
"phpunit/phpunit": "~5.0",
"solano/solano-phpunit": "*"
"phpunit/phpunit": "*",
"php": ">=7.3"

},
"autoload": {
"psr-4": { "Greenhouse\\GreenhouseToolsPhp\\": "src/" }
Expand Down
Loading

0 comments on commit 645a3c4

Please sign in to comment.