diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b822fcf..17c94f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,8 @@ jobs: fail-fast: true matrix: php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3] - laravel: [6, 7, 8, 9, 10] + laravel: [6, 7, 8, 9, 10, 11] + exclude: - php: 7.2 laravel: 8 @@ -22,20 +23,30 @@ jobs: laravel: 9 - php: 7.2 laravel: 10 + - php: 7.2 + laravel: 11 - php: 7.3 laravel: 9 - php: 7.3 laravel: 10 + - php: 7.3 + laravel: 11 - php: 7.4 laravel: 9 - php: 7.4 laravel: 10 + - php: 7.4 + laravel: 11 - php: 8.0 laravel: 10 + - php: 8.0 + laravel: 11 - php: 8.1 laravel: 6 - php: 8.1 laravel: 7 + - php: 8.1 + laravel: 11 - php: 8.2 laravel: 6 - php: 8.2 @@ -76,7 +87,7 @@ jobs: run: | composer require laravel/octane --with-all-dependencies --dev if: | - matrix.php >= 8.0 && (matrix.laravel == '8' || matrix.laravel == '9' || matrix.laravel == '10') + matrix.php >= 8.0 && (matrix.laravel == '8' || matrix.laravel == '9' || matrix.laravel == '10' || matrix.laravel == '11') - name: Execute unit tests run: vendor/bin/phpunit diff --git a/composer.json b/composer.json index 5271228..9c57d44 100644 --- a/composer.json +++ b/composer.json @@ -20,21 +20,21 @@ "guzzlehttp/promises": "^1.4.0", "guzzlehttp/guzzle": "^6.3|^7.0", "hollodotme/fast-cgi-client": "^3.0", - "illuminate/container": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/queue": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/container": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/queue": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", + "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "monolog/monolog": "^1.12|^2.0|^3.2", "nyholm/psr7": "^1.0", "riverline/multipart-parser": "^2.0.9", - "symfony/process": "^4.3|^5.0|^6.0", - "symfony/psr-http-message-bridge": "^1.0|^2.0" + "symfony/process": "^4.3|^5.0|^6.0|^7.0", + "symfony/psr-http-message-bridge": "^1.0|^2.0|^6.4|^7.0" }, "require-dev": { "mockery/mockery": "^1.2", - "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0", + "orchestra/testbench": "^4.0|^5.0|^6.0|^7.0|^8.0|^9.0", "phpstan/phpstan": "^1.10", - "phpunit/phpunit": "^8.0|^9.0" + "phpunit/phpunit": "^8.0|^9.0|^10.4" }, "autoload": { "psr-4": { diff --git a/tests/Feature/EnsureOnNakedDomainTest.php b/tests/Feature/EnsureOnNakedDomainTest.php index fc776b5..31e8b10 100644 --- a/tests/Feature/EnsureOnNakedDomainTest.php +++ b/tests/Feature/EnsureOnNakedDomainTest.php @@ -44,7 +44,7 @@ public function test_redirects($useCase) } } - public function useCases() + public static function useCases() { return [ [[