Completed
Push — pull-request/7727 ( ada5cb )
by Kamil
22:07
created
src/Sylius/Bundle/ThemeBundle/spec/Asset/Package/PathPackageSpec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         $themeContext->getTheme()->shouldBeCalled()->willReturn(null);
52 52
         $versionStrategy->applyVersion($path)->shouldBeCalled()->willReturn($path);
53 53
 
54
-        $this->getUrl($path)->shouldReturn('/'.$path);
54
+        $this->getUrl($path)->shouldReturn('/' . $path);
55 55
     }
56 56
 
57 57
     function it_returns_modified_url_if_there_is_active_theme(
@@ -68,6 +68,6 @@  discard block
 block discarded – undo
68 68
         $pathResolver->resolve($path, $theme)->shouldBeCalled()->willReturn($themeAssetPath);
69 69
         $versionStrategy->applyVersion($themeAssetPath)->shouldBeCalled()->willReturn($themeAssetPath);
70 70
 
71
-        $this->getUrl($path)->shouldReturn('/'.$themeAssetPath);
71
+        $this->getUrl($path)->shouldReturn('/' . $themeAssetPath);
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Metadata/Metadata.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      */
78 78
     public function getAlias()
79 79
     {
80
-        return $this->applicationName.'.'.$this->name;
80
+        return $this->applicationName . '.' . $this->name;
81 81
     }
82 82
 
83 83
     /**
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Payment/IdBasedInvoiceNumberGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
      */
25 25
     public function generate(OrderInterface $order, PaymentInterface $payment)
26 26
     {
27
-        return $order->getId().'-'.$payment->getId();
27
+        return $order->getId() . '-' . $payment->getId();
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Uploader/ImageUploader.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
         do {
46 46
             $hash = md5(uniqid(mt_rand(), true));
47
-            $path = $this->expandPath($hash.'.'.$image->getFile()->guessExtension());
47
+            $path = $this->expandPath($hash . '.' . $image->getFile()->guessExtension());
48 48
         } while ($this->filesystem->has($path));
49 49
 
50 50
         $image->setPath($path);
Please login to merge, or discard this patch.
src/Sylius/Component/Registry/spec/ServiceRegistrySpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Registry;
13 13
 
14
-require_once __DIR__.'/Fixture/SampleServiceInterface.php';
14
+require_once __DIR__ . '/Fixture/SampleServiceInterface.php';
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17 17
 use spec\Sylius\Component\Registry\Fixture\SampleServiceInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Registry/spec/PrioritizedServiceRegistrySpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 
12 12
 namespace spec\Sylius\Component\Registry;
13 13
 
14
-require_once __DIR__.'/Fixture/SampleServiceInterface.php';
14
+require_once __DIR__ . '/Fixture/SampleServiceInterface.php';
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17 17
 use Prophecy\Argument;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Customer/UpdatePageInterface.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -18,7 +18,14 @@  discard block
 block discarded – undo
18 18
  */
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function enable();
25
+
26
+    /**
27
+     * @return void
28
+     */
22 29
     public function disable();
23 30
 
24 31
     /**
@@ -28,6 +35,7 @@  discard block
 block discarded – undo
28 35
     
29 36
     /**
30 37
      * @param string $firstName
38
+     * @return void
31 39
      */
32 40
     public function changeFirstName($firstName);
33 41
 
@@ -38,6 +46,7 @@  discard block
 block discarded – undo
38 46
 
39 47
     /**
40 48
      * @param string $lastName
49
+     * @return void
41 50
      */
42 51
     public function changeLastName($lastName);
43 52
 
@@ -48,11 +57,13 @@  discard block
 block discarded – undo
48 57
 
49 58
     /**
50 59
      * @param string $email
60
+     * @return void
51 61
      */
52 62
     public function changeEmail($email);
53 63
 
54 64
     /**
55 65
      * @param string $password
66
+     * @return void
56 67
      */
57 68
     public function changePassword($password);
58 69
 
@@ -61,6 +72,9 @@  discard block
 block discarded – undo
61 72
      */
62 73
     public function getPassword();
63 74
 
75
+    /**
76
+     * @return void
77
+     */
64 78
     public function subscribeToTheNewsletter();
65 79
 
66 80
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/ProfileUpdatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -21,19 +21,25 @@  discard block
 block discarded – undo
21 21
 {
22 22
     /**
23 23
      * @param string $firstName
24
+     * @return void
24 25
      */
25 26
     public function specifyFirstName($firstName);
26 27
 
27 28
     /**
28 29
      * @param string $lastName
30
+     * @return void
29 31
      */
30 32
     public function specifyLastName($lastName);
31 33
 
32 34
     /**
33 35
      * @param string $email
36
+     * @return void
34 37
      */
35 38
     public function specifyEmail($email);
36 39
 
40
+    /**
41
+     * @return void
42
+     */
37 43
     public function saveChanges();
38 44
 
39 45
     /**
@@ -46,6 +52,9 @@  discard block
 block discarded – undo
46 52
      */
47 53
     public function checkValidationMessageFor($element, $message);
48 54
 
55
+    /**
56
+     * @return void
57
+     */
49 58
     public function subscribeToTheNewsletter();
50 59
 
51 60
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/RegisterPageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -26,37 +26,49 @@
 block discarded – undo
26 26
      */
27 27
     public function checkValidationMessageFor($element, $message);
28 28
 
29
+    /**
30
+     * @return void
31
+     */
29 32
     public function register();
30 33
 
31 34
     /**
32 35
      * @param string $email
36
+     * @return void
33 37
      */
34 38
     public function specifyEmail($email);
35 39
 
36 40
     /**
37 41
      * @param string $firstName
42
+     * @return void
38 43
      */
39 44
     public function specifyFirstName($firstName);
40 45
 
41 46
     /**
42 47
      * @param string $lastName
48
+     * @return void
43 49
      */
44 50
     public function specifyLastName($lastName);
45 51
 
46 52
     /**
47 53
      * @param string $password
54
+     * @return void
48 55
      */
49 56
     public function specifyPassword($password);
50 57
 
51 58
     /**
52 59
      * @param string $phoneNumber
60
+     * @return void
53 61
      */
54 62
     public function specifyPhoneNumber($phoneNumber);
55 63
 
56 64
     /**
57 65
      * @param string $password
66
+     * @return void
58 67
      */
59 68
     public function verifyPassword($password);
60 69
 
70
+    /**
71
+     * @return void
72
+     */
61 73
     public function subscribeToTheNewsletter();
62 74
 }
Please login to merge, or discard this patch.