From 573beada2551d0409ef1dd8608f04c61da91b17a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 29 Mar 2024 01:59:39 +0100 Subject: [PATCH 1/4] drop L9, add L11 support --- .github/workflows/ci.yml | 2 +- composer.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e309df..7e8f3cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - laravel: [9, 10] + laravel: [10, 11] steps: - uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index 42e5035..74840b9 100644 --- a/composer.json +++ b/composer.json @@ -25,14 +25,14 @@ }, "require": { "php": "^8.1", - "illuminate/support": "^9.0|^10.0", + "illuminate/support": "^10.0|^11.0", "archtechx/helpers": "^0.3.1" }, "require-dev": { - "orchestra/testbench": "^7.19|^8.0", - "pestphp/pest": "^1.10|^2.0", + "orchestra/testbench": "^8.0|^9.0", + "pestphp/pest": "^2.0", "phpstan/phpstan": "^1.9.8", - "pestphp/pest-plugin-laravel": "^1.1|^2.0", + "pestphp/pest-plugin-laravel": "^2.0", "nunomaduro/larastan": "^2.4" }, "extra": { From 8e4e1d4638c4f60f0d8e99cdf6a780537f8adcef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 29 Mar 2024 02:01:24 +0100 Subject: [PATCH 2/4] bump PHP version --- .github/workflows/ci.yml | 2 +- composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e8f3cb..eb433af 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' - name: Install composer dependencies run: composer require "illuminate/support:^${{ matrix.laravel }}.0" - name: Run tests diff --git a/composer.json b/composer.json index 74840b9..54911d1 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ } }, "require": { - "php": "^8.1", + "php": "^8.2", "illuminate/support": "^10.0|^11.0", "archtechx/helpers": "^0.3.1" }, From 8afe6cb8e2bcb37f695ebb056b374fcef106ca84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 29 Mar 2024 02:10:25 +0100 Subject: [PATCH 3/4] bump archtechx/helpers dependency --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 54911d1..fff9205 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "require": { "php": "^8.2", "illuminate/support": "^10.0|^11.0", - "archtechx/helpers": "^0.3.1" + "archtechx/helpers": "^0.3.2" }, "require-dev": { "orchestra/testbench": "^8.0|^9.0", From 934e987888d3658df832aa6797f19c7ad56bbab4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 29 Mar 2024 02:11:33 +0100 Subject: [PATCH 4/4] add setup-php to all ci jobs --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb433af..fca2e98 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,10 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' - name: Install composer dependencies run: composer install - name: Run phpstan @@ -45,6 +49,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' - name: Install php-cs-fixer run: composer global require friendsofphp/php-cs-fixer - name: Run php-cs-fixer