From fc5ed651d4448c4b352d081becef41b93ab320c0 Mon Sep 17 00:00:00 2001 From: Rhys Lees <43909932+RhysLees@users.noreply.github.com> Date: Fri, 15 Mar 2024 11:54:45 +0000 Subject: [PATCH] WIP --- .github/workflows/phpstan.yml | 2 +- .github/workflows/run-tests.yml | 5 +---- composer.json | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index bf32fe4..c6078f3 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -16,7 +16,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.3' + 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 edb1517..2798855 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -16,9 +16,6 @@ jobs: php: [ 8.3 ] laravel: [ 11.* ] stability: [ prefer-stable ] - include: - - laravel: 11.* - testbench: 9.* name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -40,7 +37,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Set phpunit.xml diff --git a/composer.json b/composer.json index 6b64c89..b2e544d 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ } ], "require": { - "php": "^8.3", + "php": ">=8.2", "guzzlehttp/guzzle": "^7.8", "illuminate/contracts": "^11.0", "spatie/laravel-package-tools": "^1.16",