Completed
Push — 1.4-password-hashing-2 ( b79be0...722ba0 )
by Kamil
16:49
created
src/Sylius/Bundle/ThemeBundle/Tests/Functional/AssetTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         return $webDirectory;
105 105
     }
106 106
 
107
+    /**
108
+     * @param string $webDirectory
109
+     */
107 110
     private function assertFileContent($lines, $webDirectory): void
108 111
     {
109 112
         foreach ($lines as $line) {
Please login to merge, or discard this patch.
tests/Controller/ProductReviewApiTest.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
             "email": "[email protected]"
129 129
           }
130 130
         }
131
-EOT;
131
+eot;
132 132
 
133 133
         $this->client->request('POST', $this->getReviewListUrl($product), [], [], static::$authorizedHeaderWithContentType, $data);
134 134
         $response = $this->client->getResponse();
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
             "rating": "1",
220 220
             "comment": "NEW_REVIEW_COMMENT"
221 221
         }
222
-EOT;
222
+eot;
223 223
         $this->client->request('PUT', $this->getReviewUrl($product, $productReview), [], [], static::$authorizedHeaderWithContentType, $data);
224 224
         $response = $this->client->getResponse();
225 225
 
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         {
247 247
             "comment": "A_NEW_REVIEW_COMMENT"
248 248
         }
249
-EOT;
249
+eot;
250 250
 
251 251
         $this->client->request('PATCH', $this->getReviewUrl($product, $productReview), [], [], static::$authorizedHeaderWithContentType, $data);
252 252
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.
tests/Controller/ChannelApiTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
             "defaultLocale": "en_US",
130 130
             "enabled": true
131 131
         }
132
-EOT;
132
+eot;
133 133
 
134 134
         $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data);
135 135
 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             "skippingPaymentStepAllowed": true,
169 169
             "accountVerificationRequired": false
170 170
         }
171
-EOT;
171
+eot;
172 172
 
173 173
         $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data);
174 174
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             "hostname": "localhost",
226 226
             "taxCalculationStrategy": "order_items_based"
227 227
         }
228
-EOT;
228
+eot;
229 229
 
230 230
         $this->client->request('PUT', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data);
231 231
 
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
             "color": "black",
285 285
             "enabled": false
286 286
         }
287
-EOT;
287
+eot;
288 288
 
289 289
         $this->client->request('PATCH', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data);
290 290
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@
 block discarded – undo
299 299
 
300 300
     /**
301 301
      * @param string $attributeName
302
-     * @param string|array $selector
302
+     * @param string $selector
303 303
      *
304 304
      * @return bool
305 305
      *
Please login to merge, or discard this patch.
spec/EventListener/SelectProductAttributeChoiceRemoveListenerSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,6 @@
 block discarded – undo
17 17
 use Doctrine\ORM\Event\LifecycleEventArgs;
18 18
 use Doctrine\ORM\UnitOfWork;
19 19
 use Mockery;
20
-use Mockery\Mock;
21 20
 use Mockery\MockInterface;
22 21
 use PhpSpec\ObjectBehavior;
23 22
 use Sylius\Component\Attribute\AttributeType\SelectAttributeType;
Please login to merge, or discard this patch.
src/Sylius/Bundle/ResourceBundle/Controller/Parameters.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
     /**
21 21
      * {@inheritdoc}
22
+     * @param string $path
22 23
      */
23 24
     public function get($path, $default = null)
24 25
     {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ReviewBundle/spec/Updater/AverageRatingUpdaterSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@
 block discarded – undo
17 17
 use PhpSpec\ObjectBehavior;
18 18
 use Sylius\Bundle\ReviewBundle\Updater\ReviewableRatingUpdaterInterface;
19 19
 use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface;
20
-use Sylius\Component\Review\Model\ReviewableInterface;
21 20
 use Sylius\Component\Review\Model\ReviewInterface;
21
+use Sylius\Component\Review\Model\ReviewableInterface;
22 22
 
23 23
 final class AverageRatingUpdaterSpec extends ObjectBehavior
24 24
 {
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Filesystem/FilesystemInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     /**
48 48
      * Checks the existence of files or directories.
49 49
      *
50
-     * @param string|array|\Traversable $files A filename, an array of files, or a \Traversable instance to check
50
+     * @param string $files A filename, an array of files, or a \Traversable instance to check
51 51
      *
52 52
      * @return bool true if the file exists, false otherwise
53 53
      */
Please login to merge, or discard this patch.
ThemeBundle/spec/Configuration/Test/TestThemeConfigurationManagerSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 
14 14
 namespace spec\Sylius\Bundle\ThemeBundle\Configuration\Test;
15 15
 
16
-use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory;
17
-use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper;
18 16
 use PhpSpec\ObjectBehavior;
19 17
 use Sylius\Bundle\ThemeBundle\Configuration\ConfigurationProcessorInterface;
20 18
 use Sylius\Bundle\ThemeBundle\Configuration\Test\TestThemeConfigurationManagerInterface;
19
+use org\bovigo\vfs\vfsStreamDirectory as VfsStreamDirectory;
20
+use org\bovigo\vfs\vfsStreamWrapper as VfsStreamWrapper;
21 21
 
22 22
 final class TestThemeConfigurationManagerSpec extends ObjectBehavior
23 23
 {
Please login to merge, or discard this patch.