diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6556fb4..b3ff0b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,17 +17,19 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: php: - '8.0' + - '8.1' laravel: - - 8.* + - 9.* prefer: - 'prefer-lowest' - 'prefer-stable' include: - - laravel: '8.*' - testbench: '6.*' + - laravel: '9.*' + testbench: '7.*' name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} --${{ matrix.prefer }} diff --git a/composer.json b/composer.json index 4c6491f..f9e4072 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,13 @@ { "name": "renoki-co/laravel-exporter-contracts", "description": "Base contracts implementation for Prometheus exports in Laravel.", - "keywords": ["laravel", "php", "prometheus", "metrics", "exporter"], + "keywords": [ + "laravel", + "php", + "prometheus", + "metrics", + "exporter" + ], "license": "Apache-2.0", "homepage": "https://github.com/renoki-co/laravel-exporter-contracts", "authors": [ @@ -14,9 +20,9 @@ "require": { "php": "^8.0", "promphp/prometheus_client_php": "^2.4", - "illuminate/config": "^8.40", - "illuminate/routing": "^8.40", - "illuminate/support": "^8.40" + "illuminate/config": "^9.0", + "illuminate/routing": "^9.0", + "illuminate/support": "^9.0" }, "autoload": { "psr-4": { @@ -33,7 +39,8 @@ }, "require-dev": { "mockery/mockery": "^1.5", - "orchestra/testbench": "^6.24.0" + "orchestra/testbench": "^7.0", + "phpunit/phpunit": "^9.0" }, "config": { "sort-packages": true diff --git a/tests/TestCase.php b/tests/TestCase.php index ae9b6a5..bcb47a1 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -9,7 +9,7 @@ abstract class TestCase extends Orchestra /** * {@inheritdoc} */ - public function setUp(): void + protected function setUp(): void { parent::setUp(); }