Completed
Push — docs-theming-guide ( 05fbaa )
by Kamil
80:57 queued 70:39
created
src/Sylius/Behat/Service/Setter/CookieSetterInterface.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
      * @param string $name
21 21
      * @param string $value
22
+     * @return void
22 23
      */
23 24
     public function setCookie($name, $value);
24 25
 }
Please login to merge, or discard this patch.
spec/Validator/Constraints/ProvinceAddressConstraintValidatorSpec.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -151,6 +151,9 @@
 block discarded – undo
151 151
         $this->validate($address, $constraint);
152 152
     }
153 153
 
154
+    /**
155
+     * @param string $propertyPath
156
+     */
154 157
     private function createViolation($propertyPath)
155 158
     {
156 159
         return new ConstraintViolation('message', 'template', [], 'root', $propertyPath, 'invalidValue');
Please login to merge, or discard this patch.
etc/phpcs/common.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
 For the full copyright and license information, please view the LICENSE
20 20
 file that was distributed with this source code.
21
-EOF;
21
+eof;
22 22
 
23 23
 HeaderCommentFixer::setHeader($header);
24 24
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Command/PromoteUserCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 The <info>sylius:user:promote</info> command promotes a user by adding security roles
39 39
 
40 40
   <info>php app/console sylius:user:promote [email protected]</info>
41
-EOT
41
+eot
42 42
             );
43 43
     }
44 44
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Command/DemoteUserCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 The <info>sylius:user:demote</info> command demotes a user by removing security roles
39 39
 
40 40
   <info>php app/console sylius:user:demote [email protected]</info>
41
-EOT
41
+eot
42 42
             );
43 43
     }
44 44
 
Please login to merge, or discard this patch.
tests/Controller/OauthTokenApiTest.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             "username": "[email protected]",
36 36
             "password": "sylius"
37 37
         }
38
-EOT;
38
+eot;
39 39
 
40 40
         $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
41 41
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
             "grant_type": "refresh_token",
59 59
             "refresh_token": "SampleRefreshTokenODllODY4ZTQyOThlNWIyMjA1ZDhmZjE1ZDYyMGMwOTUxOWM2NGFmNGRjNjQ2NDBhMDVlNGZjMmQ0YzgyNDM2Ng"
60 60
         }
61
-EOT;
61
+eot;
62 62
 
63 63
         $this->client->request('POST', '/api/oauth/v2/token', [], [], ['CONTENT_TYPE' => 'application/json'], $data);
64 64
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/Form/Type/ReviewType.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
 
14 14
 use Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType;
15 15
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
16
-use Symfony\Component\Form\Extension\Core\Type\TextareaType;
17 16
 use Symfony\Component\Form\Extension\Core\Type\TextType;
17
+use Symfony\Component\Form\Extension\Core\Type\TextareaType;
18 18
 use Symfony\Component\Form\FormBuilderInterface;
19 19
 use Symfony\Component\OptionsResolver\OptionsResolver;
20 20
 use Symfony\Component\Validator\Constraints\Valid;
Please login to merge, or discard this patch.
src/Sylius/Bundle/CoreBundle/Form/Extension/CartTypeExtension.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,8 @@
 block discarded – undo
47 47
     {
48 48
         $resolver->setNormalizer('validation_groups', function (Options $options, array $validationGroups) {
49 49
             return function (FormInterface $form) use ($validationGroups) {
50
-                if ((bool) $form->get('promotionCoupon')->getNormData()) { // Validate the coupon if it was sent
50
+                if ((bool) $form->get('promotionCoupon')->getNormData()) {
51
+// Validate the coupon if it was sent
51 52
                     $validationGroups[] = 'sylius_promotion_coupon';
52 53
                 }
53 54
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Mocker/MockerInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -35,8 +35,12 @@
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param string $serviceId
38
+     * @return void
38 39
      */
39 40
     public function unmockService($serviceId);
40 41
 
42
+    /**
43
+     * @return void
44
+     */
41 45
     public function unmockAll();
42 46
 }
Please login to merge, or discard this patch.