From 1bc38378d495ce5cd13852b4e4107b00b6607ae8 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 02:13:14 +0300 Subject: [PATCH 1/4] Added Laravel 12 support --- composer.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index c392350..de7a26e 100644 --- a/composer.json +++ b/composer.json @@ -40,16 +40,16 @@ "php": "^8.0", "doctrine/dbal": "^3.3", "dragon-code/support": "^5.8 || ^6.0", - "illuminate/contracts": "^8.37 || ^9.0 || ^10.0 || ^11.0", - "illuminate/database": "^8.37 || ^9.0 || ^10.0 || ^11.0", - "illuminate/http": "^8.37 || ^9.0 || ^10.0 || ^11.0", - "illuminate/routing": "^8.37 || ^9.0 || ^10.0 || ^11.0", - "illuminate/support": "^8.37 || ^9.0 || ^10.0 || ^11.0" + "illuminate/contracts": "^8.37 || ^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/database": "^8.37 || ^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/http": "^8.37 || ^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/routing": "^8.37 || ^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/support": "^8.37 || ^9.0 || ^10.0 || ^11.0 || ^12.0" }, "require-dev": { "mockery/mockery": "^1.5", - "orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "phpunit/phpunit": "^9.6 || ^10.0" + "orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", + "phpunit/phpunit": "^9.6 || ^10.0 || ^11.0 || ^12.0" }, "minimum-stability": "stable", "prefer-stable": true, @@ -81,4 +81,4 @@ ] } } -} \ No newline at end of file +} From 6af7c2944814ef11844dffbd471a636be046e7f2 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 02:14:06 +0300 Subject: [PATCH 2/4] Update phpunit.yml --- .github/workflows/phpunit.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 42000ec..a567df2 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -9,15 +9,21 @@ jobs: strategy: fail-fast: true matrix: - php: [ "8.0", "8.1", "8.2", "8.3" ] - laravel: [ "8.0", "9.0", "10.0", "11.0" ] + php: [ "8.0", "8.1", "8.2", "8.3", "8.4" ] + laravel: [ "8.0", "9.0", "10.0", "11.0", "12.0" ] exclude: - laravel: "8.0" php: "8.3" + - laravel: "8.0" + php: "8.4" + - laravel: "9.0" php: "8.3" + - laravel: "9.0" + php: "8.4" + - laravel: "10.0" php: "8.0" @@ -26,6 +32,12 @@ jobs: - laravel: "11.0" php: "8.1" + + - laravel: "12.0" + php: "8.0" + + - laravel: "12.0" + php: "8.1" name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} @@ -43,5 +55,8 @@ jobs: - name: Install dependencies run: composer require --dev laravel/framework:^${{ matrix.laravel }} + - name: Update PHPUnit Configuration + run: vendor/bin/phpunit --migrate-configuration + - name: Execute tests run: sudo vendor/bin/phpunit From c2fe02731caedd4dcbc809a29146fe51522861cb Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 20:16:01 +0300 Subject: [PATCH 3/4] Update phpunit.yml --- .github/workflows/phpunit.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index a567df2..373675a 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -55,8 +55,5 @@ jobs: - name: Install dependencies run: composer require --dev laravel/framework:^${{ matrix.laravel }} - - name: Update PHPUnit Configuration - run: vendor/bin/phpunit --migrate-configuration - - name: Execute tests run: sudo vendor/bin/phpunit From 02176208f47280c7851c441c5ecd05806fa551cf Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 20:18:37 +0300 Subject: [PATCH 4/4] Update phpunit.xml --- phpunit.xml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/phpunit.xml b/phpunit.xml index 21ea162..455aa91 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -18,11 +18,6 @@ ./src - - - - -