From 3169e616ba26151643acdc70d5b80d396f0960a5 Mon Sep 17 00:00:00 2001 From: bert-w Date: Fri, 17 Jul 2026 17:43:34 +0200 Subject: [PATCH] Drop EOL Laravel 11 from CI, update actions - run-tests: test Laravel 12 & 13 (drop EOL 11) - phpstan: analyze against L12 (min PHP 8.2) and L13 (newest) - composer: orchestra/testbench ^10.0|^11.0 - bump actions/checkout to v7 --- .github/workflows/php-cs-fixer.yml | 2 +- .github/workflows/phpstan.yml | 18 ++++++++++++------ .github/workflows/run-tests.yml | 6 ++---- .github/workflows/update-changelog.yml | 2 +- composer.json | 2 +- 5 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index 3e724f1..3ab46e3 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index 197e4eb..45ddfa1 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -14,17 +14,23 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest] - php: [8.3, 8.2] - laravel: [11.*] - stability: [prefer-stable] - testbench: [9.*] + include: + - os: ubuntu-latest + php: 8.2 + laravel: 12.* + testbench: 10.* + stability: prefer-stable + - os: ubuntu-latest + php: 8.4 + laravel: 13.* + testbench: 11.* + stability: prefer-stable name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 02e8c3a..f6932e5 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -18,14 +18,12 @@ jobs: fail-fast: false matrix: php: ['8.2', '8.3', '8.4', '8.5'] - laravel: ['11.*', '12.*', '13.*'] + laravel: ['12.*', '13.*'] livewire: ['3.*', '4.*'] exclude: - laravel: '13.*' php: '8.2' include: - - laravel: '11.*' - testbench: '9.*' - laravel: '12.*' testbench: '10.*' - laravel: '13.*' @@ -35,7 +33,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Setup PHP uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 8645982..68f81c3 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: ref: main diff --git a/composer.json b/composer.json index 553fd6e..208a49b 100755 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require-dev": { "friendsofphp/php-cs-fixer": "^3.8", "larastan/larastan": "^2.9|^3.0", - "orchestra/testbench": "^9.0|^10.0", + "orchestra/testbench": "^10.0|^11.0", "phpunit/phpunit": "^11.1" }, "autoload": {