diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 856ec2c..6719dfa 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 }} diff --git a/composer.json b/composer.json index 9ed99a9..1f544d2 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/tests/Integration/IntegrationTest.php b/tests/Integration/IntegrationTest.php index c11c654..c2d9a6c 100644 --- a/tests/Integration/IntegrationTest.php +++ b/tests/Integration/IntegrationTest.php @@ -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(); diff --git a/tests/Unit/UnitTest.php b/tests/Unit/UnitTest.php index d2acdbc..97dd311 100644 --- a/tests/Unit/UnitTest.php +++ b/tests/Unit/UnitTest.php @@ -13,7 +13,7 @@ class UnitTest extends TestCase /** @var ResourceIterator $resource */ protected $resource; - protected function setUp() + protected function setUp(): void { parent::setUp();