@@ -196,6 +196,6 @@ |
||
196 | 196 | */ |
197 | 197 | public function iShouldBeCheckingOutAs($email) |
198 | 198 | { |
199 | - Assert::same($this->selectShippingPage->getPurchaserEmail(), 'Checking out as '.$email.'.'); |
|
199 | + Assert::same($this->selectShippingPage->getPurchaserEmail(), 'Checking out as ' . $email . '.'); |
|
200 | 200 | } |
201 | 201 | } |
@@ -16,7 +16,6 @@ discard block |
||
16 | 16 | use Behat\Mink\Element\NodeElement; |
17 | 17 | use Doctrine\Common\Persistence\ObjectManager; |
18 | 18 | use Sylius\Behat\Service\SharedStorageInterface; |
19 | -use Sylius\Component\Attribute\Factory\AttributeFactoryInterface; |
|
20 | 19 | use Sylius\Component\Core\Formatter\StringInflector; |
21 | 20 | use Sylius\Component\Core\Model\ChannelInterface; |
22 | 21 | use Sylius\Component\Core\Model\ChannelPricingInterface; |
@@ -34,7 +33,6 @@ discard block |
||
34 | 33 | use Sylius\Component\Product\Resolver\ProductVariantResolverInterface; |
35 | 34 | use Sylius\Component\Resource\Factory\FactoryInterface; |
36 | 35 | use Sylius\Component\Resource\Model\TranslationInterface; |
37 | -use Sylius\Component\Resource\Repository\RepositoryInterface; |
|
38 | 36 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
39 | 37 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
40 | 38 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
@@ -16,13 +16,13 @@ |
||
16 | 16 | use Sylius\Behat\NotificationType; |
17 | 17 | use Sylius\Behat\Page\Admin\Crud\CreatePageInterface; |
18 | 18 | use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
19 | +use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
19 | 20 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
20 | 21 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
21 | 22 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
22 | 23 | use Sylius\Behat\Page\Admin\Product\IndexPerTaxonPageInterface; |
23 | 24 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
24 | 25 | use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface; |
25 | -use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
26 | 26 | use Sylius\Behat\Service\NotificationCheckerInterface; |
27 | 27 | use Sylius\Behat\Service\Resolver\CurrentPageResolverInterface; |
28 | 28 | use Sylius\Behat\Service\SharedStorageInterface; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Sylius\Bundle\CoreBundle\Controller\ProductTaxonController; |
15 | 15 | use Sylius\Bundle\CoreBundle\Form\Type\Product\ChannelPricingType; |
16 | -use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
|
17 | 16 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
18 | 17 | use Sylius\Component\Core\Model\ChannelPricing; |
19 | 18 | use Sylius\Component\Core\Model\ChannelPricingInterface; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | namespace Sylius\Bundle\CurrencyBundle\DependencyInjection; |
13 | 13 | |
14 | -use Sylius\Bundle\CurrencyBundle\Doctrine\ORM\ExchangeRateRepository; |
|
15 | 14 | use Sylius\Bundle\CurrencyBundle\Form\Type\CurrencyType; |
16 | 15 | use Sylius\Bundle\CurrencyBundle\Form\Type\ExchangeRateType; |
17 | 16 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
@@ -12,12 +12,11 @@ |
||
12 | 12 | namespace Sylius\Bundle\ReviewBundle\DependencyInjection; |
13 | 13 | |
14 | 14 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
15 | -use Sylius\Bundle\ResourceBundle\Doctrine\ORM\EntityRepository; |
|
16 | 15 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
17 | 16 | use Sylius\Bundle\ReviewBundle\Form\Type\ReviewType; |
18 | 17 | use Sylius\Component\Resource\Factory\Factory; |
19 | -use Sylius\Component\Review\Model\ReviewerInterface; |
|
20 | 18 | use Sylius\Component\Review\Model\ReviewInterface; |
19 | +use Sylius\Component\Review\Model\ReviewerInterface; |
|
21 | 20 | use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; |
22 | 21 | use Symfony\Component\Config\Definition\Builder\TreeBuilder; |
23 | 22 | use Symfony\Component\Config\Definition\ConfigurationInterface; |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
33 | 33 |
@@ -144,6 +144,6 @@ |
||
144 | 144 | return $defaultCatalogue->has($message, 'flashes'); |
145 | 145 | } |
146 | 146 | |
147 | - return $message !== $this->translator->trans($message, $parameters,'flashes'); |
|
147 | + return $message !== $this->translator->trans($message, $parameters, 'flashes'); |
|
148 | 148 | } |
149 | 149 | } |
@@ -27,7 +27,7 @@ |
||
27 | 27 | public function load(array $config, ContainerBuilder $container) |
28 | 28 | { |
29 | 29 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
30 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
30 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
31 | 31 | |
32 | 32 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
33 | 33 |