@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Page\Admin\Customer; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Behat\Page\SymfonyPage; |
| 15 | -use Webmozart\Assert\Assert; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * @author Magdalena Banasiak <[email protected]> |
@@ -12,15 +12,15 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\CustomerBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\CustomerBundle\Form\Type\CustomerGroupType; |
| 15 | -use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
|
| 16 | -use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
| 17 | 15 | use Sylius\Bundle\CustomerBundle\Form\Type\CustomerProfileType; |
| 18 | 16 | use Sylius\Bundle\CustomerBundle\Form\Type\CustomerType; |
| 19 | -use Sylius\Component\Customer\Model\CustomerGroup; |
|
| 20 | -use Sylius\Component\Resource\Factory\Factory; |
|
| 17 | +use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
|
| 18 | +use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
|
| 21 | 19 | use Sylius\Component\Customer\Model\Customer; |
| 22 | -use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 20 | +use Sylius\Component\Customer\Model\CustomerGroup; |
|
| 23 | 21 | use Sylius\Component\Customer\Model\CustomerGroupInterface; |
| 22 | +use Sylius\Component\Customer\Model\CustomerInterface; |
|
| 23 | +use Sylius\Component\Resource\Factory\Factory; |
|
| 24 | 24 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
| 25 | 25 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
| 26 | 26 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
@@ -12,8 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\TaxonomyBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 15 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceToHiddenIdentifierType; |
|
| 16 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceToIdentifierType; |
|
| 17 | 15 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 18 | 16 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonTranslationType; |
| 19 | 17 | use Sylius\Bundle\TaxonomyBundle\Form\Type\TaxonType; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Page\Admin\Product; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Behat\Page\Admin\Crud\IndexPageInterface as CrudIndexPageInterface; |
| 15 | -use Sylius\Component\Core\Model\ProductInterface; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * @author Anna Walasek <[email protected]> |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\CoreBundle\Controller; |
| 13 | 13 | |
| 14 | -use Sylius\Bundle\ResourceBundle\Controller\RedirectHandlerInterface; |
|
| 15 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 16 | 15 | use Sylius\Component\Core\Model\ProductTaxonInterface; |
| 17 | 16 | use Sylius\Component\Resource\ResourceActions; |
@@ -14,11 +14,9 @@ |
||
| 14 | 14 | use Doctrine\Common\Collections\ArrayCollection; |
| 15 | 15 | use Doctrine\Common\Collections\Collection; |
| 16 | 16 | use PhpSpec\ObjectBehavior; |
| 17 | -use Prophecy\Argument; |
|
| 18 | 17 | use Sylius\Bundle\CoreBundle\Form\DataTransformer\ProductTaxonCollectionToTaxonCollectionTransformer; |
| 19 | 18 | use Sylius\Component\Core\Model\ProductTaxonInterface; |
| 20 | 19 | use Sylius\Component\Core\Model\TaxonInterface; |
| 21 | -use Sylius\Component\Product\Model\ProductInterface; |
|
| 22 | 20 | use Sylius\Component\Resource\Exception\UnexpectedTypeException; |
| 23 | 21 | use Sylius\Component\Resource\Factory\FactoryInterface; |
| 24 | 22 | use Symfony\Component\Form\DataTransformerInterface; |
@@ -13,15 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\AddressingBundle\Controller\ProvinceController; |
| 15 | 15 | use Sylius\Bundle\AddressingBundle\Factory\ZoneFactory; |
| 16 | -use Sylius\Bundle\AddressingBundle\Form\Type\AddressType; |
|
| 17 | -use Sylius\Bundle\AddressingBundle\Form\Type\CountryChoiceType; |
|
| 18 | -use Sylius\Bundle\AddressingBundle\Form\Type\CountryType; |
|
| 19 | -use Sylius\Bundle\AddressingBundle\Form\Type\ProvinceChoiceType; |
|
| 20 | -use Sylius\Bundle\AddressingBundle\Form\Type\ProvinceType; |
|
| 21 | -use Sylius\Bundle\AddressingBundle\Form\Type\ZoneMemberType; |
|
| 22 | -use Sylius\Bundle\AddressingBundle\Form\Type\ZoneType; |
|
| 23 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 24 | -use Sylius\Bundle\ResourceBundle\Form\Type\ResourceChoiceType; |
|
| 25 | 17 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 26 | 18 | use Sylius\Component\Addressing\Model\Address; |
| 27 | 19 | use Sylius\Component\Addressing\Model\AddressInterface; |
@@ -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]> |