Skip to content

Commit

Permalink
Update supported php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dzava committed Nov 9, 2021
1 parent 0579a98 commit 23502ef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4]
php: [7.4, 8.0]
dependency-version: [prefer-lowest, prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }}
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.4|^8.0",
"guzzlehttp/guzzle": "^6.3|^7.0",
"illuminate/support": "^7.0|^8.0",
"ext-json": "*"
},
"require-dev": {
"larapack/dd": "^1.0",
"phpunit/phpunit": "^7.0"
"phpunit/phpunit": "^9.0"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class IntegrationTest extends TestCase
private $secondPageResults = ['Michael', 'Lindsay', 'Tobias', 'Byron', 'George', 'Rachel'];
private $allResults;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/UnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class UnitTest extends TestCase
/** @var ResourceIterator $resource */
protected $resource;

protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 23502ef

Please sign in to comment.