Skip to content

Commit

Permalink
Merge pull request #4 from TimmyGuy/patch-1
Browse files Browse the repository at this point in the history
Support php 8.2 and higher
  • Loading branch information
imbue authored May 26, 2023
2 parents c5aad8d + 817833b commit 3681703
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php-versions: [ '7.2', '7.3' ]
php-versions: [ '7.2', '7.3', '8.2' ]
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
}
],
"require": {
"php": "^7.2 || ^7.3",
"php": "^7.2 || ^7.3 || ^8.2",
"guzzlehttp/guzzle": "~4.0|~5.0|~6.0|~7.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.1"
"phpunit/phpunit": "^5.7 || ^6.5 || ^7.1 || ^10.1"
},
"config": {
"sort-packages": true
Expand Down
2 changes: 1 addition & 1 deletion tests/ApiClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ApiClientTest extends TestCase
/** @var SendCloudApiClient */
private $sendCloudApiClient;

protected function setUp()
protected function setUp(): void
{
parent::setUp();
$this->guzzleClient = $this->createMock(Client::class);
Expand Down

0 comments on commit 3681703

Please sign in to comment.