Completed
Push — locale-in-url ( 6d9eda )
by Kamil
23:08
created
src/Sylius/Component/User/Canonicalizer/CanonicalizerInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -16,5 +16,10 @@
 block discarded – undo
16 16
  */
17 17
 interface CanonicalizerInterface
18 18
 {
19
+    /**
20
+     * @param string $string
21
+     *
22
+     * @return string
23
+     */
19 24
     public function canonicalize($string);
20 25
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/CredentialsHolderInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param string $plainPassword
26
+     * @return void
26 27
      */
27 28
     public function setPlainPassword($plainPassword);
28 29
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string $encodedPassword
42
+     * @return void
41 43
      */
42 44
     public function setPassword($encodedPassword);
43 45
 
@@ -55,6 +57,7 @@  discard block
 block discarded – undo
55 57
      *
56 58
      * This is important if, at any given point, sensitive information like
57 59
      * the plain-text password is stored on this object.
60
+     * @return void
58 61
      */
59 62
     public function eraseCredentials();
60 63
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Model/UserAwareInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param UserInterface $user
26
+     * @return void
26 27
      */
27 28
     public function setUser(UserInterface $user = null);
28 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/User/Security/PasswordUpdaterInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
  */
19 19
 interface PasswordUpdaterInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function updatePassword(CredentialsHolderInterface $user);
22 25
 }
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.
app/TestAppKernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-require_once __DIR__.'/AppKernel.php';
12
+require_once __DIR__ . '/AppKernel.php';
13 13
 
14 14
 use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer;
15 15
 use Symfony\Component\DependencyInjection\ContainerInterface;
Please login to merge, or discard this patch.
app/config/router_test_cached.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,12 +26,12 @@
 block discarded – undo
26 26
     require ini_get('auto_prepend_file');
27 27
 }
28 28
 
29
-if (is_file($_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.$_SERVER['SCRIPT_NAME'])) {
29
+if (is_file($_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . $_SERVER['SCRIPT_NAME'])) {
30 30
     return false;
31 31
 }
32 32
 
33 33
 $_SERVER = array_merge($_SERVER, $_ENV);
34
-$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'].DIRECTORY_SEPARATOR.'app_test_cached.php';
34
+$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . 'app_test_cached.php';
35 35
 
36 36
 require 'app_test_cached.php';
37 37
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Country/UpdatePage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $provinces = $this->getElement('provinces');
42 42
 
43
-        return $provinces->has('css', '[value = "'.$provinceName.'"]');
43
+        return $provinces->has('css', '[value = "' . $provinceName . '"]');
44 44
     }
45 45
 
46 46
     /**
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     {
51 51
         $provinces = $this->getElement('provinces');
52 52
 
53
-        return $provinces->has('css', '[value = "'.$provinceCode.'"]');
53
+        return $provinces->has('css', '[value = "' . $provinceCode . '"]');
54 54
     }
55 55
 
56 56
     /**
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
         if ($this->isThereProvince($provinceName)) {
138 138
             $provinces = $this->getElement('provinces');
139 139
 
140
-            $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="'.$provinceName.'"]')->getParent();
140
+            $item = $provinces->find('css', 'div[data-form-collection="item"] input[value="' . $provinceName . '"]')->getParent();
141 141
             $item->fillField('Name', '');
142 142
         }
143 143
     }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/ShowPage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
             (stripos($elementText, $customerName) !== false) &&
386 386
             (stripos($elementText, $street) !== false) &&
387 387
             (stripos($elementText, $city) !== false) &&
388
-            (stripos($elementText, $countryName.' '.$postcode) !== false)
388
+            (stripos($elementText, $countryName . ' ' . $postcode) !== false)
389 389
         ;
390 390
     }
391 391
 
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
             ['item' => $itemName]
403 403
         );
404 404
 
405
-        return $rows[0]->find('css', '.'.$property)->getText();
405
+        return $rows[0]->find('css', '.' . $property)->getText();
406 406
     }
407 407
 
408 408
     /**
Please login to merge, or discard this patch.