diff --git a/.gitignore b/.gitignore index b79cb17..17b77ee 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ report/ .idea/ composer.lock *.swp -.phpunit.result.cache \ No newline at end of file +.phpunit.result.cache +.projections.json diff --git a/.travis.yml b/.travis.yml index 9d5360f..2f5e1e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ language: php php: - '7.4' - '8.0' + - '8.1' + - '8.2' notifications: email: diff --git a/composer.json b/composer.json index 4cfccc3..262bfab 100644 --- a/composer.json +++ b/composer.json @@ -5,13 +5,13 @@ "license": "MIT", "type": "library", "require": { - "php": ">=7.4.0 || >= 8.0.0", - "illuminate/auth": "^7.0 || ^8.0 || ^9.0", - "illuminate/config": "^7.0 || ^8.0 || ^9.0", - "illuminate/console": "^7.0 || ^8.0 || ^9.0", - "illuminate/contracts": "^7.0 || ^8.0 || ^9.0", - "illuminate/support": "^7.0 || ^8.0 || ^9.0", - "illuminate/cache": "^7.0 || ^8.0 || ^9.0", + "php": ">=7.4.0", + "illuminate/auth": ">=7.0", + "illuminate/config": ">=7.0", + "illuminate/console": ">=7.0", + "illuminate/contracts": ">=7.0", + "illuminate/support": ">=7.0", + "illuminate/cache": ">=7.0", "lcobucci/jwt": "^4.0", "nesbot/carbon": "^2.0", "vlucas/phpdotenv": "^4.0 || ^5.2" @@ -38,6 +38,9 @@ "minimum-stability": "dev", "prefer-stable": true, "config": { - "optimize-autoloader": true + "optimize-autoloader": true, + "allow-plugins": { + "phpstan/extension-installer": false + } } } diff --git a/tests/Unit/JWTGuardTest.php b/tests/Unit/Auth/JWTGuardTest.php similarity index 99% rename from tests/Unit/JWTGuardTest.php rename to tests/Unit/Auth/JWTGuardTest.php index b096795..c66360f 100644 --- a/tests/Unit/JWTGuardTest.php +++ b/tests/Unit/Auth/JWTGuardTest.php @@ -1,6 +1,6 @@