From 1a356cae9aba738ed8638d5bb7d654c572abad94 Mon Sep 17 00:00:00 2001 From: Alessio Vertemati Date: Fri, 17 May 2024 10:52:43 +0200 Subject: [PATCH] Support Laravel 11, drop Laravel 9 --- .github/workflows/run-tests.yml | 6 ++-- composer.json | 16 ++++----- phpunit.xml.dist | 58 ++++++++++++--------------------- 3 files changed, 32 insertions(+), 48 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9f0681b..3218b0c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,15 +13,15 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1, 8.2] - laravel: ['^9.12', '^10.0'] + php: [8.2, 8.3] + laravel: ['^10.0', '^11.0'] stability: [prefer-lowest, prefer-stable] name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download Franc binary run: | diff --git a/composer.json b/composer.json index 9a8b435..b9eed37 100644 --- a/composer.json +++ b/composer.json @@ -17,17 +17,17 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^9.12|^10.0", - "illuminate/support": "^9.12|^10.0", - "illuminate/http": "^9.12|^10.0", - "symfony/process": "^6.0" + "illuminate/contracts": "^10.0||^11.0", + "illuminate/support": "^10.0||^11.0", + "illuminate/http": "^10.0||^11.0", + "symfony/process": "^6.2||^7.0" }, "require-dev": { - "brianium/paratest": "^6.2", + "brianium/paratest": "^7.0", "nunomaduro/collision": "^6.1|^7.0", - "orchestra/testbench": "^7.0|^8.0", - "phpunit/phpunit": "^9.5.10|^10.0", - "vimeo/psalm": "^4.8", + "orchestra/testbench": "^8.0|^9.0", + "phpunit/phpunit": "^10.0|^11.0", + "vimeo/psalm": "^5.0", "guzzlehttp/guzzle": "^7.0.1" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 47bdc74..cd4c571 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,39 +1,23 @@ - - - - tests - - - - - ./src - - - - - - - - - - + + + + tests + + + + + + + + + + + + + + + ./src + +