Skip to content

Commit 3681703

Browse files
authored
Merge pull request #4 from TimmyGuy/patch-1
Support php 8.2 and higher
2 parents c5aad8d + 817833b commit 3681703

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
operating-system: [ ubuntu-latest ]
15-
php-versions: [ '7.2', '7.3' ]
15+
php-versions: [ '7.2', '7.3', '8.2' ]
1616
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
1717
steps:
1818
- uses: actions/checkout@v2

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.2 || ^7.3",
19+
"php": "^7.2 || ^7.3 || ^8.2",
2020
"guzzlehttp/guzzle": "~4.0|~5.0|~6.0|~7.0"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.1"
23+
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.1 || ^10.1"
2424
},
2525
"config": {
2626
"sort-packages": true

tests/ApiClientTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class ApiClientTest extends TestCase
1515
/** @var SendCloudApiClient */
1616
private $sendCloudApiClient;
1717

18-
protected function setUp()
18+
protected function setUp(): void
1919
{
2020
parent::setUp();
2121
$this->guzzleClient = $this->createMock(Client::class);

0 commit comments

Comments
 (0)