Completed
Push — 1.4-user-interface-entity-mapp... ( 8eba19...bbc1f0 )
by Kamil
19:43 queued 07:23
created
src/Sylius/Behat/Page/Admin/TaxRate/CreatePageInterface.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -17,17 +17,38 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function specifyCode(string $code): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function nameIt(string $name): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyAmount(string $amount): void;
25 34
 
35
+    /**
36
+     * @return void
37
+     */
26 38
     public function chooseZone(string $name): void;
27 39
 
40
+    /**
41
+     * @return void
42
+     */
28 43
     public function chooseCategory(string $name): void;
29 44
 
45
+    /**
46
+     * @return void
47
+     */
30 48
     public function chooseCalculator(string $name): void;
31 49
 
50
+    /**
51
+     * @return void
52
+     */
32 53
     public function chooseIncludedInPrice(): void;
33 54
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/TaxRate/UpdatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,5 +19,8 @@
 block discarded – undo
19 19
 {
20 20
     public function isCodeDisabled(): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function removeZone(): void;
23 26
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Zone/CreatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -17,19 +17,34 @@
 block discarded – undo
17 17
 
18 18
 interface CreatePageInterface extends BaseCreatePageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function addMember(): void;
21 24
 
22 25
     public function checkValidationMessageForMembers(string $message): bool;
23 26
 
27
+    /**
28
+     * @return void
29
+     */
24 30
     public function chooseMember(string $name): void;
25 31
 
32
+    /**
33
+     * @return void
34
+     */
26 35
     public function selectScope(string $scope): void;
27 36
 
28 37
     public function hasType(string $type): bool;
29 38
 
30 39
     public function isTypeFieldDisabled(): bool;
31 40
 
41
+    /**
42
+     * @return void
43
+     */
32 44
     public function nameIt(string $name): void;
33 45
 
46
+    /**
47
+     * @return void
48
+     */
34 49
     public function specifyCode(string $code): void;
35 50
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Zone/UpdatePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function nameIt(string $name): void;
22 25
 
23 26
     public function countMembers(): int;
@@ -28,5 +31,8 @@  discard block
 block discarded – undo
28 31
 
29 32
     public function isCodeDisabled(): bool;
30 33
 
34
+    /**
35
+     * @return void
36
+     */
31 37
     public function removeMember(ZoneMemberInterface $zoneMember): void;
32 38
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -192,6 +192,9 @@
 block discarded – undo
192 192
         }
193 193
     }
194 194
 
195
+    /**
196
+     * @return string
197
+     */
195 198
     private function getImageElementByType(string $type): ?NodeElement
