From 3e1d8779eb7e2c1353599181d0f95b16a5bb2d04 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Mon, 10 Sep 2018 18:28:20 +0200 Subject: [PATCH] Applied fixes from FlintCI --- src/DependencyInjection/ProviderFactory.php | 1 - tests/DependencyInjection/KnpUOAuth2ClientExtensionTest.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/DependencyInjection/ProviderFactory.php b/src/DependencyInjection/ProviderFactory.php index 18a9d48d..cf019412 100644 --- a/src/DependencyInjection/ProviderFactory.php +++ b/src/DependencyInjection/ProviderFactory.php @@ -10,7 +10,6 @@ namespace KnpU\OAuth2ClientBundle\DependencyInjection; -use GuzzleHttp\ClientInterface; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; /** diff --git a/tests/DependencyInjection/KnpUOAuth2ClientExtensionTest.php b/tests/DependencyInjection/KnpUOAuth2ClientExtensionTest.php index 632c7c3f..793a9d24 100644 --- a/tests/DependencyInjection/KnpUOAuth2ClientExtensionTest.php +++ b/tests/DependencyInjection/KnpUOAuth2ClientExtensionTest.php @@ -64,7 +64,7 @@ public function testFacebookProviderMakesService() ['clientId' => 'CLIENT_ID', 'clientSecret' => 'SECRET', 'graphApiVersion' => 'API_VERSION'], 'the_route_name', ['route_params' => 'foo'], - [] + [], ], // these arguments will be passed to the factory's method $providerDefinition->getArguments()