Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/WorkflowBundle/Model/AttributeManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\Collection;
6 6
 use Doctrine\Common\Collections\ArrayCollection;
7
-
8 7
 use Oro\Bundle\WorkflowBundle\Exception\UnknownAttributeException;
9 8
 
10 9
 class AttributeManager
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/Transition.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\WorkflowBundle\Model;
4 4
 
5 5
 use Doctrine\Common\Collections\Collection;
6
-
7 6
 use Oro\Component\ConfigExpression\ExpressionInterface;
8
-
9 7
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
10 8
 use Oro\Bundle\WorkflowBundle\Exception\ForbiddenTransitionException;
11 9
 use Oro\Bundle\WorkflowBundle\Model\Action\ActionInterface;
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/TransitionAssembler.php 1 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\Collection;
6 6
 use Doctrine\Common\Collections\ArrayCollection;
7
-
8 7
 use Oro\Component\ConfigExpression\ExpressionFactory as ConditionFactory;
9
-
10 8
 use Oro\Bundle\WorkflowBundle\Configuration\WorkflowConfiguration;
11 9
 use Oro\Bundle\WorkflowBundle\Exception\AssemblerException;
12 10
 use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowTransitionType;
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/TransitionManager.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\Collection;
6 6
 use Doctrine\Common\Collections\ArrayCollection;
7
-
8 7
 use Oro\Bundle\WorkflowBundle\Exception\InvalidTransitionException;
9 8
 
10 9
 class TransitionManager
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/WorkflowData.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Get mapped field path by field name.
63 63
      *
64
-     * @param string|PropertyPathInterface $propertyPath
65
-     * @return null|string
64
+     * @param string $propertyPath
65
+     * @return PropertyPathInterface
66 66
      */
67 67
     protected function getMappedPath($propertyPath)
68 68
     {
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * Get property path for array as first accessor.
82 82
      *
83 83
      * @param string $path
84
-     * @return string
84
+     * @return PropertyPath
85 85
      */
86 86
     protected function getConstructedPropertyPath($path)
87 87
     {
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
 
327 327
     /**
328 328
      * @param Proxy $entity
329
-     * @return object|Proxy|null
329
+     * @return null|Proxy
330 330
      */
331 331
     protected function extractProxyEntity(Proxy $entity)
332 332
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Persistence\Proxy;
6 6
 use Doctrine\ORM\EntityNotFoundException;
7
-
8 7
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
9
-use Symfony\Component\PropertyAccess\PropertyAccess;
10 8
 use Symfony\Component\PropertyAccess\PropertyPath;
11 9
 use Symfony\Component\PropertyAccess\PropertyPathInterface;
12
-
13 10
 use Oro\Component\PropertyAccess\PropertyAccessor;
14 11
 
15 12
 class WorkflowData implements \ArrayAccess, \IteratorAggregate, \Countable
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/WorkflowManager.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6 6
 use Doctrine\Common\Collections\Collection;
7 7
 use Doctrine\ORM\EntityManager;
8
-
9 8
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
10 9
 use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface;
11 10
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -360,7 +360,7 @@
 block discarded – undo
360 360
     }
361 361
 
362 362
     /**
363
-     * @param $entityClass
363
+     * @param string $entityClass
364 364
      * @return ConfigInterface
365 365
      * @throws WorkflowException
366 366
      */
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Serializer/Handler/WorkflowResultHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use JMS\Serializer\JsonSerializationVisitor;
6 6
 use JMS\Serializer\Context;
7
-
8 7
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
9 8
 use Oro\Bundle\WorkflowBundle\Model\WorkflowResult;
10 9
 
Please login to merge, or discard this patch.
Tests/Functional/Controller/Api/Rest/WorkflowControllerTest.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -211,6 +211,7 @@
 block discarded – undo
211 211
     /**
212 212
      * @param string
213 213
      * @param string|null $workflowName
214
+     * @param string $entityClass
214 215
      */
215 216
     protected function assertActiveWorkflow($entityClass, $workflowName)
216 217
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\WorkflowBundle\Tests\Functional\Controller\Api\Rest;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Oro\Bundle\TestFrameworkBundle\Entity\WorkflowAwareEntity;
8 7
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
9
-
10 8
 use Oro\Bundle\WorkflowBundle\Tests\Functional\DataFixtures\LoadWorkflowDefinitions;
11 9
 use Oro\Bundle\WorkflowBundle\Model\WorkflowManager;
12 10
 
Please login to merge, or discard this patch.
Tests/Functional/Entity/Repository/ProcessJobRepositoryTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6 6
 use Doctrine\ORM\EntityManager;
7
-
8 7
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
9 8
 use Oro\Bundle\UserBundle\Entity\User;
10 9
 use Oro\Bundle\WorkflowBundle\Entity\ProcessDefinition;
Please login to merge, or discard this patch.