diff --git a/src/Action/StatusSetupIntentAction.php b/src/Action/StatusSetupIntentAction.php index a9f8461..072bc90 100644 --- a/src/Action/StatusSetupIntentAction.php +++ b/src/Action/StatusSetupIntentAction.php @@ -6,7 +6,6 @@ use Payum\Core\Bridge\Spl\ArrayObject; use Payum\Core\Request\GetStatusInterface; -use Stripe\PaymentIntent; use Stripe\SetupIntent; use Stripe\StripeObject; diff --git a/tests/Action/Api/ApiAwareActionTestTrait.php b/tests/Action/Api/ApiAwareActionTestTrait.php index 1632b0e..1c9bfed 100644 --- a/tests/Action/Api/ApiAwareActionTestTrait.php +++ b/tests/Action/Api/ApiAwareActionTestTrait.php @@ -6,7 +6,6 @@ use FluxSE\PayumStripe\Api\StripeClientAwareInterface; use PHPUnit\Framework\MockObject\MockObject; -use Stripe\Service\AbstractService; use Stripe\StripeClient; trait ApiAwareActionTestTrait diff --git a/tests/Action/Api/Resource/CreateActionTest.php b/tests/Action/Api/Resource/CreateActionTest.php index dbcd9bb..699556b 100644 --- a/tests/Action/Api/Resource/CreateActionTest.php +++ b/tests/Action/Api/Resource/CreateActionTest.php @@ -40,7 +40,6 @@ use Stripe\Checkout\Session; use Stripe\Coupon; use Stripe\Customer; -use Stripe\Issuing\CardDetails; use Stripe\PaymentIntent; use Stripe\PaymentMethod; use Stripe\Plan; diff --git a/tests/Action/Api/Resource/RetrieveActionTest.php b/tests/Action/Api/Resource/RetrieveActionTest.php index addf5ee..15fab4b 100644 --- a/tests/Action/Api/Resource/RetrieveActionTest.php +++ b/tests/Action/Api/Resource/RetrieveActionTest.php @@ -42,7 +42,6 @@ use Stripe\Coupon; use Stripe\Customer; use Stripe\Invoice; -use Stripe\Issuing\CardDetails; use Stripe\PaymentIntent; use Stripe\PaymentMethod; use Stripe\Plan; diff --git a/tests/Action/Api/Resource/UpdateActionTest.php b/tests/Action/Api/Resource/UpdateActionTest.php index 3a00b91..ce1d194 100644 --- a/tests/Action/Api/Resource/UpdateActionTest.php +++ b/tests/Action/Api/Resource/UpdateActionTest.php @@ -26,7 +26,6 @@ use PHPUnit\Framework\TestCase; use Stripe\ApiResource; use Stripe\Coupon; -use Stripe\Issuing\CardDetails; use Stripe\PaymentIntent; use Stripe\Plan; use Stripe\Price; diff --git a/tests/Action/CancelAuthorizedActionTest.php b/tests/Action/CancelAuthorizedActionTest.php index 6deb9c8..346a323 100644 --- a/tests/Action/CancelAuthorizedActionTest.php +++ b/tests/Action/CancelAuthorizedActionTest.php @@ -20,7 +20,6 @@ use Payum\Core\Storage\IdentityInterface; use PHPUnit\Framework\TestCase; use Stripe\PaymentIntent; -use Stripe\SetupIntent; final class CancelAuthorizedActionTest extends TestCase { diff --git a/tests/Action/StripeCheckoutSession/CancelActionTest.php b/tests/Action/StripeCheckoutSession/CancelActionTest.php index eb58c69..22fc921 100644 --- a/tests/Action/StripeCheckoutSession/CancelActionTest.php +++ b/tests/Action/StripeCheckoutSession/CancelActionTest.php @@ -3,14 +3,11 @@ namespace Tests\FluxSE\PayumStripe\Action\StripeCheckoutSession; use FluxSE\PayumStripe\Action\StripeCheckoutSession\CancelAction; -use FluxSE\PayumStripe\Request\Api\Resource\AllSession; use FluxSE\PayumStripe\Request\Api\Resource\ExpireSession; use Payum\Core\Action\ActionInterface; -use Payum\Core\Request\Authorize; use Payum\Core\Request\Cancel; use PHPUnit\Framework\TestCase; use Stripe\Checkout\Session; -use Stripe\Collection; use Tests\FluxSE\PayumStripe\Action\GatewayAwareTestTrait; final class CancelActionTest extends TestCase diff --git a/tests/Extension/StripeCheckoutSession/CancelUrlExtensionTest.php b/tests/Extension/StripeCheckoutSession/CancelUrlExtensionTest.php index 60d53ee..0ec6229 100644 --- a/tests/Extension/StripeCheckoutSession/CancelUrlExtensionTest.php +++ b/tests/Extension/StripeCheckoutSession/CancelUrlExtensionTest.php @@ -8,7 +8,6 @@ use FluxSE\PayumStripe\Extension\StripeCheckoutSession\CancelUrlCancelSetupIntentExtension; use FluxSE\PayumStripe\Extension\StripeCheckoutSession\CancelUrlExpireSessionExtension; use FluxSE\PayumStripe\Request\Api\Resource\AllSession; -use FluxSE\PayumStripe\Request\Api\Resource\CancelPaymentIntent; use FluxSE\PayumStripe\Request\Api\Resource\CancelSetupIntent; use FluxSE\PayumStripe\Request\Api\Resource\CustomCallInterface; use FluxSE\PayumStripe\Request\Api\Resource\ExpireSession;