196 199
     {
197 200
         $images = $this->getElement('images');
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAssociationType/IndexPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,7 +17,13 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function specifyFilterType(string $field, string $type): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function specifyFilterValue(string $field, string $value): void;
23 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserInterface.php 1 patch
Doc Comments   +78 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function getEmail(): ?string;
35 35
 
36
+    /**
37
+     * @return void
38
+     */
36 39
     public function setEmail(?string $email): void;
37 40
 
38 41
     /**
@@ -40,49 +43,110 @@  discard block
 block discarded – undo
40 43
      */
41 44
     public function getEmailCanonical(): ?string;
42 45
 
46
+    /**
47
+     * @return void
48
+     */
43 49
     public function setEmailCanonical(?string $emailCanonical): void;
44 50
 
51
+    /**
52
+     * @return void
53
+     */
45 54
     public function setUsername(?string $username): void;
46 55
 
47 56
     /**
48 57
      * Gets normalized username (should be used in search and sort queries).
58
+     * @return string|null
49 59
      */
50 60
     public function getUsernameCanonical(): ?string;
51 61
 
62
+    /**
63
+     * @return void
64
+     */
52 65
     public function setUsernameCanonical(?string $usernameCanonical): void;
53 66
 
67
+    /**
68
+     * @return void
69
+     */
54 70
     public function setLocked(bool $locked): void;
55 71
 
72
+    /**
73
+     * @return string|null
74
+     */
56 75
     public function getEmailVerificationToken(): ?string;
57 76
 
77
+    /**
78
+     * @return void
79
+     */
58 80
     public function setEmailVerificationToken(?string $verificationToken): void;
59 81
 
82
+    /**
83
+     * @return string|null
84
+     */
60 85
     public function getPasswordResetToken(): ?string;
61 86
 
87
+    /**
88
+     * @param string|null $passwordResetToken
89
+     *
90
+     * @return void
91
+     */
62 92
     public function setPasswordResetToken(?string $passwordResetToken): void;
63 93
 
94
+    /**
95
+     * @return \DateTimeInterface|null
96
+     */
64 97
     public function getPasswordRequestedAt(): ?\DateTimeInterface;
65 98
 
99
+    /**
100
+     * @param \DateTime|null $date
101
+     *
102
+     * @return void
103
+     */
66 104
     public function setPasswordRequestedAt(?\DateTimeInterface $date): void;
67 105
 
68 106
     public function isPasswordRequestNonExpired(\DateInterval $ttl): bool;
69 107
 
70 108
     public function isVerified(): bool;
71 109
 
110
+    /**
111
+     * @return \DateTimeInterface|null
112
+     */
72 113
     public function getVerifiedAt(): ?\DateTimeInterface;
73 114
 
115
+    /**
116
+     * @param \DateTime|null $verifiedAt
117
+     *
118
+     * @return void
119
+     */
74 120
     public function setVerifiedAt(?\DateTimeInterface $verifiedAt): void;
75 121
 
122
+    /**
123
+     * @return \DateTimeInterface|null
124
+     */
76 125
     public function getExpiresAt(): ?\DateTimeInterface;
77 126
 
127
+    /**
128
+     * @return void
129
+     */
78 130
     public function setExpiresAt(?\DateTimeInterface $date): void;
79 131
 
132
+    /**
133
+     * @return \DateTimeInterface|null
134
+     */
80 135
     public function getCredentialsExpireAt(): ?\DateTimeInterface;
81 136
 
137
+    /**
138
+     * @return void
139
+     */
82 140
     public function setCredentialsExpireAt(?\DateTimeInterface $date): void;
83 141
 
142
+    /**
143
+     * @return \DateTimeInterface|null
144
+     */
84 145
     public function getLastLogin(): ?\DateTimeInterface;
85 146
 
147
+    /**
148
+     * @return void
149
+     */
86 150
     public function setLastLogin(?\DateTimeInterface $time): void;
87 151
 
88 152
     /**
@@ -95,8 +159,14 @@  discard block
 block discarded – undo
95 159
      */
96 160
     public function hasRole(string $role): bool;
97 161
 
162
+    /**
163
+     * @return void
164
+     */
98 165
     public function addRole(string $role): void;
99 166
 
167
+    /**
168
+     * @return void
169
+     */
100 170
     public function removeRole(string $role): void;
101 171
 
102 172
     /**
@@ -106,7 +176,15 @@  discard block
 block discarded – undo
106 176
 
107 177
     public function getOAuthAccount(string $provider): ?UserOAuthInterface;
108 178
 
179
+    /**
180
+     * @return void
181
+     */
109 182
     public function addOAuthAccount(UserOAuthInterface $oauth): void;
110 183
 
184
+    /**
185
+     * @param string $encoderName
186
+     *
187
+     * @return void
188
+     */
111 189
     public function setEncoderName(?string $encoderName): void;
112 190
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Routing/Matcher/Dumper/PhpMatcherDumper.php 1 patch
Upper-Lower-Casing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 {$this->generateMatchMethod($supportsRedirections)}
80 80
 }
81 81
 
82
-EOF;
82
+eof;
83 83
     }
84 84
 
85 85
     public function addExpressionLanguageProvider(ExpressionFunctionProviderInterface $provider)
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
 $code
123 123
 
124
-EOF;
124
+eof;
125 125
 
