From f98976de0a5ed81358074487a6a49818eb28e327 Mon Sep 17 00:00:00 2001 From: Michael Babker Date: Thu, 1 Dec 2022 18:48:09 -0500 Subject: [PATCH] Style fixes --- DependencyInjection/GesdinetJWTRefreshTokenExtension.php | 2 +- Tests/Functional/DependencyInjection/ConfigurationTest.php | 4 ++-- Tests/Unit/Doctrine/RefreshTokenManagerTest.php | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/DependencyInjection/GesdinetJWTRefreshTokenExtension.php b/DependencyInjection/GesdinetJWTRefreshTokenExtension.php index 56fff5b..2447460 100644 --- a/DependencyInjection/GesdinetJWTRefreshTokenExtension.php +++ b/DependencyInjection/GesdinetJWTRefreshTokenExtension.php @@ -16,7 +16,7 @@ use Gesdinet\JWTRefreshTokenBundle\Request\Extractor\ExtractorInterface; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; -use Symfony\Component\DependencyInjection\Exception\RuntimeException;; +use Symfony\Component\DependencyInjection\Exception\RuntimeException; use Symfony\Component\DependencyInjection\Loader; use Symfony\Component\HttpKernel\DependencyInjection\ConfigurableExtension; diff --git a/Tests/Functional/DependencyInjection/ConfigurationTest.php b/Tests/Functional/DependencyInjection/ConfigurationTest.php index 83ee6a9..2073f9e 100644 --- a/Tests/Functional/DependencyInjection/ConfigurationTest.php +++ b/Tests/Functional/DependencyInjection/ConfigurationTest.php @@ -22,7 +22,7 @@ public function test_default_configuration_is_valid(): void $this->assertConfigurationIsValid([ [ 'refresh_token_class' => RefreshToken::class, - ] + ], ]); } @@ -54,7 +54,7 @@ public function test_configuration_is_invalid_when_refresh_token_class_does_not_ $this->assertConfigurationIsInvalid([ [ 'refresh_token_class' => Configuration::class, - ] + ], ]); } } diff --git a/Tests/Unit/Doctrine/RefreshTokenManagerTest.php b/Tests/Unit/Doctrine/RefreshTokenManagerTest.php index 96d6ed4..87df9ac 100644 --- a/Tests/Unit/Doctrine/RefreshTokenManagerTest.php +++ b/Tests/Unit/Doctrine/RefreshTokenManagerTest.php @@ -8,7 +8,6 @@ use Gesdinet\JWTRefreshTokenBundle\Entity\RefreshToken; use Gesdinet\JWTRefreshTokenBundle\Entity\RefreshTokenRepository; use Gesdinet\JWTRefreshTokenBundle\Model\RefreshTokenInterface; -use Gesdinet\JWTRefreshTokenBundle\Model\RefreshTokenManagerInterface; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase;