Completed
Push — 1.3-make-js-behat-faster ( 85e122 )
by Kamil
09:41
created
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.
src/Sylius/Component/Core/spec/Model/ProductVariantSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@
 block discarded – undo
26 26
 use Sylius\Component\Resource\Model\VersionedInterface;
27 27
 use Sylius\Component\Shipping\Model\ShippableInterface;
28 28
 use Sylius\Component\Shipping\Model\ShippingCategoryInterface;
29
-use Sylius\Component\Taxation\Model\TaxableInterface;
30 29
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
30
+use Sylius\Component\Taxation\Model\TaxableInterface;
31 31
 
32 32
 final class ProductVariantSpec extends ObjectBehavior
33 33
 {
Please login to merge, or discard this patch.
src/Sylius/Component/Registry/PrioritizedServiceRegistryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
      *
27 27
      * @throws ExistingServiceException
28 28
      * @throws \InvalidArgumentException
29
+     * @return void
29 30
      */
30 31
     public function register($service, int $priority = 0): void;
31 32
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
      * @param object $service
34 35
      *
35 36
      * @throws NonExistingServiceException
37
+     * @return void
36 38
      */
37 39
     public function unregister($service): void;
38 40
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/spec/Repository/InMemoryRepositorySpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,11 +15,11 @@
 block discarded – undo
15 15
 
16 16
 use Pagerfanta\Pagerfanta;
17 17
 use PhpSpec\ObjectBehavior;
18
-use spec\Sylius\Component\Resource\Fixtures\SampleBookResourceInterface;
19 18
 use Sylius\Component\Resource\Exception\UnexpectedTypeException;
20 19
 use Sylius\Component\Resource\Model\ResourceInterface;
21 20
 use Sylius\Component\Resource\Repository\Exception\ExistingResourceException;
22 21
 use Sylius\Component\Resource\Repository\RepositoryInterface;
22
+use spec\Sylius\Component\Resource\Fixtures\SampleBookResourceInterface;
23 23
 
24 24
 require_once __DIR__ . '/../Fixtures/SampleBookResourceInterface.php';
25 25
 
Please login to merge, or discard this patch.
src/Sylius/Component/Review/spec/Calculator/AverageRatingCalculatorSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,8 +16,8 @@
 block discarded – undo
16 16
 use Doctrine\Common\Collections\ArrayCollection;
17 17
 use PhpSpec\ObjectBehavior;
18 18
 use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface;
19
-use Sylius\Component\Review\Model\ReviewableInterface;
20 19
 use Sylius\Component\Review\Model\ReviewInterface;
20
+use Sylius\Component\Review\Model\ReviewableInterface;
21 21
 
22 22
 final class AverageRatingCalculatorSpec extends ObjectBehavior
23 23
 {
Please login to merge, or discard this patch.