diff --git a/composer.json b/composer.json index a27fc3e..b387e22 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "ext-openssl": "*", "fig/http-message-util": "^1.1.5", "guzzlehttp/guzzle": "^7.5", - "beste/clock": "^2.3.1", + "beste/clock": "^3.0", "lcobucci/jwt": "^4.2.1", "psr/cache": "^1.0|^2.0|^3.0" }, diff --git a/src/JWT/Action/CreateCustomToken/WithLcobucciJWT.php b/src/JWT/Action/CreateCustomToken/WithLcobucciJWT.php index ab02923..9288862 100644 --- a/src/JWT/Action/CreateCustomToken/WithLcobucciJWT.php +++ b/src/JWT/Action/CreateCustomToken/WithLcobucciJWT.php @@ -12,7 +12,7 @@ use Lcobucci\JWT\Configuration; use Lcobucci\JWT\Signer\Key\InMemory; use Lcobucci\JWT\Signer\Rsa\Sha256; -use StellaMaris\Clock\ClockInterface; +use Psr\Clock\ClockInterface; use Throwable; /** diff --git a/src/JWT/Action/FetchGooglePublicKeys/WithGuzzle.php b/src/JWT/Action/FetchGooglePublicKeys/WithGuzzle.php index 356a919..ce55e86 100644 --- a/src/JWT/Action/FetchGooglePublicKeys/WithGuzzle.php +++ b/src/JWT/Action/FetchGooglePublicKeys/WithGuzzle.php @@ -12,7 +12,7 @@ use Kreait\Firebase\JWT\Contract\Keys; use Kreait\Firebase\JWT\Error\FetchingGooglePublicKeysFailed; use Kreait\Firebase\JWT\Keys\ExpiringKeys; -use StellaMaris\Clock\ClockInterface; +use Psr\Clock\ClockInterface; use const JSON_THROW_ON_ERROR; diff --git a/src/JWT/Action/FetchGooglePublicKeys/WithPsr6Cache.php b/src/JWT/Action/FetchGooglePublicKeys/WithPsr6Cache.php index 4b2b43b..0dc6598 100644 --- a/src/JWT/Action/FetchGooglePublicKeys/WithPsr6Cache.php +++ b/src/JWT/Action/FetchGooglePublicKeys/WithPsr6Cache.php @@ -9,7 +9,7 @@ use Kreait\Firebase\JWT\Contract\Keys; use Kreait\Firebase\JWT\Error\FetchingGooglePublicKeysFailed; use Psr\Cache\CacheItemPoolInterface; -use StellaMaris\Clock\ClockInterface; +use Psr\Clock\ClockInterface; /** * @internal diff --git a/src/JWT/Action/VerifyIdToken/WithLcobucciJWT.php b/src/JWT/Action/VerifyIdToken/WithLcobucciJWT.php index 9811fe5..8b834fd 100644 --- a/src/JWT/Action/VerifyIdToken/WithLcobucciJWT.php +++ b/src/JWT/Action/VerifyIdToken/WithLcobucciJWT.php @@ -28,7 +28,7 @@ use Lcobucci\JWT\Validation\ConstraintViolation; use Lcobucci\JWT\Validation\RequiredConstraintsViolated; use Lcobucci\JWT\Validation\Validator; -use StellaMaris\Clock\ClockInterface; +use Psr\Clock\ClockInterface; use Throwable; use function assert; diff --git a/src/JWT/Action/VerifySessionCookie/WithLcobucciJWT.php b/src/JWT/Action/VerifySessionCookie/WithLcobucciJWT.php index fe74fa2..f3d1c8f 100644 --- a/src/JWT/Action/VerifySessionCookie/WithLcobucciJWT.php +++ b/src/JWT/Action/VerifySessionCookie/WithLcobucciJWT.php @@ -28,7 +28,7 @@ use Lcobucci\JWT\Validation\ConstraintViolation; use Lcobucci\JWT\Validation\RequiredConstraintsViolated; use Lcobucci\JWT\Validation\Validator; -use StellaMaris\Clock\ClockInterface; +use Psr\Clock\ClockInterface; use Throwable; use function assert; diff --git a/src/JWT/GooglePublicKeys.php b/src/JWT/GooglePublicKeys.php index bf47a8d..222ea9e 100644 --- a/src/JWT/GooglePublicKeys.php +++ b/src/JWT/GooglePublicKeys.php @@ -11,7 +11,7 @@ use Kreait\Firebase\JWT\Action\FetchGooglePublicKeys\WithGuzzle; use Kreait\Firebase\JWT\Contract\Expirable; use Kreait\Firebase\JWT\Contract\Keys; -use StellaMaris\Clock\ClockInterface; +use Psr\Clock\ClockInterface; final class GooglePublicKeys implements Keys { diff --git a/tests/JWT/Util/Token.php b/tests/JWT/Util/Token.php index 0304edc..c4107ef 100644 --- a/tests/JWT/Util/Token.php +++ b/tests/JWT/Util/Token.php @@ -12,7 +12,7 @@ use Lcobucci\JWT\Signer\None; use Lcobucci\JWT\Signer\Rsa\Sha256; use Lcobucci\JWT\Token\Builder; -use StellaMaris\Clock\ClockInterface; +use Psr\Clock\ClockInterface; final class Token {