Completed
Push — locale-in-url ( 6d9eda )
by Kamil
23:08
created
src/Sylius/Bundle/PromotionBundle/test/app/AppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     public function registerContainerConfiguration(LoaderInterface $loader)
46 46
     {
47
-        $loader->load(__DIR__.'/config/config.yml');
47
+        $loader->load(__DIR__ . '/config/config.yml');
48 48
     }
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Zone/CreatePageInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -18,20 +18,26 @@  discard block
 block discarded – undo
18 18
  */
19 19
 interface CreatePageInterface extends BaseCreatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function addMember();
22 25
 
23 26
     /**
24 27
      * @param string $message
28
+     * @return boolean
25 29
      */
26 30
     public function checkValidationMessageForMembers($message);
27 31
 
28 32
     /**
29 33
      * @param string $name
34
+     * @return void
30 35
      */
31 36
     public function chooseMember($name);
32 37
 
33 38
     /**
34 39
      * @param string $scope
40
+     * @return void
35 41
      */
36 42
     public function selectScope($scope);
37 43
 
@@ -49,11 +55,13 @@  discard block
 block discarded – undo
49 55
 
50 56
     /**
51 57
      * @param string $name
58
+     * @return void
52 59
      */
53 60
     public function nameIt($name);
54 61
 
55 62
     /**
56 63
      * @param string $code
64
+     * @return void
57 65
      */
58 66
     public function specifyCode($code);
59 67
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Filter/DateFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,6 @@
 block discarded – undo
56 56
             return $data['date'];
57 57
         }
58 58
 
59
-        return $data['date'].' '.$data['time'];
59
+        return $data['date'] . ' ' . $data['time'];
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Suite/SuiteSpec.php 3 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -84,6 +84,7 @@
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * @param Collaborator[] ...$collaborators
87
+     * @param FixtureInterface $collaborators
87 88
      *
88 89
      * @return \Generator
89 90
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use PhpSpec\Wrapper\Collaborator;
16
-use Prophecy\Argument;
17 16
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
18 17
 use Sylius\Bundle\FixturesBundle\Suite\Suite;
19 18
 use Sylius\Bundle\FixturesBundle\Suite\SuiteInterface;
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,8 @@
 block discarded – undo
222 222
      *
223 223
      * @return \Generator
224 224
      */
225
-    private function createGenerator(Collaborator ...$collaborators) {
225
+    private function createGenerator(Collaborator ...$collaborators)
226
+    {
226 227
         foreach ($collaborators as $collaborator) {
227 228
             yield $collaborator->getWrappedObject() => [];
228 229
         }
Please login to merge, or discard this patch.
src/Sylius/Bundle/FixturesBundle/spec/Suite/SuiteFactorySpec.php 2 patches
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,8 @@
 block discarded – undo
222 222
      *
223 223
      * @return \Generator
224 224
      */
225
-    private function createGenerator(Collaborator ...$collaborators) {
225
+    private function createGenerator(Collaborator ...$collaborators)
226
+    {
226 227
         foreach ($collaborators as $collaborator) {
227 228
             yield $collaborator->getWrappedObject() => [];
228 229
         }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use PhpSpec\Wrapper\Collaborator;
16
-use Prophecy\Argument;
17 16
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureInterface;
18 17
 use Sylius\Bundle\FixturesBundle\Fixture\FixtureRegistryInterface;
19 18
 use Sylius\Bundle\FixturesBundle\Listener\ListenerInterface;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ShippingMethod/UpdatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -31,10 +31,19 @@
 block discarded – undo
31 31
      */
32 32
     public function isAvailableInChannel($channelName);
33 33
 
34
+    /**
35
+     * @return void
36
+     */
34 37
     public function enable();
35 38
 
39
+    /**
40
+     * @return void
41
+     */
36 42
     public function disable();
37 43
 
44
+    /**
45
+     * @return void
46
+     */
38 47
     public function removeZone();
39 48
 
40 49
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectShippingPageInterface.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $shippingMethod
23
+     * @return void
23 24
      */
24 25
     public function selectShippingMethod($shippingMethod);
25 26
 
@@ -48,14 +49,23 @@  discard block
 block discarded – undo
48 49
      */
49 50
     public function getItemSubtotal($itemName);
50 51
 
52
+    /**
53
+     * @return void
54
+     */
51 55
     public function nextStep();
52 56
 
57
+    /**
58
+     * @return void
59
+     */
53 60
     public function changeAddress();
54 61
 
62
+    /**
63
+     * @return void
64
+     */
55 65
     public function changeAddressByStepLabel();
56 66
 
57 67
     /**
58
-     * @return mixed string
68
+     * @return string string
59 69
      */
60 70
     public function getPurchaserEmail();
61 71
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/CheckoutContext.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
      */
780 780
     public function iShouldSeeThisShippingAddressAsShippingAddress($fullName)
781 781
     {
782
-        $address = $this->sharedStorage->get('shipping_address_'.StringInflector::nameToLowercaseCode($fullName));
782
+        $address = $this->sharedStorage->get('shipping_address_' . StringInflector::nameToLowercaseCode($fullName));
783 783
         Assert::true(
784 784
             $this->completePage->hasShippingAddress($address),
785 785
             'Shipping address is improper.'
@@ -791,7 +791,7 @@  discard block
 block discarded – undo
791 791
      */
792 792
     public function iShouldSeeThisBillingAddressAsBillingAddress($fullName)
793 793
     {
794
-        $address = $this->sharedStorage->get('billing_address_'.StringInflector::nameToLowercaseCode($fullName));
794
+        $address = $this->sharedStorage->get('billing_address_' . StringInflector::nameToLowercaseCode($fullName));
795 795
         Assert::true(
796 796
             $this->completePage->hasBillingAddress($address),
797 797
             'Billing address is improper.'
@@ -1403,7 +1403,7 @@  discard block
 block discarded – undo
1403 1403
     public function iShouldBeCheckingOutAs($email)
1404 1404
     {
1405 1405
         Assert::same(
1406
-            'Checking out as '.$email.'.',
1406
+            'Checking out as ' . $email . '.',
1407 1407
             $this->selectShippingPage->getPurchaserEmail()
1408 1408
         );
1409 1409
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
      */
167 167
     public function iSetItsPriceTo($price = null, $channel = null)
168 168
     {
169
-        $this->createPage->specifyPrice($price, (null === $channel) ? $this->sharedStorage->get('channel') :$channel);
169
+        $this->createPage->specifyPrice($price, (null === $channel) ? $this->sharedStorage->get('channel') : $channel);
170 170
     }
171 171
 
172 172
     /**
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -225,6 +225,7 @@  discard block
 block discarded – undo
225 225
 
226 226
     /**
227 227
      * @Then the :productVariantCode variant of the :product product should appear in the store
228
+     * @param string $productVariantCode
228 229
      */
229 230
     public function theProductVariantShouldAppearInTheShop($productVariantCode, ProductInterface $product)
230 231
     {
@@ -763,7 +764,7 @@  discard block
 block discarded – undo
763 764
 
764 765
     /**
765 766
      * @param string $element
766
-     * @param $message
767
+     * @param string $message
767 768
      */
768 769
     private function assertValidationMessage($element, $message)
769 770
     {
Please login to merge, or discard this patch.