diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 07db50e..2202aa2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,8 +13,8 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.2, 8.1] - laravel: [9.*,10.*] + php: [8.3,8.2, 8.1] + laravel: [9.*,10.*,11.*] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* @@ -23,6 +23,16 @@ jobs: - laravel: 10.* testbench: 8.* carbon: ^2.63 + - laravel: 11.* + testbench: 9.* + carbon: ^2.63 + exclude: + - laravel: 11.* + php: 8.1 + - laravel: 9.* + php: 8.3 + - laravel: 9.* + php: 8.2 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} diff --git a/composer.json b/composer.json index 0d7a378..2b72742 100644 --- a/composer.json +++ b/composer.json @@ -16,17 +16,17 @@ } ], "require": { - "php": "^8.1", + "php": "^8.1|^8.2|^8.3", "spatie/laravel-package-tools": "^1.14.0", - "illuminate/contracts": "^9.0|^10.0" + "illuminate/contracts": "^9.0|^10.0|^11.0" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^6.0", + "nunomaduro/collision": "^6.0|^7.0|^8.0", "nunomaduro/larastan": "^2.0.1", "orchestra/testbench": "^7.0|^8.0", "pestphp/pest": "^1.21|^2.0", - "pestphp/pest-plugin-laravel": "^1.1|^2.0", + "pestphp/pest-plugin-laravel": "^1.1|^2.0|^3.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3c10efe..785fe43 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,39 +1,23 @@ - - - - tests - - - - - ./src - - - - - - - - - - + + + + tests + + + + + + + + + + + + + + + ./src + +