From d10da48d154daa201c9fa5e981e077ad22b932a0 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 02:15:13 +0300 Subject: [PATCH 1/4] Added Laravel 12 support --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index cfddec4..998da63 100644 --- a/composer.json +++ b/composer.json @@ -36,14 +36,14 @@ "php": "^8.0", "dragon-code/contracts": "^2.6", "dragon-code/support": "^6.1", - "illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", - "illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0", + "illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0", "phpdocumentor/reflection-docblock": "^5.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0", - "phpunit/phpunit": "^9.6 || ^10.0" + "orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0", + "phpunit/phpunit": "^9.6 || ^10.0 || ^11.0 || ^12.0" }, "conflict": { "andrey-helldar/laravel-routes-core": "*", @@ -71,4 +71,4 @@ "preferred-install": "dist", "sort-packages": true } -} \ No newline at end of file +} From fc0fddfc55ef3da6d86a231611a4a54871e07d8e Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 02:16:18 +0300 Subject: [PATCH 2/4] Update phpunit.yml --- .github/workflows/phpunit.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index e66adb0..eaec7c8 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -9,8 +9,8 @@ jobs: strategy: fail-fast: true matrix: - php: [ "8.0", "8.1", "8.2", "8.3" ] - laravel: [ "7.0", "8.0", "9.0", "10.0", "11.0" ] + php: [ "8.0", "8.1", "8.2", "8.3", "8.4" ] + laravel: [ "7.0", "8.0", "9.0", "10.0", "11.0", "12.0" ] exclude: - laravel: "7.0" php: "8.1" @@ -21,9 +21,21 @@ jobs: - laravel: "7.0" php: "8.3" + - laravel: "7.0" + php: "8.4" + + - 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" @@ -33,6 +45,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 }} steps: @@ -49,5 +67,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 142095b34e8983f9121b34d5dfa875fd5dab8d89 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 20:20:43 +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 eaec7c8..9dd03e8 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -67,8 +67,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 b93a25995e918f4c3b65ce07a27fb7bdca67387f Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 20:20:56 +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 2450ae7..455eb12 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -18,11 +18,6 @@ ./src - - - - -