Skip to content

Commit

Permalink
Build and test on PHP 8.1 and 8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
craig410 committed Oct 25, 2022
1 parent 17f8779 commit b9b9276
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,18 @@ jobs:
fail-fast: false
matrix:
php_version:
- '7.4'
- '8.0'
- '8.1'
- '8.2'
dependencies:
- 'default'
include:
- php_version: '7.4'
dependencies: 'lowest'
- php_version: '8.0'
dependencies: 'lowest'
- php_version: '8.1'
dependencies: 'lowest'
- php_version: '8.2'
dependencies: 'lowest'
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
### Unreleased

* Drop support for PHP 7.4
* Support PHP 8.1 & 8.2

### v2.0.0 (2021-10-12)

* Drop support for php 7.2
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
}
],
"require": {
"guzzlehttp/guzzle": "^6.2 || ^7.0",
"php": "^7.4 || ~8.0.0"
"guzzlehttp/guzzle": "^7.0",
"php": "~8.0.0 || ~8.1.0 || ~8.2.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpunit/phpunit": "^9.5.5",
"johnkary/phpunit-speedtrap": "^3.3"
},
"support": {
Expand Down
1 change: 1 addition & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
convertDeprecationsToExceptions="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
Expand Down

0 comments on commit b9b9276

Please sign in to comment.