Completed
Push — master ( 8da333...8f94e6 )
by Kamil
05:27 queued 12s
created
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@
 block discarded – undo
16 16
 use Doctrine\ORM\EntityManager;
17 17
 use Doctrine\ORM\Mapping;
18 18
 use Doctrine\ORM\QueryBuilder;
19
+use SyliusLabs\AssociationHydrator\AssociationHydrator;
19 20
 use Sylius\Bundle\ProductBundle\Doctrine\ORM\ProductRepository as BaseProductRepository;
20 21
 use Sylius\Component\Core\Model\ChannelInterface;
21 22
 use Sylius\Component\Core\Model\ProductInterface;
22 23
 use Sylius\Component\Core\Model\TaxonInterface;
23 24
 use Sylius\Component\Core\Repository\ProductRepositoryInterface;
24
-use SyliusLabs\AssociationHydrator\AssociationHydrator;
25 25
 
26 26
 class ProductRepository extends BaseProductRepository implements ProductRepositoryInterface
27 27
 {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPageInterface.php 2 patches
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -18,13 +18,25 @@
 block discarded – undo
18 18
 
19 19
 interface IndexPageInterface extends CrudIndexPageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function filterByTaxon(string $taxonName): void;
22 25
 
23 26
     public function hasProductAccessibleImage(string $productCode): bool;
24 27
 
28
+    /**
29
+     * @return void
30
+     */
25 31
     public function showProductPage(string $productName): void;
26 32
 
33
+    /**
34
+     * @return void
35
+     */
27 36
     public function chooseChannelFilter(string $channelName) :void;
28 37
 
38
+    /**
39
+     * @return void
40
+     */
29 41
     public function filter(): void;
30 42
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 namespace Sylius\Behat\Page\Admin\Product;
15 15
 
16 16
 use Sylius\Behat\Page\Admin\Crud\IndexPageInterface as CrudIndexPageInterface;
17
-use Sylius\Component\Core\Model\ChannelInterface;
18 17
 
19 18
 interface IndexPageInterface extends CrudIndexPageInterface
20 19
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/AddressingBundle/Twig/CountryNameExtension.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@
 block discarded – undo
14 14
 namespace Sylius\Bundle\AddressingBundle\Twig;
15 15
 
16 16
 use Sylius\Component\Addressing\Model\CountryInterface;
17
+use Symfony\Component\Intl\Countries;
17 18
 use Symfony\Component\Intl\Exception\MissingResourceException;
18 19
 use Twig\Extension\AbstractExtension;
19 20
 use Twig\TwigFilter;
20
-use Symfony\Component\Intl\Countries;
21 21
 
22 22
 class CountryNameExtension extends AbstractExtension
23 23
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Installer/Setup/LocaleSetup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
 
107 107
         try {
108 108
             return Languages::getName($language, $region);
109
-        } catch(MissingResourceException $exception) {
109
+        } catch (MissingResourceException $exception) {
110 110
             return null;
111 111
         }
112 112
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Installer/Setup/CurrencySetup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     {
94 94
         try {
95 95
             return Currencies::getName($code);
96
-        } catch(MissingResourceException $exception) {
96
+        } catch (MissingResourceException $exception) {
97 97
             return null;
98 98
         }
99 99
     }
Please login to merge, or discard this patch.