Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/FormBundle/Form/EventListener/CollectionTypeSubscriber.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use Symfony\Component\Form\FormEvent;
7 7
 use Symfony\Component\Form\FormEvents;
8 8
 use Symfony\Component\EventDispatcher\EventSubscriberInterface;
9
-
10 9
 use Doctrine\Common\Collections\Collection;
11
-
12 10
 use Oro\Bundle\FormBundle\Entity\EmptyItem;
13 11
 
14 12
 class CollectionTypeSubscriber implements EventSubscriberInterface
Please login to merge, or discard this patch.
Oro/Bundle/FormBundle/Form/Extension/JsValidation/ConstraintsProvider.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\FormBundle\Form\Extension\JsValidation;
4 4
 
5 5
 use Symfony\Component\Form\FormInterface;
6
-
7 6
 use Symfony\Component\Validator\Constraint;
8 7
 use Symfony\Component\Validator\Mapping\ClassMetadata;
9 8
 use Symfony\Component\Validator\MetadataFactoryInterface;
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Form/Extension/JsValidationExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
      * Gets constraint name based on object
146 146
      *
147 147
      * @param Constraint $constraint
148
-     * @return mixed|string
148
+     * @return string
149 149
      */
150 150
     protected function getConstraintName(Constraint $constraint)
151 151
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\Form\FormView;
7 7
 use Symfony\Component\Form\FormInterface;
8 8
 use Symfony\Component\Validator\Constraint;
9
-
10 9
 use Oro\Bundle\FormBundle\Form\Extension\JsValidation\ConstraintsProvider;
11 10
 
12 11
 class JsValidationExtension extends AbstractTypeExtension
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Form/Handler/ApiFormHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\FormBundle\Form\Handler;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use Symfony\Component\Form\FormInterface;
8 7
 use Symfony\Component\HttpFoundation\Request;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Form/Twig/DataBlockRenderer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\FormBundle\Form\Twig;
4 4
 
5 5
 use Symfony\Component\Form\FormView;
6
-
7 6
 use Oro\Bundle\FormBundle\Form\Builder\DataBlockBuilder;
8 7
 
9 8
 class DataBlockRenderer
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Form/Type/DecoratorApiType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\Form\FormBuilderInterface;
7 7
 use Symfony\Component\Form\FormTypeInterface;
8 8
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
9
-
10 9
 use Oro\Bundle\SoapBundle\Form\EventListener\PatchSubscriber;
11 10
 
12 11
 /**
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Form/Type/OroMoneyType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Symfony\Component\Form\FormView;
8 8
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
9 9
 use Symfony\Component\Validator\Constraints\LessThan;
10
-
11 10
 use Oro\Bundle\LocaleBundle\Model\LocaleSettings;
12 11
 use Oro\Bundle\LocaleBundle\Formatter\NumberFormatter;
13 12
 
Please login to merge, or discard this patch.
ImportExport/Serializer/Normalizer/PrimaryItemCollectionNormalizer.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      *
19 19
      * @param Collection $object object to normalize
20 20
      * @param mixed $format
21
-     * @param array $context
21
+     * @param string[] $context
22 22
      * @return array
23 23
      */
24 24
     public function normalize($object, $format = null, array $context = array())
@@ -41,10 +41,10 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Denormalizes and sets primary to first element
43 43
      *
44
-     * @param mixed $data
44
+     * @param string[] $data
45 45
      * @param string $class
46 46
      * @param null $format
47
-     * @param array $context
47
+     * @param string[] $context
48 48
      * @return ArrayCollection
49 49
      */
50 50
     public function denormalize($data, $class, $format = null, array $context = array())
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\Common\Collections\Collection;
7
-
8 7
 use Oro\Bundle\ImportExportBundle\Serializer\Normalizer\CollectionNormalizer;
9
-
10 8
 use Oro\Bundle\FormBundle\Entity\PrimaryItem;
11 9
 
12 10
 class PrimaryItemCollectionNormalizer extends CollectionNormalizer
Please login to merge, or discard this patch.
src/Oro/Bundle/FormBundle/Model/UpdateHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     }
64 64
 
65 65
     /**
66
-     * @param object $entity
66
+     * @param \stdClass $entity
67 67
      * @param FormInterface $form
68 68
      * @param array|callable $saveAndStayRoute
69 69
      * @param array|callable $saveAndCloseRoute
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Symfony\Component\HttpFoundation\Request;
8 8
 use Symfony\Component\HttpFoundation\Session\Session;
9 9
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
10
-
11 10
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
12 11
 use Oro\Bundle\UIBundle\Route\Router;
13 12
 use Oro\Bundle\FormBundle\Event\FormHandler\AfterFormProcessEvent;
Please login to merge, or discard this patch.