Skip to content

Commit

Permalink
Update the JWT package to PHPOpenSourceSaver same as dependency libra…
Browse files Browse the repository at this point in the history
…ry (#62)

* Update the JWT package to PHPOpenSourceSaver same as dependency library

* Remove old php version 7.3
  • Loading branch information
specialtactics authored Feb 8, 2022
1 parent a03845d commit 9ede1dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ services:
matrix:
fast_finish: true
include:
- php: 7.3
env: LARAVEL_VERSION=8.*
- php: 7.4
env: LARAVEL_VERSION=8.*

Expand Down
2 changes: 1 addition & 1 deletion app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Notifications\Notifiable;
use Tymon\JWTAuth\Contracts\JWTSubject;
use PHPOpenSourceSaver\JWTAuth\Contracts\JWTSubject;

class User extends BaseModel implements
AuthenticatableContract,
Expand Down
6 changes: 3 additions & 3 deletions config/jwt.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
|
*/

'jwt' => Tymon\JWTAuth\Providers\JWT\Lcobucci::class,
'jwt' => PHPOpenSourceSaver\JWTAuth\Providers\JWT\Lcobucci::class,

/*
|--------------------------------------------------------------------------
Expand All @@ -285,7 +285,7 @@
|
*/

'auth' => Tymon\JWTAuth\Providers\Auth\Illuminate::class,
'auth' => PHPOpenSourceSaver\JWTAuth\Providers\Auth\Illuminate::class,

/*
|--------------------------------------------------------------------------
Expand All @@ -296,7 +296,7 @@
|
*/

'storage' => Tymon\JWTAuth\Providers\Storage\Illuminate::class,
'storage' => PHPOpenSourceSaver\JWTAuth\Providers\Storage\Illuminate::class,

],

Expand Down

0 comments on commit 9ede1dc

Please sign in to comment.