diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 572ac9d..0f00b56 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -21,7 +21,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' coverage: none - name: Install composer dependencies diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f55b6e7..710fa0c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,12 +9,17 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.2, 8.1] - laravel: [10.*] + php: [8.1, 8.2, 8.3] + laravel: [10.*, 11.*] dependency-version: [prefer-lowest, prefer-stable] include: - - laravel: 10.* - testbench: 8.* + - laravel: 10.* + testbench: ^8.20 + - laravel: 11.* + testbench: ^9.0 + exclude: + - php: 8.1 + laravel: 11.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} diff --git a/composer.json b/composer.json index 3e4309a..a899382 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,8 @@ ], "require": { "php": "^8.1", - "illuminate/http": "^10.0", - "illuminate/support": "^10.0" + "illuminate/http": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0" }, "autoload": { "psr-4": { @@ -35,15 +35,18 @@ "test": "phpunit" }, "require-dev": { - "orchestra/testbench": "^8.12", + "orchestra/testbench": "^8.20|^9.0", "phpunit/phpunit": "^10.3", "guzzlehttp/guzzle": "^7.8", - "nunomaduro/larastan": "^2.6", + "larastan/larastan": "^2.9", "phpstan/extension-installer": "^1.3" }, "config": { + "sort-packages": true, "allow-plugins": { "phpstan/extension-installer": true } - } + }, + "minimum-stability" : "dev", + "prefer-stable" : true }