126 126
         if ($supportsRedirections) {
127 127
             return <<<'EOF'
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
     private function doMatch(string $rawPathinfo, array &$allow = array(), array &$allowSchemes = array()): ?array
164 164
 
165
-EOF
165
+eof
166 166
                 . $code . "\n        return null;\n    }";
167 167
         }
168 168
 
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
             }
296 296
             list(\$ret, \$requiredHost, \$requiredMethods, \$requiredSchemes) = \$routes[\$pathinfo];
297 297
 {$this->compileSwitchDefault(false, $matchHost)}
298
-EOF;
298
+eof;
299 299
         }
300 300
 
301 301
         return sprintf("        switch (\$pathinfo) {\n%s        }\n\n", $this->indent($code));
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
 
432 432
             list(\$ret, \$vars, \$requiredMethods, \$requiredSchemes) = \$routes[\$m];
433 433
 {$this->compileSwitchDefault(true, $matchHost)}
434
-EOF;
434
+eof;
435 435
         }
436 436
 
437 437
         $matchedPathinfo = $matchHost ? '$host.\'.\'.$pathinfo' : '$pathinfo';
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
             }
456 456
         }
457 457
 
458
-EOF;
458
+eof;
459 459
     }
460 460
 
461 461
     /**
@@ -529,7 +529,7 @@  discard block
 block discarded – undo
529 529
 {$combine}{$this->compileRoute($route, $name, false)}
530 530
             break;
531 531
 
532
-EOF;
532
+eof;
533 533
             }
534 534
         }
535 535
 
@@ -550,7 +550,7 @@  discard block
 block discarded – undo
550 550
                 }
551 551
             }
552 552
 
553
-EOF;
553
+eof;
554 554
         } elseif ($matchHost) {
555 555
             $code = <<<EOF
556 556
 
@@ -564,7 +564,7 @@  discard block
 block discarded – undo
564 564
                 }
565 565
             }
566 566
 
567
-EOF;
567
+eof;
568 568
         } else {
569 569
             $code = '';
570 570
         }
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
 
586 586
             return \$ret;
587 587
 
588
-EOF;
588
+eof;
589 589
 
590 590
         return $code;
591 591
     }
@@ -628,7 +628,7 @@  discard block
 block discarded – undo
628 628
         // $name
629 629
         if ($conditions) {
630 630
 
631
-EOF;
631
+eof;
632 632
         } else {
633 633
             $code .= "            // {$name}\n";
634 634
         }
@@ -687,7 +687,7 @@  discard block
 block discarded – undo
687 687
             }
688 688
 
689 689
 
690
-EOF;
690
+eof;
691 691
             } else {
692 692
                 $code .= <<<EOF
693 693
             \$requiredSchemes = $schemes;
@@ -697,7 +697,7 @@  discard block
 block discarded – undo
697 697
             }
698 698
 
699 699
 
700
-EOF;
700
+eof;
701 701
             }
702 702
         } elseif ($methods) {
703 703
             $code .= <<<EOF
@@ -707,7 +707,7 @@  discard block
 block discarded – undo
707 707
             }
708 708
 
709 709
 
710
-EOF;
710
+eof;
711 711
         }
712 712
 
713 713
         if ($schemes || $methods) {
Please login to merge, or discard this patch.
src/Sylius/Behat/Element/Admin/Channel/ShopBillingDataElementInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -6,10 +6,19 @@
 block discarded – undo
6 6
 
7 7
 interface ShopBillingDataElementInterface
8 8
 {
9
+    /**
10
+     * @return void
11
+     */
9 12
     public function specifyCompany(string $company): void;
10 13
 
14
+    /**
15
+     * @return void
16
+     */
11 17
     public function specifyTaxId(string $taxId): void;
12 18
 
19
+    /**
20
+     * @return void
21
+     */
13 22
     public function specifyBillingAddress(string $street, string $postcode, string $city, string $countryCode): void;
14 23
 
15 24
     public function hasCompany(string $company): bool;
Please login to merge, or discard this patch.