From b2cfbf3b6ceac64f85a172c3885ec8d0aa7ee1b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=CC=88nther=20Debrauwer?= Date: Tue, 12 Mar 2024 11:57:48 +0100 Subject: [PATCH 1/2] Add support for Laravel v11 --- .github/workflows/run-tests.yml | 4 +++- composer.json | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3cec988..3fc9482 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: php: [8.1, 8.2, 8.3] - laravel: [9.*, 10.*] + laravel: [9.*, 10.*, 11.*] dependency-version: [prefer-lowest, prefer-stable] exclude: - php: 8.3 @@ -20,6 +20,8 @@ jobs: - php: 8.2 laravel: 9.* dependency-version: prefer-lowest + - php: 8.1 + laravel: 11.* name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index ffa09b8..7e5058e 100644 --- a/composer.json +++ b/composer.json @@ -19,15 +19,15 @@ "require": { "php": "^8.1|^8.2|^8.3", "guzzlehttp/guzzle": "^7.0", - "illuminate/filesystem": "^9.0|^10.0", - "illuminate/http": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0", + "illuminate/filesystem": "^9.0|^10.0|^11.0", + "illuminate/http": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", "symfony/var-exporter": "^5.0|^6.0" }, "require-dev": { "adamwojs/php-cs-fixer-phpdoc-force-fqcn": "^2.0", "friendsofphp/php-cs-fixer": "^3.0", - "orchestra/testbench": "^7.0|^8.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", "phpunit/phpunit": "^9.1", "squizlabs/php_codesniffer": "^3.6" }, From b7e80cf284c6da0b814b5aafafc0b4197aaa8589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=CC=88nther=20Debrauwer?= Date: Fri, 15 Mar 2024 13:56:06 +0100 Subject: [PATCH 2/2] Small fixes --- composer.json | 2 +- phpunit.xml.dist | 34 +++++++++++++++------------------- 2 files changed, 16 insertions(+), 20 deletions(-) diff --git a/composer.json b/composer.json index 7e5058e..631ddb1 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "adamwojs/php-cs-fixer-phpdoc-force-fqcn": "^2.0", "friendsofphp/php-cs-fixer": "^3.0", "orchestra/testbench": "^7.0|^8.0|^9.0", - "phpunit/phpunit": "^9.1", + "phpunit/phpunit": "^9.1|^10.0", "squizlabs/php_codesniffer": "^3.6" }, "autoload": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 067cd56..bd97400 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,21 +1,17 @@ - - - - src/ - - - - - - - - - - tests - - - - - + + + + tests + + + + + ./src + +