Showing 7 of 37 files from the diff.

@@ -14,6 +14,7 @@
Loading
14 14
use Closure;
15 15
use Exception;
16 16
17 +
/** @deprecated */
17 18
class Check extends BaseMiddleware
18 19
{
19 20
    /**

@@ -17,6 +17,7 @@
Loading
17 17
use Illuminate\Contracts\Support\Arrayable;
18 18
use Illuminate\Contracts\Support\Jsonable;
19 19
use Illuminate\Support\Arr;
20 +
use Illuminate\Support\Str;
20 21
use JsonSerializable;
21 22
use Tymon\JWTAuth\Claims\Claim;
22 23
use Tymon\JWTAuth\Claims\Collection;
@@ -286,6 +287,6 @@
Loading
286 287
            }
287 288
        }
288 289
289 -
        throw new BadMethodCallException(sprintf('The claim [%s] does not exist on the payload.', $method));
290 +
        throw new BadMethodCallException(sprintf('The claim [%s] does not exist on the payload.', Str::after($method, 'get')));
290 291
    }
291 292
}

@@ -15,6 +15,7 @@
Loading
15 15
use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException;
16 16
use Tymon\JWTAuth\Exceptions\JWTException;
17 17
18 +
/** @deprecated */
18 19
class RefreshToken extends BaseMiddleware
19 20
{
20 21
    /**

@@ -13,6 +13,7 @@
Loading
13 13
14 14
use Closure;
15 15
16 +
/** @deprecated */
16 17
class Authenticate extends BaseMiddleware
17 18
{
18 19
    /**

@@ -14,6 +14,7 @@
Loading
14 14
use Tymon\JWTAuth\Contracts\Providers\Auth;
15 15
use Tymon\JWTAuth\Http\Parser\Parser;
16 16
17 +
/** @deprecated */
17 18
class JWTAuth extends JWT
18 19
{
19 20
    /**

@@ -13,6 +13,7 @@
Loading
13 13
14 14
use Closure;
15 15
16 +
/** @deprecated */
16 17
class AuthenticateAndRenew extends BaseMiddleware
17 18
{
18 19
    /**

@@ -16,6 +16,7 @@
Loading
16 16
use Tymon\JWTAuth\Exceptions\JWTException;
17 17
use Tymon\JWTAuth\JWTAuth;
18 18
19 +
/** @deprecated */
19 20
abstract class BaseMiddleware
20 21
{
21 22
    /**
Files Complexity Coverage
src 367 93.84%
Project Totals (41 files) 367 93.84%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading