#2065 chore(ci): Move to GH actions and remove (most) EOL php versions

Merged Sean Tymon tymondesigns
Showing 7 of 37 files from the diff.

@@ -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 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 AuthenticateAndRenew extends BaseMiddleware
17 18
{
18 19
    /**

Click to load this diff.
Loading diff...

Click to load this diff.
Loading diff...

Learn more Showing 2 files with coverage changes found.

Changes in src/Claims/Collection.php
+2
Loading file...
Changes in src/Factory.php
+1
Loading file...

20 Commits

Hiding 3 contexual commits
-12
-12
Hiding 1 contexual commits
Hiding 3 contexual commits
+13
+13
Hiding 2 contexual commits
+2
+2
Pull Request Base Commit
Files Complexity Coverage
src ø 0.02% 93.84%
Project Totals (41 files) 367 93.84%
Loading