From 5e2d040d6afd86fa401d4f75aa94e31dd8a68e4e Mon Sep 17 00:00:00 2001 From: Jasper Zonneveld Date: Thu, 24 Oct 2024 20:41:07 +0200 Subject: [PATCH] build: add support for Laravel 11 --- .github/workflows/tests.yml | 16 ++++++++++++++-- composer.json | 6 +++--- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index de5aeeb..7fd3b14 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,20 +9,32 @@ jobs: strategy: fail-fast: false matrix: - php: [ '7.4', '8.0', '8.1' ] - laravel: [ '6.*', '7.*', '8.*', '9.*', '10.*' ] + php: [ '7.4', '8.0', '8.1', '8.2' ] + laravel: [ '6.*', '7.*', '8.*', '9.*', '10.*', '11.*' ] stability: [ prefer-stable ] exclude: - laravel: '6.*' php: '8.1' + - laravel: '6.*' + php: '8.2' - laravel: '7.*' php: '8.1' + - laravel: '7.*' + php: '8.2' - laravel: '9.*' php: '7.4' + - laravel: '9.*' + php: '8.2' - laravel: '10.*' php: '7.4' - laravel: '10.*' php: '8.0' + - laravel: '11.*' + php: '7.4' + - laravel: '11.*' + php: '8.0' + - laravel: '11.*' + php: '8.1' name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index 2ab7724..e343568 100644 --- a/composer.json +++ b/composer.json @@ -3,12 +3,12 @@ "description": "Data scrubber for Laravel applications", "type": "library", "require": { - "laravel/framework": "^6.0|^7.0|^8.0|^9.0|^10.0" + "laravel/framework": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0" }, "require-dev": { "fakerphp/faker": "^1.9.1", - "phpunit/phpunit" : "^8.5|^9.5", - "orchestra/testbench" : "^4.0|^5.0|^6.0|^7.0|^8.0" + "phpunit/phpunit" : "^8.5|^9.5|^10.5", + "orchestra/testbench" : "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0" }, "autoload": { "psr-4" : {