mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[CS][DX] Refactor
This commit is contained in:
parent
3ec2396737
commit
f50291e103
8 changed files with 0 additions and 8 deletions
|
|
@ -18,7 +18,6 @@ use ApiPlatform\Metadata\Operation;
|
|||
use ApiPlatform\State\ProcessorInterface;
|
||||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use Sylius\Bundle\ApiBundle\Exception\PaymentMethodCannotBeRemoved;
|
||||
use Sylius\Component\Core\Exception\ResourceDeleteException;
|
||||
use Sylius\Component\Core\Model\PaymentMethodInterface;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ use ApiPlatform\Metadata\Operation;
|
|||
use ApiPlatform\State\ProcessorInterface;
|
||||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use Sylius\Bundle\ApiBundle\Exception\ProductAttributeCannotBeRemoved;
|
||||
use Sylius\Component\Core\Exception\ResourceDeleteException;
|
||||
use Sylius\Component\Core\Model\ProductInterface;
|
||||
use Sylius\Component\Product\Model\ProductAttributeInterface;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ use ApiPlatform\Metadata\Operation;
|
|||
use ApiPlatform\State\ProcessorInterface;
|
||||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use Sylius\Bundle\ApiBundle\Exception\ShippingMethodCannotBeRemoved;
|
||||
use Sylius\Component\Core\Exception\ResourceDeleteException;
|
||||
use Sylius\Component\Core\Model\ShippingMethodInterface;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
|||
use Sylius\Bundle\ApiBundle\Exception\ZoneCannotBeRemoved;
|
||||
use Sylius\Component\Addressing\Checker\ZoneDeletionCheckerInterface;
|
||||
use Sylius\Component\Addressing\Model\ZoneInterface;
|
||||
use Sylius\Component\Core\Exception\ResourceDeleteException;
|
||||
use Webmozart\Assert\Assert;
|
||||
|
||||
/** @implements ProcessorInterface<ZoneInterface> */
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ use ApiPlatform\State\ProcessorInterface;
|
|||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use PhpSpec\ObjectBehavior;
|
||||
use Sylius\Bundle\ApiBundle\Exception\PaymentMethodCannotBeRemoved;
|
||||
use Sylius\Component\Core\Exception\ResourceDeleteException;
|
||||
use Sylius\Component\Core\Model\PaymentMethodInterface;
|
||||
use Sylius\Component\Core\Model\ShippingMethodInterface;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ use ApiPlatform\State\ProcessorInterface;
|
|||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use PhpSpec\ObjectBehavior;
|
||||
use Sylius\Bundle\ApiBundle\Exception\ProductAttributeCannotBeRemoved;
|
||||
use Sylius\Component\Core\Exception\ResourceDeleteException;
|
||||
use Sylius\Component\Product\Model\ProductAttributeInterface;
|
||||
|
||||
final class RemoveProcessorSpec extends ObjectBehavior
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ use ApiPlatform\State\ProcessorInterface;
|
|||
use Doctrine\DBAL\Exception\ForeignKeyConstraintViolationException;
|
||||
use PhpSpec\ObjectBehavior;
|
||||
use Sylius\Bundle\ApiBundle\Exception\ShippingMethodCannotBeRemoved;
|
||||
use Sylius\Component\Core\Exception\ResourceDeleteException;
|
||||
use Sylius\Component\Core\Model\ShippingMethodInterface;
|
||||
|
||||
final class RemoveProcessorSpec extends ObjectBehavior
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ use Prophecy\Argument;
|
|||
use Sylius\Bundle\ApiBundle\Exception\ZoneCannotBeRemoved;
|
||||
use Sylius\Component\Addressing\Checker\ZoneDeletionCheckerInterface;
|
||||
use Sylius\Component\Addressing\Model\ZoneInterface;
|
||||
use Sylius\Component\Core\Exception\ResourceDeleteException;
|
||||
|
||||
final class RemoveProcessorSpec extends ObjectBehavior
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue