@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Doctrine\ORM\QueryBuilder; |
15 | 15 | use Sylius\Bundle\CartBundle\Doctrine\ORM\CartRepository; |
16 | -use Sylius\Component\Core\Model\ChannelInterface; |
|
17 | 16 | use Sylius\Component\Core\Model\CouponInterface; |
18 | 17 | use Sylius\Component\Core\Model\CustomerInterface; |
19 | 18 | use Sylius\Component\Core\Model\OrderInterface; |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Sylius\Bundle\ProductBundle\Behat; |
13 | 13 | |
14 | 14 | use Behat\Gherkin\Node\TableNode; |
15 | -use Behat\Mink\Exception\UnsupportedDriverActionException; |
|
16 | 15 | use Doctrine\Common\Collections\ArrayCollection; |
17 | 16 | use Sylius\Bundle\AttributeBundle\AttributeType\CheckboxAttributeType; |
18 | 17 | use Sylius\Bundle\ResourceBundle\Behat\DefaultContext; |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Component\Resource\Model\TimestampableTrait; |
19 | 19 | use Sylius\Component\Resource\Model\ToggleableTrait; |
20 | 20 | use Sylius\Component\Resource\Model\TranslatableTrait; |
21 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
22 | 21 | use Sylius\Component\Variation\Model\OptionInterface as BaseOptionInterface; |
23 | 22 | use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
24 | 23 |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Component\Resource\Model\TimestampableTrait; |
19 | 19 | use Sylius\Component\Resource\Model\ToggleableTrait; |
20 | 20 | use Sylius\Component\Resource\Model\TranslatableTrait; |
21 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
22 | 21 | use Sylius\Component\Variation\Model\OptionInterface as BaseOptionInterface; |
23 | 22 | use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
24 | 23 |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Component\Resource\Model\TimestampableTrait; |
19 | 19 | use Sylius\Component\Resource\Model\ToggleableTrait; |
20 | 20 | use Sylius\Component\Resource\Model\TranslatableTrait; |
21 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
22 | 21 | use Sylius\Component\Variation\Model\OptionInterface as BaseOptionInterface; |
23 | 22 | use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
24 | 23 |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use Sylius\Component\Resource\Model\TimestampableTrait; |
19 | 19 | use Sylius\Component\Resource\Model\ToggleableTrait; |
20 | 20 | use Sylius\Component\Resource\Model\TranslatableTrait; |
21 | -use Sylius\Component\Resource\Model\TranslationInterface; |
|
22 | 21 | use Sylius\Component\Variation\Model\OptionInterface as BaseOptionInterface; |
23 | 22 | use Sylius\Component\Variation\Model\VariantInterface as BaseVariantInterface; |
24 | 23 |
@@ -12,8 +12,6 @@ |
||
12 | 12 | namespace Sylius\Behat\Page\Shop\Product; |
13 | 13 | |
14 | 14 | use Behat\Mink\Driver\Selenium2Driver; |
15 | -use Behat\Mink\Element\NodeElement; |
|
16 | -use Behat\Mink\Exception\ElementNotFoundException; |
|
17 | 15 | use Sylius\Behat\Page\SymfonyPage; |
18 | 16 | use Sylius\Component\Product\Model\ProductInterface; |
19 | 17 | use Sylius\Component\Product\Model\ProductOptionInterface; |
@@ -15,8 +15,6 @@ |
||
15 | 15 | use Symfony\Component\Config\FileLocator; |
16 | 16 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
17 | 17 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; |
18 | -use Symfony\Component\DependencyInjection\Parameter; |
|
19 | -use Symfony\Component\DependencyInjection\Reference; |
|
20 | 18 | |
21 | 19 | /** |
22 | 20 | * @author Paweł Jędrzejewski <[email protected]> |
@@ -13,11 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Component\Product\Model\ProductOptionInterface; |
15 | 15 | use Symfony\Component\Form\AbstractType; |
16 | -use Symfony\Component\Form\Extension\Core\ChoiceList\ObjectChoiceList; |
|
17 | 16 | use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
18 | 17 | use Symfony\Component\OptionsResolver\Options; |
19 | 18 | use Symfony\Component\OptionsResolver\OptionsResolver; |
20 | -use Symfony\Component\PropertyAccess\PropertyAccess; |
|
21 | 19 | |
22 | 20 | /** |
23 | 21 | * @author Paweł Jędrzejewski <[email protected]> |