From a7aeb3c4ecf466e7748aacc4e688f17a798ab4e6 Mon Sep 17 00:00:00 2001 From: surtic86 Date: Sun, 20 Sep 2026 21:41:03 +0200 Subject: [PATCH] Ask for PHP 8.5 and test one runtime Nothing in the package needs a feature of either version: the floor sat at 8.4 because that is where the scaffold put it, and Laravel 13 itself asks only for 8.3. Two entries in the feature matrix bought a second run of the same suite on a runtime the code cannot tell apart from the one beside it. 2.3.0 asks for 8.5. The feature job loses its matrix and runs on 8.5 alone, so pint no longer needs the `if` that kept it from running twice; the browser jobs were already pinned there. 2.2.0 stays available for an application still on 8.4. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/tests.yml | 8 +------- README.md | 2 +- UPGRADE.md | 6 ++++++ composer.json | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9b879fbd..d64b410e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,11 +14,6 @@ jobs: feature: runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - php: ['8.4', '8.5'] - steps: - name: Checkout code uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 @@ -28,7 +23,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2 with: - php-version: ${{ matrix.php }} + php-version: '8.5' tools: composer:v2 coverage: none @@ -45,7 +40,6 @@ jobs: npm ci - name: Check formatting - if: matrix.php == '8.5' run: vendor/bin/pint --test - name: Run feature tests diff --git a/README.md b/README.md index b6b8d985..ec80483c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ No JavaScript libraries beyond the Alpine that ships with Livewire. Browsers: Ch ## Requirements -PHP 8.4+, Laravel 13, Livewire 4, Vite, and Node (for `material:scheme`). +PHP 8.5+, Laravel 13, Livewire 4, Vite, and Node (for `material:scheme`). ## Installation diff --git a/UPGRADE.md b/UPGRADE.md index fde1f3a1..0d484747 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,5 +1,11 @@ # Upgrading +## From 2.2.0 to 2.3.0 + +- **PHP 8.5 is required.** Composer refuses to install the package on 8.4. Nothing in the package's + code needs 8.5 — 2.2.0 runs on 8.4 and stays available for an application still on it — but the + package is now built and tested against one runtime rather than two. + ## From 2.1.0 to 2.2.0 - **Run `php artisan view:clear` after upgrading.** The components are no longer registered under a diff --git a/composer.json b/composer.json index c40a8f3e..88572d12 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ } ], "require": { - "php": "^8.4", + "php": "^8.5", "laravel/framework": "^13.0", "livewire/livewire": "^4.0" },