Completed
Push — 1.3-make-js-behat-faster ( 85e122 )
by Kamil
09:41
created
src/Sylius/Behat/Service/NotificationCheckerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @throws NotificationExpectationMismatchException
23
+     * @return void
23 24
      */
24 25
     public function checkNotification(string $message, NotificationType $type): void;
25 26
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Channel/Context/ChannelNotFoundException.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
 {
18 18
     /**
19 19
      * {@inheritdoc}
20
+     * @param \UnexpectedValueException $messageOrPreviousException
20 21
      */
21 22
     public function __construct($messageOrPreviousException = null, ?\Throwable $previousException = null)
22 23
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Tests/Application/SyliusPluginTraitTest.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,8 @@
 block discarded – undo
25 25
      */
26 26
     public function it_does_not_crash(): void
27 27
     {
28
-        $class = new class() extends Bundle {
28
+        $class = new class() extends Bundle
29
+        {
29 30
             use SyliusPluginTrait;
30 31
         };
31 32
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ProductRepository.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,10 +87,10 @@
 block discarded – undo
87 87
         if (isset($sorting['price'])) {
88 88
             // Another hack, the subquery to get the first position variant
89 89
             $subQuery = $this->createQueryBuilder('m')
90
-                 ->select('min(v.position)')
91
-                 ->innerJoin('m.variants', 'v')
92
-                 ->andWhere('m.id = :product_id')
93
-             ;
90
+                    ->select('min(v.position)')
91
+                    ->innerJoin('m.variants', 'v')
92
+                    ->andWhere('m.id = :product_id')
93
+                ;
94 94
 
95 95
             $queryBuilder
96 96
                 ->innerJoin('o.variants', 'variant')
Please login to merge, or discard this 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/Element/Shop/Account/RegisterElementInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -13,21 +13,47 @@
 block discarded – undo
13 13
      */
14 14
     public function checkValidationMessageFor(string $element, string $message): bool;
15 15
 
16
+    /**
17
+     * @return void
18
+     */
16 19
     public function register(): void;
17 20
 
21
+    /**
22
+     * @return void
23
+     */
18 24
     public function specifyEmail(?string $email): void;
19 25
 
20 26
     public function getEmail(): string;
21 27
 
28
+    /**
29
+     * @return void
30
+     */
22 31
     public function specifyFirstName(?string $firstName): void;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function specifyLastName(?string $lastName): void;
25 37
 
38
+    /**
39
+     * @return void
40
+     */
26 41
     public function specifyPassword(?string $password): void;
27 42
 
43
+    /**
44
+     * @return void
45
+     */
28 46
     public function specifyPhoneNumber(string $phoneNumber): void;
29 47
 
48
+    /**
49
+     * @param string|null $password
50
+     *
51
+     * @return void
52
+     */
30 53
     public function verifyPassword(?string $password): void;
31 54
 
55
+    /**
56
+     * @return void
57
+     */
32 58
     public function subscribeToTheNewsletter(): void;
33 59
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Order/ThankYouPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface ThankYouPageInterface extends SymfonyPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function goToOrderDetails();
21 24
 
22 25
     /**
@@ -41,5 +44,8 @@  discard block
 block discarded – undo
41 44
 
42 45
     public function hasRegistrationButton(): bool;
43 46
 
47
+    /**
48
+     * @return void
49
+     */
44 50
     public function createAccount(): void;
45 51
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Command/AssetsInstallCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,6 +90,6 @@
 block discarded – undo
90 90
 
91 91
   <info>php %command.full_name% public --symlink --relative</info>
92 92
 
93
-EOT;
93
+eot;
94 94
     }
95 95
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/CreatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -18,13 +18,20 @@
 block discarded – undo
18 18
 
19 19
 interface CreatePageInterface extends SymfonyPageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function fillAddressData(AddressInterface $address);
22 25
 
23 26
     /**
24 27
      * @param string $name
28
+     * @return void
25 29
      */
26 30
     public function selectCountry($name);
27 31
 
32
+    /**
33
+     * @return void
34
+     */
28 35
     public function addAddress();
29 36
 
30 37
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/RequestPasswordResetPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -19,10 +19,14 @@
 block discarded – undo
19 19
 {
20 20
     public function checkValidationMessageFor(string $element, string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function reset();
23 26
 
24 27
     /**
25 28
      * @param string $email
29
+     * @return void
26 30
      */
27 31
     public function specifyEmail($email);
28 32
 }
Please login to merge, or discard this patch.