Completed
Push — symfony3-fqcn-sylius-3 ( 2ae323...32d447 )
by Kamil
19:24
created
src/Sylius/Component/Resource/Repository/InMemoryRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
      * @param ResourceInterface[] $resources
185 185
      * @param array               $criteria
186 186
      *
187
-     * @return ResourceInterface[]|array
187
+     * @return ResourceInterface[]
188 188
      */
189 189
     private function applyCriteria(array $resources, array $criteria)
190 190
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Repository/RepositoryInterface.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,17 +27,19 @@
 block discarded – undo
27 27
      * @param array $criteria
28 28
      * @param array $sorting
29 29
      *
30
-     * @return mixed
30
+     * @return \Pagerfanta\Pagerfanta
31 31
      */
32 32
     public function createPaginator(array $criteria = [], array $sorting = []);
33 33
 
34 34
     /**
35 35
      * @param ResourceInterface $resource
36
+     * @return void
36 37
      */
37 38
     public function add(ResourceInterface $resource);
38 39
 
39 40
     /**
40 41
      * @param ResourceInterface $resource
42
+     * @return void
41 43
      */
42 44
     public function remove(ResourceInterface $resource);
43 45
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/spec/Resolver/TaxRateResolverSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,9 +13,9 @@
 block discarded – undo
13 13
 
14 14
 use PhpSpec\ObjectBehavior;
15 15
 use Sylius\Component\Resource\Repository\RepositoryInterface;
16
-use Sylius\Component\Taxation\Model\TaxableInterface;
17 16
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
18 17
 use Sylius\Component\Taxation\Model\TaxRateInterface;
18
+use Sylius\Component\Taxation\Model\TaxableInterface;
19 19
 use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface;
20 20
 
21 21
 /**
Please login to merge, or discard this patch.
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/UserInterface.php 1 patch
Doc Comments   +14 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 $email
42
+     * @return void
42 43
      */
43 44
     public function setEmail($email);
44 45
 
@@ -51,6 +52,7 @@  discard block
 block discarded – undo
51 52
 
52 53
     /**
53 54
      * @param string $emailCanonical
55
+     * @return void
54 56
      */
55 57
     public function setEmailCanonical($emailCanonical);
56 58
 
@@ -61,11 +63,13 @@  discard block
 block discarded – undo
61 63
 
62 64
     /**
63 65
      * @param CustomerInterface $customer
66
+     * @return void
64 67
      */
65 68
     public function setCustomer(CustomerInterface $customer = null);
66 69
 
67 70
     /**
68 71
      * @param string $username
72
+     * @return void
69 73
      */
70 74
     public function setUsername($username);
71 75
 
@@ -78,11 +82,13 @@  discard block
 block discarded – undo
78 82
 
79 83
     /**
80 84
      * @param string $usernameCanonical
85
+     * @return void
81 86
      */
82 87
     public function setUsernameCanonical($usernameCanonical);
83 88
 
84 89
     /**
85 90
      * @param bool $locked
91
+     * @return void
86 92
      */
87 93
     public function setLocked($locked);
88 94
 
@@ -93,6 +99,7 @@  discard block
 block discarded – undo
93 99
 
94 100
     /**
95 101
      * @param string $confirmationToken
102
+     * @return void
96 103
      */
97 104
     public function setConfirmationToken($confirmationToken);
98 105
 
@@ -100,6 +107,7 @@  discard block
 block discarded – undo
100 107
      * Sets the timestamp that the user requested a password reset.
101 108
      *
102 109
      * @param null|\DateTime $date
110
+     * @return void
103 111
      */
104 112
     public function setPasswordRequestedAt(\DateTime $date = null);
105 113
 
@@ -114,6 +122,7 @@  discard block
 block discarded – undo
114 122
 
115 123
     /**
116 124
      * @param \DateTime $date
125
+     * @return void
117 126
      */
118 127
     public function setCredentialsExpireAt(\DateTime $date = null);
119 128
 
@@ -124,6 +133,7 @@  discard block
 block discarded – undo
124 133
 
125 134
     /**
126 135
      * @param \DateTime $time
136
+     * @return void
127 137
      */
128 138
     public function setLastLogin(\DateTime $time = null);
129 139
 
@@ -145,16 +155,19 @@  discard block
 block discarded – undo
145 155
      * This overwrites any previous roles.
146 156
      *
147 157
      * @param array $roles
158
+     * @return void
148 159
      */
149 160
     public function setRoles(array $roles);
150 161
 
151 162
     /**
152 163
      * @param string $role
164
+     * @return void
153 165
      */
154 166
     public function addRole($role);
155 167
 
156 168
     /**
157 169
      * @param string $role
170
+     * @return void
158 171
      */
159 172
     public function removeRole($role);
160 173
 
@@ -178,6 +191,7 @@  discard block
 block discarded – undo
178 191
      * Connects OAuth account.
179 192
      *
180 193
      * @param UserOAuthInterface $oauth
194
+     * @return void
181 195
      */
182 196
     public function addOAuthAccount(UserOAuthInterface $oauth);
183 197
 }
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.