@@ -48,7 +48,8 @@ |
||
| 48 | 48 | |
| 49 | 49 | function it_throws_an_exception_if_constraint_is_not_of_expected_type(): void |
| 50 | 50 | { |
| 51 | - $this->shouldThrow(\InvalidArgumentException::class)->during('validate', ['', new class() extends Constraint { |
|
| 51 | + $this->shouldThrow(\InvalidArgumentException::class)->during('validate', ['', new class() extends Constraint |
|
| 52 | + { |
|
| 52 | 53 | }]); |
| 53 | 54 | } |
| 54 | 55 | |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | use Sylius\Component\Core\Model\OrderInterface; |
| 24 | 24 | use Sylius\Component\Core\Model\ProductInterface; |
| 25 | 25 | use Sylius\Component\Customer\Model\CustomerInterface; |
| 26 | -use Sylius\Component\Shipping\Model\ShipmentUnitInterface; |
|
| 27 | 26 | use Sylius\Component\Shipping\ShipmentTransitions; |
| 28 | 27 | use Webmozart\Assert\Assert; |
| 29 | 28 | |
@@ -19,11 +19,8 @@ |
||
| 19 | 19 | use Sylius\Component\Core\Model\ChannelInterface; |
| 20 | 20 | use Sylius\Component\Core\Model\ProductInterface; |
| 21 | 21 | use Sylius\Component\Core\Model\TaxonInterface; |
| 22 | -use Sylius\Component\Customer\Context\CustomerContextInterface; |
|
| 23 | 22 | use Sylius\Component\Taxonomy\Repository\TaxonRepositoryInterface; |
| 24 | 23 | use Sylius\Component\User\Model\UserInterface; |
| 25 | -use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
|
| 26 | -use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; |
|
| 27 | 24 | |
| 28 | 25 | final class TaxonCollectionDataProviderSpec extends ObjectBehavior |
| 29 | 26 | { |