File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3333 "mockery/mockery" : " ~1.0" ,
3434 "phpunit/phpunit" : " ^8.5|^9.0" ,
3535 "squizlabs/php_codesniffer" : " ~2.0" ,
36- "tymon /jwt-auth" : " 1.0.* "
36+ "php-open-source-saver /jwt-auth" : " ^1.4 " ,
3737 },
3838 "suggest" : {
39- "tymon /jwt-auth" : " Protect your API with JSON Web Tokens."
39+ "php-open-source-saver /jwt-auth" : " Protect your API with JSON Web Tokens."
4040 },
4141 "autoload" : {
4242 "psr-4" : {
Original file line number Diff line number Diff line change 33namespace Dingo \Api \Auth \Provider ;
44
55use Exception ;
6- use Tymon \JWTAuth \JWTAuth ;
6+ use PHPOpenSourceSaver \JWTAuth \JWTAuth ;
77use Dingo \Api \Routing \Route ;
88use Illuminate \Http \Request ;
9- use Tymon \JWTAuth \Exceptions \JWTException ;
9+ use PHPOpenSourceSaver \JWTAuth \Exceptions \JWTException ;
1010use Symfony \Component \HttpKernel \Exception \UnauthorizedHttpException ;
1111
1212class JWT extends Authorization
1313{
1414 /**
1515 * The JWTAuth instance.
1616 *
17- * @var \Tymon \JWTAuth\JWTAuth
17+ * @var \PHPOpenSourceSaver \JWTAuth\JWTAuth
1818 */
1919 protected $ auth ;
2020
2121 /**
2222 * Create a new JWT provider instance.
2323 *
24- * @param \Tymon \JWTAuth\JWTAuth $auth
24+ * @param \PHPOpenSourceSaver \JWTAuth\JWTAuth $auth
2525 *
2626 * @return void
2727 */
Original file line number Diff line number Diff line change 99use Mockery as m ;
1010use Symfony \Component \HttpKernel \Exception \BadRequestHttpException ;
1111use Symfony \Component \HttpKernel \Exception \UnauthorizedHttpException ;
12- use Tymon \JWTAuth \Exceptions \JWTException ;
12+ use PHPOpenSourceSaver \JWTAuth \Exceptions \JWTException ;
1313
1414class JWTTest extends BaseTestCase
1515{
@@ -20,7 +20,7 @@ public function setUp(): void
2020 {
2121 parent ::setUp ();
2222
23- $ this ->auth = m::mock ('Tymon \JWTAuth\JWTAuth ' );
23+ $ this ->auth = m::mock ('PHPOpenSourceSaver \JWTAuth\JWTAuth ' );
2424 $ this ->provider = new JWT ($ this ->auth );
2525 }
2626
You can’t perform that action at this time.
0 commit comments