From 44d5ad5aeb599e533e740eff9a0c5f47c867158c Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 24 Sep 2024 07:24:38 +0800 Subject: [PATCH 1/8] [8.x] Supports PHP 8.4 Signed-off-by: Mior Muhammad Zaki --- .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 694b05e0b..a4122dd89 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,9 @@ jobs: php: [8.1, 8.2, 8.3] laravel: [10, 11] phpunit: [10.5, '11.0'] + include: + - php: 8.4 + laravel: 11 exclude: - php: 8.1 laravel: 11 @@ -44,8 +47,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" - name: Execute tests run: vendor/bin/phpunit -c phpunit.xml.dist @@ -56,8 +58,8 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2] - laravel: [10] + php: [8.2, 8.3] + laravel: [10, 11] name: Test Stubs PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} From 76299d27a9cf90b7752d7f75204f75428da09fe2 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 24 Sep 2024 07:26:57 +0800 Subject: [PATCH 2/8] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/browser-tests.yml | 7 +++++-- .github/workflows/tests.yml | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index bcf6354b4..57514088a 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -21,6 +21,10 @@ jobs: php: [8.1, 8.2, 8.3] laravel: [10, 11] phpunit: [10.5, '11.0'] + include: + - php: 8.4 + laravel: 8.3 + phpunit: 11.3 exclude: - php: 8.1 laravel: 11 @@ -44,8 +48,7 @@ jobs: - name: Install dependencies run: | - composer require "illuminate/contracts:^${{ matrix.laravel }}" "phpunit/phpunit:^${{ matrix.phpunit }}" --dev --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" - name: Upgrade Chrome Driver run: php vendor/bin/testbench dusk:chrome-driver --detect diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a4122dd89..fdcca3431 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,8 @@ jobs: phpunit: [10.5, '11.0'] include: - php: 8.4 - laravel: 11 + laravel: 8.3 + phpunit: 11.3 exclude: - php: 8.1 laravel: 11 From 55749c0f705a2992cc421360432bdb4b074c3893 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 24 Sep 2024 07:28:28 +0800 Subject: [PATCH 3/8] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/browser-tests.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 57514088a..f10fe955b 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -23,7 +23,7 @@ jobs: phpunit: [10.5, '11.0'] include: - php: 8.4 - laravel: 8.3 + laravel: 11 phpunit: 11.3 exclude: - php: 8.1 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fdcca3431..d2c25c5bf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,7 +23,7 @@ jobs: phpunit: [10.5, '11.0'] include: - php: 8.4 - laravel: 8.3 + laravel: 11 phpunit: 11.3 exclude: - php: 8.1 From 69447681a94a8042236d3045d3abadc7eb119437 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 24 Sep 2024 07:30:01 +0800 Subject: [PATCH 4/8] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/browser-tests.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index f10fe955b..0eb562562 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -48,7 +48,7 @@ jobs: - name: Install dependencies run: | - composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" + composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" - name: Upgrade Chrome Driver run: php vendor/bin/testbench dusk:chrome-driver --detect diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d2c25c5bf..f37f2cc6a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,7 +48,7 @@ jobs: - name: Install dependencies run: | - composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" + composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" - name: Execute tests run: vendor/bin/phpunit -c phpunit.xml.dist From 926eabdad38907b6383974e84a3394fd9ef00e28 Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 24 Sep 2024 08:23:41 +0800 Subject: [PATCH 5/8] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/browser-tests.yml | 4 ++-- .github/workflows/tests.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 0eb562562..844cb9f58 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -48,7 +48,7 @@ jobs: - name: Install dependencies run: | - composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" + composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress - name: Upgrade Chrome Driver run: php vendor/bin/testbench dusk:chrome-driver --detect @@ -60,6 +60,6 @@ jobs: run: php vendor/bin/testbench serve --no-reload & - name: Execute tests - run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist + run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --display-deprecations env: APP_URL: http://127.0.0.1:8000 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f37f2cc6a..3b65df7fc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,10 +48,10 @@ jobs: - name: Install dependencies run: | - composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" + composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit -c phpunit.xml.dist + run: vendor/bin/phpunit -c phpunit.xml.dist --display-deprecations stub-tests: runs-on: ubuntu-22.04 From e9479af7d13beb066d6294ae6227bf4542d4b68a Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Tue, 24 Sep 2024 08:25:59 +0800 Subject: [PATCH 6/8] wip Signed-off-by: Mior Muhammad Zaki --- .github/workflows/browser-tests.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 844cb9f58..a51f3ac90 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -60,6 +60,6 @@ jobs: run: php vendor/bin/testbench serve --no-reload & - name: Execute tests - run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --display-deprecations + run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --fail-on-deprecation --display-deprecations env: APP_URL: http://127.0.0.1:8000 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3b65df7fc..397b745f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,7 +51,7 @@ jobs: composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit -c phpunit.xml.dist --display-deprecations + run: vendor/bin/phpunit -c phpunit.xml.dist --fail-on-deprecation --display-deprecations stub-tests: runs-on: ubuntu-22.04 From 066ef1bb5f8068259fb1bd1e5ee720600f76867b Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Wed, 13 Nov 2024 12:50:50 +0800 Subject: [PATCH 7/8] wip --- .github/workflows/browser-tests.yml | 6 +++--- .github/workflows/tests.yml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml index 8cc13b8b5..f6e422e8f 100644 --- a/.github/workflows/browser-tests.yml +++ b/.github/workflows/browser-tests.yml @@ -20,7 +20,7 @@ jobs: matrix: php: [8.1, 8.2, 8.3] laravel: [10, 11] - phpunit: [10.5, '11.0'] + phpunit: [10.5, 11] include: - php: 8.4 laravel: 11 @@ -29,7 +29,7 @@ jobs: - php: 8.1 laravel: 11 - laravel: 10 - phpunit: '11.0' + phpunit: 11 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }} @@ -60,6 +60,6 @@ jobs: run: php vendor/bin/testbench serve --no-reload & - name: Execute tests - run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --fail-on-deprecation --display-deprecations + run: php vendor/bin/phpunit -c phpunit.dusk.xml.dist --display-deprecations --fail-on-deprecation env: APP_URL: http://127.0.0.1:8000 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 397b745f2..a32c4ddf6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: matrix: php: [8.1, 8.2, 8.3] laravel: [10, 11] - phpunit: [10.5, '11.0'] + phpunit: [10.5, 11] include: - php: 8.4 laravel: 11 @@ -29,7 +29,7 @@ jobs: - php: 8.1 laravel: 11 - laravel: 10 - phpunit: '11.0' + phpunit: 11 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - PHPUnit ${{ matrix.phpunit }} @@ -48,10 +48,10 @@ jobs: - name: Install dependencies run: | - composer update --with=laravel/framework:^${{ matrix.laravel }} --with=phpunit/phpunit:^${{ matrix.phpunit }} --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with="laravel/framework:^${{ matrix.laravel }}" --with="phpunit/phpunit:^${{ matrix.phpunit }}" - name: Execute tests - run: vendor/bin/phpunit -c phpunit.xml.dist --fail-on-deprecation --display-deprecations + run: vendor/bin/phpunit -c phpunit.xml.dist --display-deprecations --fail-on-deprecation stub-tests: runs-on: ubuntu-22.04 @@ -59,7 +59,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.2, 8.3] + php: [8.2, 8.3, 8.4] laravel: [10, 11] name: Test Stubs PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} From 6c353aceeaffbb50dd67c8c19f4936275d14f4ef Mon Sep 17 00:00:00 2001 From: Mior Muhammad Zaki Date: Fri, 22 Nov 2024 00:13:56 +0800 Subject: [PATCH 8/8] wip --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e6fd0630e..3cb020665 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "guzzlehttp/guzzle": "^7.5", "illuminate/console": "^10.0|^11.0", "illuminate/support": "^10.0|^11.0", - "php-webdriver/webdriver": "^1.9.0", + "php-webdriver/webdriver": "^1.15.2", "symfony/console": "^6.2|^7.0", "symfony/finder": "^6.2|^7.0", "symfony/process": "^6.2|^7.0",