Completed
Push — 1.1-csrf-token-user ( e22bcb...d4c2fb )
by Kamil
17:31
created
Sylius/Component/Attribute/spec/AttributeType/TextareaAttributeTypeSpec.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
 use Sylius\Component\Attribute\AttributeType\TextareaAttributeType;
20 20
 use Sylius\Component\Attribute\Model\AttributeInterface;
21 21
 use Sylius\Component\Attribute\Model\AttributeValueInterface;
22
-use Symfony\Component\Validator\Constraints\NotBlank;
23 22
 use Symfony\Component\Validator\ConstraintViolationInterface;
24 23
 use Symfony\Component\Validator\ConstraintViolationListInterface;
24
+use Symfony\Component\Validator\Constraints\NotBlank;
25 25
 use Symfony\Component\Validator\Context\ExecutionContextInterface;
26 26
 use Symfony\Component\Validator\Validator\ValidatorInterface;
27 27
 use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface;
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/spec/AttributeType/TextAttributeTypeSpec.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,10 @@
 block discarded – undo
19 19
 use Sylius\Component\Attribute\AttributeType\TextAttributeType;
20 20
 use Sylius\Component\Attribute\Model\AttributeInterface;
21 21
 use Sylius\Component\Attribute\Model\AttributeValueInterface;
22
-use Symfony\Component\Validator\Constraints\Length;
23
-use Symfony\Component\Validator\Constraints\NotBlank;
24 22
 use Symfony\Component\Validator\ConstraintViolationInterface;
25 23
 use Symfony\Component\Validator\ConstraintViolationListInterface;
24
+use Symfony\Component\Validator\Constraints\Length;
25
+use Symfony\Component\Validator\Constraints\NotBlank;
26 26
 use Symfony\Component\Validator\Context\ExecutionContextInterface;
27 27
 use Symfony\Component\Validator\Validator\ValidatorInterface;
28 28
 use Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface;
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/Grid/Data/DataSourceInterface.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
      * @param mixed $expression
25 25
      * @param string $condition
26
+     * @return void
26 27
      */
27 28
     public function restrict($expression, string $condition = self::CONDITION_AND): void;
28 29
 
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/Repository/RepositoryInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -31,11 +31,13 @@
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param ResourceInterface $resource
34
+     * @return void
34 35
      */
35 36
     public function add(ResourceInterface $resource): void;
36 37
 
37 38
     /**
38 39
      * @param ResourceInterface $resource
40
+     * @return void
39 41
      */
40 42
     public function remove(ResourceInterface $resource): void;
41 43
 }
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.
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
@@ -15,9 +15,9 @@
 block discarded – undo
15 15
 
16 16
 use PhpSpec\ObjectBehavior;
17 17
 use Sylius\Component\Resource\Repository\RepositoryInterface;
18
-use Sylius\Component\Taxation\Model\TaxableInterface;
19 18
 use Sylius\Component\Taxation\Model\TaxCategoryInterface;
20 19
 use Sylius\Component\Taxation\Model\TaxRateInterface;
20
+use Sylius\Component\Taxation\Model\TaxableInterface;
21 21
 use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface;
22 22
 
23 23
 final class TaxRateResolverSpec extends ObjectBehavior
Please login to merge, or discard this patch.