From f34eee7bd2b5cbc0555fd394649c65075a0f560f Mon Sep 17 00:00:00 2001 From: crynobone Date: Tue, 12 Nov 2024 11:33:51 +0000 Subject: [PATCH 1/4] Fix code styling --- tests/Feature/Actions/ResolveListenersTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/Actions/ResolveListenersTest.php b/tests/Feature/Actions/ResolveListenersTest.php index 9490251..310072d 100644 --- a/tests/Feature/Actions/ResolveListenersTest.php +++ b/tests/Feature/Actions/ResolveListenersTest.php @@ -5,7 +5,7 @@ use Livewire\Volt\Component; use Livewire\Volt\InlineListenerName; -use function Livewire\Volt\{on}; +use function Livewire\Volt\on; it('resolves the registered listeners', function () { $context = CompileContext::instance(); From 77f942789b46464004b190e29540d10efb3715db Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 12 Nov 2024 19:34:52 +0800 Subject: [PATCH 2/4] [1.x] Supports PHP 8.4 --- .github/workflows/tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 390f47d..e7f1ec3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,9 +19,11 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2, 8.3] + php: [8.1, 8.2, 8.3, 8.4] laravel: [10, 11] exclude: + - php: 8.4 + laravel: 10 - php: 8.1 laravel: 11 @@ -86,8 +88,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=~${{ matrix.laravel }}" --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework=~${{ matrix.laravel }}" - name: Execute tests run: vendor/bin/pest From 1da1ebb941b32b9fcfe7ed73cb5261151bd448e0 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 12 Nov 2024 19:36:36 +0800 Subject: [PATCH 3/4] Update tests.yml --- .github/workflows/tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e7f1ec3..59f8449 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,8 +44,8 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts=^${{ matrix.laravel }}" --no-update - composer update --prefer-dist --no-interaction --no-progress + composer require --no-update + composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" - name: Execute tests run: vendor/bin/pest @@ -56,9 +56,11 @@ jobs: strategy: fail-fast: true matrix: - php: [8.1, 8.2, 8.3] + php: [8.1, 8.2, 8.3, 8.4] laravel: [10, 11] exclude: + - php: 8.4 + laravel: 10 - php: 8.1 laravel: 11 @@ -88,7 +90,7 @@ jobs: - name: Install dependencies run: | - composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework=~${{ matrix.laravel }}" + composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:~${{ matrix.laravel }}" - name: Execute tests run: vendor/bin/pest From addf3e6e9e63a2c9ab7e04dd5714bb5424350de8 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 12 Nov 2024 19:36:52 +0800 Subject: [PATCH 4/4] Update tests.yml --- .github/workflows/tests.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 59f8449..d13e98b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,7 +44,6 @@ jobs: - name: Install dependencies run: | - composer require --no-update composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" - name: Execute tests