Completed
Push — 1.7-legacy-sonata ( f1faa7 )
by Kamil
05:36
created
src/Sylius/Behat/Page/Shop/Account/ChangePasswordPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -18,10 +18,19 @@
 block discarded – undo
18 18
 
19 19
 interface ChangePasswordPageInterface extends PageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function specifyCurrentPassword(string $password): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function specifyNewPassword(string $password): void;
24 30
 
31
+    /**
32
+     * @return void
33
+     */
25 34
     public function specifyConfirmationPassword(string $password): void;
26 35
 
27 36
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/Order/IndexPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,5 +24,8 @@
 block discarded – undo
24 24
 
25 25
     public function isItPossibleToChangePaymentMethodForOrder(OrderInterface $order): bool;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function openLastOrderPage(): void;
28 31
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/ProfileUpdatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -18,12 +18,24 @@  discard block
 block discarded – undo
18 18
 
19 19
 interface ProfileUpdatePageInterface extends PageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function specifyFirstName(?string $firstName): void;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function specifyLastName(?string $lastName): void;
24 30
 
31
+    /**
32
+     * @return void
33
+     */
25 34
     public function specifyEmail(?string $email): void;
26 35
 
36
+    /**
37
+     * @return void
38
+     */
27 39
     public function saveChanges(): void;
28 40
 
29 41
     /**
@@ -31,6 +43,9 @@  discard block
 block discarded – undo
31 43
      */
32 44
     public function checkValidationMessageFor(string $element, string $message): bool;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function subscribeToTheNewsletter(): void;
35 50
 
36 51
     public function isSubscribedToTheNewsletter(): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/RegisterPageInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -21,17 +21,38 @@
 block discarded – undo
21 21
 
22 22
     public function checkValidationMessageFor(string $element, string $message): bool;
23 23
 
24
+    /**
25
+     * @return void
26
+     */
24 27
     public function register(): void;
25 28
 
29
+    /**
30
+     * @return void
31
+     */
26 32
     public function specifyEmail(string $email): void;
27 33
 
34
+    /**
35
+     * @return void
36
+     */
28 37
     public function specifyFirstName(string $firstName): void;
29 38
 
39
+    /**
40
+     * @return void
41
+     */
30 42
     public function specifyPassword(string $password): void;
31 43
 
44
+    /**
45
+     * @return void
46
+     */
32 47
     public function specifyPhoneNumber(string $phoneNumber): void;
33 48
 
49
+    /**
50
+     * @return void
51
+     */
34 52
     public function verifyPassword(string $password): void;
35 53
 
54
+    /**
55
+     * @return void
56
+     */
36 57
     public function subscribeToTheNewsletter(): void;
37 58
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/VerificationPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface VerificationPageInterface extends SymfonyPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function verifyAccount(string $token): void;
21 24
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -253,7 +253,7 @@
 block discarded – undo
253 253
     }
254 254
 
255 255
     /**
256
-     * @param string|array $selector
256
+     * @param string $selector
257 257
      * @throws ElementNotFoundException
258 258
      */
259 259
     private function hasItemWith(string $attributeName, $selector): bool
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPageInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -44,10 +44,19 @@  discard block
 block discarded – undo
44 44
 
45 45
     public function isItemDiscounted(string $productName): bool;
46 46
 
47
+    /**
48
+     * @return void
49
+     */
47 50
     public function removeProduct(string $productName): void;
48 51
 
52
+    /**
53
+     * @return void
54
+     */
49 55
     public function changeQuantity(string $productName, string $quantity): void;
50 56
 
57
+    /**
58
+     * @return void
59
+     */
51 60
     public function applyCoupon(string $couponCode): void;
52 61
 
53 62
     public function isSingleItemOnPage(): bool;
@@ -68,10 +77,19 @@  discard block
 block discarded – undo
68 77
 
69 78
     public function getCartTotal(): string;
70 79
 
80
+    /**
81
+     * @return void
82
+     */
71 83
     public function clearCart(): void;
72 84
 
85
+    /**
86
+     * @return void
87
+     */
73 88
     public function updateCart(): void;
74 89
 
90
+    /**
91
+     * @return void
92
+     */
75 93
     public function waitForRedirect(int $timeout): void;
76 94
 
77 95
     public function getPromotionCouponValidationMessage(): string;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/ProductReview/CreatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -17,14 +17,29 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends PageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function titleReview(?string $title): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function setComment(?string $comment): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function setAuthor(string $author): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function rateReview(int $rate): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function submitReview(): void;
29 44
 
30 45
     public function getRateValidationMessage(): string;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/OrderRepository.php 1 patch
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,21 +13,18 @@
 block discarded – undo
13 13
 
14 14
 namespace Sylius\Bundle\CoreBundle\Doctrine\ORM;
15 15
 
16
-use Doctrine\ORM\AbstractQuery;
17 16
 use Doctrine\ORM\EntityManager;
18 17
 use Doctrine\ORM\Mapping;
19
-use Doctrine\ORM\Query\ResultSetMapping;
20 18
 use Doctrine\ORM\QueryBuilder;
19
+use SyliusLabs\AssociationHydrator\AssociationHydrator;
21 20
 use Sylius\Bundle\OrderBundle\Doctrine\ORM\OrderRepository as BaseOrderRepository;
22 21
 use Sylius\Component\Core\Model\ChannelInterface;
23 22
 use Sylius\Component\Core\Model\CustomerInterface;
24
-use Sylius\Component\Core\Model\Order;
25 23
 use Sylius\Component\Core\Model\OrderInterface;
26 24
 use Sylius\Component\Core\Model\PromotionCouponInterface;
27 25
 use Sylius\Component\Core\OrderCheckoutStates;
28 26
 use Sylius\Component\Core\OrderPaymentStates;
29 27
 use Sylius\Component\Core\Repository\OrderRepositoryInterface;
30
-use SyliusLabs\AssociationHydrator\AssociationHydrator;
31 28
 
32 29
 class OrderRepository extends BaseOrderRepository implements OrderRepositoryInterface
33 30
 {
Please login to merge, or discard this patch.