Completed
Push — 1.3 ( 398444...af1b9f )
by Kamil
27:59
created
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.
public/index.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 use Symfony\Component\Dotenv\Dotenv;
5 5
 use Symfony\Component\HttpFoundation\Request;
6 6
 
7
-require __DIR__.'/../vendor/autoload.php';
7
+require __DIR__ . '/../vendor/autoload.php';
8 8
 
9 9
 // The check is to ensure we don't use .env in production
10 10
 if (!isset($_SERVER['APP_ENV']) && !isset($_ENV['APP_ENV'])) {
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
         throw new \RuntimeException('APP_ENV environment variable is not defined. You need to define environment variables for configuration or add "symfony/dotenv" as a Composer dependency to load variables from a .env file.');
13 13
     }
14 14
 
15
-    $envFile = file_exists(__DIR__.'/../.env') ? __DIR__.'/../.env' : __DIR__.'/../.env.dist';
15
+    $envFile = file_exists(__DIR__ . '/../.env') ? __DIR__ . '/../.env' : __DIR__ . '/../.env.dist';
16 16
     (new Dotenv())->load($envFile);
17 17
 }
18 18
 
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/Kernel.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@
 block discarded – undo
11 11
 
12 12
 declare(strict_types=1);
13 13
 
14
-use ProxyManager\Proxy\VirtualProxyInterface;
15 14
 use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
15
+use ProxyManager\Proxy\VirtualProxyInterface;
16 16
 use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
17 17
 use Symfony\Component\Config\Loader\DelegatingLoader;
18 18
 use Symfony\Component\Config\Loader\LoaderInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param string $taxonName
22
+     * @return void
22 23
      */
23 24
     public function filterByTaxon($taxonName);
24 25
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/IndexPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param string $fieldName
42
+     * @return void
42 43
      */
43 44
     public function sortBy($fieldName);
44 45
 
@@ -52,6 +53,9 @@  discard block
 block discarded – undo
52 53
      */
53 54
     public function getActionsForResource(array $parameters);
54 55
 
56
+    /**
57
+     * @return void
58
+     */
55 59
     public function checkResourceOnPage(array $parameters): void;
56 60
 
57 61
     /**
@@ -59,7 +63,13 @@  discard block
 block discarded – undo
59 63
      */
60 64
     public function countItems();
61 65
 
66
+    /**
67
+     * @return void
68
+     */
62 69
     public function filter();
63 70
 
71
+    /**
72
+     * @return void
73
+     */
64 74
     public function bulkDelete(): void;
65 75
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/IndexPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -17,27 +17,37 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function specifyFilterDateFrom(string $dateTime);
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function specifyFilterDateTo(string $dateTime);
23 29
 
24 30
     /**
25 31
      * @param string $channelName
32
+     * @return void
26 33
      */
27 34
     public function chooseChannelFilter($channelName);
28 35
 
29 36
     /**
30 37
      * @param string $currencyName
38
+     * @return void
31 39
      */
32 40
     public function chooseCurrencyFilter($currencyName);
33 41
 
34 42
     /**
35 43
      * @param string $total
44
+     * @return void
36 45
      */
37 46
     public function specifyFilterTotalGreaterThan($total);
38 47
 
39 48
     /**
40 49
      * @param string $total
50
+     * @return void
41 51
      */
42 52
     public function specifyFilterTotalLessThan($total);
43 53
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/ShowPageInterface.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $customerName
23
+     * @return boolean
23 24
      */
24 25
     public function hasCustomer($customerName);
25 26
 
@@ -54,6 +55,7 @@  discard block
 block discarded – undo
54 55
 
55 56
     /**
56 57
      * @param string $code
58
+     * @return void
57 59
      */
58 60
     public function specifyTrackingCode($code);
59 61
 
@@ -62,6 +64,9 @@  discard block
 block discarded – undo
62 64
      */
63 65
     public function canShipOrder(OrderInterface $order);
64 66
 
67
+    /**
68
+     * @return void
69
+     */
65 70
     public function shipOrder(OrderInterface $order);
66 71
 
67 72
     /**
@@ -76,8 +81,14 @@  discard block
 block discarded – undo
76 81
      */
77 82
     public function canCompleteOrderLastPayment(OrderInterface $order);
78 83
 
84
+    /**
85
+     * @return void
86
+     */
79 87
     public function completeOrderLastPayment(OrderInterface $order);
80 88
 
89
+    /**
90
+     * @return void
91
+     */
81 92
     public function refundOrderLastPayment(OrderInterface $order);
82 93
 
83 94
     /**
@@ -231,8 +242,14 @@  discard block
 block discarded – undo
231 242
      */
232 243
     public function getShippingState();
233 244
 
245
+    /**
246
+     * @return void
247
+     */
234 248
     public function cancelOrder();
235 249
 
250
+    /**
251
+     * @return void
252
+     */
236 253
     public function deleteOrder();
237 254
 
238 255
     /**
Please login to merge, or discard this patch.