diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 8c243a4c5..2a133765c 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -14,18 +14,22 @@ jobs: strategy: fail-fast: false matrix: - php: [8.0, 8.1, 8.2] - laravel: [9.*, 10.*] + php: [8.0, 8.1, 8.2, 8.3] + laravel: [9.*, 10.*, 11.*] os: [ubuntu-latest] coverage: [none] include: - - php: 8.2 - laravel: 10.* + - php: 8.3 + laravel: 11.* os: ubuntu-latest coverage: xdebug exclude: - php: 8.0 laravel: 10.* + - php: 8.0 + laravel: 11.* + - php: 8.1 + laravel: 11.* name: '[P${{ matrix.php }}] [L${{ matrix.laravel }}] [${{ matrix.coverage }}]' @@ -55,7 +59,7 @@ jobs: - name: Install dependencies run: | composer require "illuminate/contracts:${{ matrix.laravel }}" --no-interaction --no-progress --no-update - composer update --no-progress --prefer-dist --no-interaction --no-suggest + composer update --no-progress --prefer-dist --no-interaction - name: Execute tests run: composer test:ci diff --git a/README.md b/README.md index ab287b184..59de5ebaf 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ | jwt-auth version | Laravel version(s) | |---|---| | 1.x | 6 / 7 / 8 | -| 2.x | 9 / 10 | +| 2.x | 9 / 10 / 11 | [](https://www.patreon.com/bePatron?u=11815122) diff --git a/composer.json b/composer.json index 65a4e79cf..e886b1dbe 100644 --- a/composer.json +++ b/composer.json @@ -24,17 +24,17 @@ ], "require": { "php": "^8.0", - "illuminate/auth": "^9.0|^10.0", - "illuminate/contracts": "^9.0|^10.0", - "illuminate/http": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0", + "illuminate/auth": "^9.0|^10.0|^11.0", + "illuminate/contracts": "^9.0|^10.0|^11.0", + "illuminate/http": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", "lcobucci/jwt": "^4.0", "nesbot/carbon": "^2.0" }, "require-dev": { - "illuminate/console": "^9.0|^10.0", - "illuminate/database": "^9.0|^10.0", - "illuminate/routing": "^9.0|^10.0", + "illuminate/console": "^9.0|^10.0|^11.0", + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/routing": "^9.0|^10.0|^11.0", "mockery/mockery": ">=0.9.9", "phpunit/phpunit": "^9.4" }, diff --git a/tests/Stubs/LaravelUserStub.php b/tests/Stubs/LaravelUserStub.php index 97ca3e9f9..af2434e44 100644 --- a/tests/Stubs/LaravelUserStub.php +++ b/tests/Stubs/LaravelUserStub.php @@ -45,4 +45,9 @@ public function getRememberTokenName() { // } + + public function getAuthPasswordName() + { + return 'password'; + } }