Skip to content

Commit

Permalink
Update key deps (#51)
Browse files Browse the repository at this point in the history
* Update key deps

* Remove php 7.3 from travis

* Update namespaces
  • Loading branch information
specialtactics authored Jan 30, 2022
1 parent e032623 commit 87546a5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ language: php
matrix:
fast_finish: true
include:
- php: 7.3
env: LARAVEL_VERSION=8.*
- php: 7.4
env: LARAVEL_VERSION=8.*
# - php: 8.0
# env: LARAVEL_VERSION=8.*

sudo: false

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
],
"require": {
"php": "^7.3",
"api-ecosystem-for-laravel/dingo-api": "^3.0.8",
"tymon/jwt-auth": "^1.0.1",
"api-ecosystem-for-laravel/dingo-api": "^3.1",
"php-open-source-saver/jwt-auth": "^1.4",
"illuminate/support": "^8.0",
"ramsey/uuid": "^4.1"
},
Expand Down
2 changes: 1 addition & 1 deletion test/app/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
use Tymon\JWTAuth\Contracts\JWTSubject;
use PHPOpenSourceSaver\JWTAuth\Contracts\JWTSubject;
use Hash;
use App\Models\Role;

Expand Down
6 changes: 3 additions & 3 deletions test/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
4 changes: 2 additions & 2 deletions test/tests/SetupTestApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function getEnvironmentSetUp($app)
protected function getPackageProviders($app)
{
return [
\Tymon\JWTAuth\Providers\LaravelServiceProvider::class,
\PHPOpenSourceSaver\JWTAuth\Providers\LaravelServiceProvider::class,
\Dingo\Api\Provider\LaravelServiceProvider::class,
\Specialtactics\L5Api\L5ApiServiceProvider::class,
\Specialtactics\L5Api\Test\Mocks\AppServiceProvider::class,
Expand All @@ -86,7 +86,7 @@ protected function getPackageProviders($app)
protected function getPackageAliases($app) {
return [
'API' => \Dingo\Api\Facade\API::class,
'JWTAuth' => \Tymon\JWTAuth\Facades\JWTAuth::class,
'JWTAuth' => \PHPOpenSourceSaver\JWTAuth\Facades\JWTAuth::class,
];
}

Expand Down

0 comments on commit 87546a5

Please sign in to comment.