Completed
Push — master ( e32eeb...714cda )
by
unknown
89:50 queued 46:29
created
src/Oro/Bundle/UserBundle/Tests/Unit/EventListener/RoleListenerTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
     /**
86 86
      * @param object $entity
87 87
      * @param bool $duplicate
88
-     * @return \PHPUnit_Framework_MockObject_MockObject|LifecycleEventArgs
88
+     * @return LifecycleEventArgs
89 89
      */
90 90
     protected function getPrePersistEvent($entity, $duplicate = false)
91 91
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Oro\Component\PropertyAccess\Tests\Unit;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\Exception\NoSuchPropertyException;
6
-
7 6
 use Oro\Component\PropertyAccess\PropertyAccessor;
8 7
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClass;
9 8
 use Oro\Component\PropertyAccess\Tests\Unit\Fixtures\TestClassMagicCall;
Please login to merge, or discard this patch.
src/Oro/Bundle/WindowsBundle/DependencyInjection/Configuration.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 Symfony\Component\Config\Definition\Builder\TreeBuilder;
6 6
 use Symfony\Component\Config\Definition\ConfigurationInterface;
7
-use Symfony\Component\Config\Definition\Builder\NodeBuilder;
8 7
 
9 8
 class Configuration implements ConfigurationInterface
10 9
 {
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Controller/WorkflowController.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * @AclAncestor("oro_workflow")
29 29
      * @param string $workflowName
30 30
      * @param string $transitionName
31
-     * @return array
31
+     * @return \Symfony\Component\HttpFoundation\Response
32 32
      */
33 33
     public function startTransitionAction($workflowName, $transitionName)
34 34
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * @AclAncestor("oro_workflow")
78 78
      * @param string $transitionName
79 79
      * @param WorkflowItem $workflowItem
80
-     * @return array
80
+     * @return \Symfony\Component\HttpFoundation\Response
81 81
      */
82 82
     public function transitionAction($transitionName, WorkflowItem $workflowItem)
83 83
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,11 +7,8 @@
 block discarded – undo
7 7
 use Oro\Bundle\WorkflowBundle\Event\StartTransitionEvent;
8 8
 use Oro\Bundle\WorkflowBundle\Event\StartTransitionEvents;
9 9
 use Oro\Bundle\WorkflowBundle\Model\WorkflowManager;
10
-
11 10
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
12 11
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
13
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
14
-
15 12
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
16 13
 
17 14
 /**
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Entity/ProcessTrigger.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@
 block discarded – undo
355 355
     }
356 356
 
357 357
     /**
358
-     * @return array
358
+     * @return string[]
359 359
      */
360 360
     public static function getAllowedEvents()
361 361
     {
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\EventManager;
6 6
 use Doctrine\DBAL\Driver\Connection;
7
-
8 7
 use Symfony\Component\Filesystem\Filesystem;
9
-
10 8
 use Oro\Component\TestUtils\ORM\Mocks\DriverMock;
11 9
 use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock;
12 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Entity/WorkflowEntityAcl.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
     }
167 167
 
168 168
     /**
169
-     * @return mixed
169
+     * @return string
170 170
      */
171 171
     public function getEntityClass()
172 172
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/Action/CreateRelatedEntity.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     }
81 81
 
82 82
     /**
83
-     * @param mixed $context
83
+     * @param WorkflowItem $context
84 84
      * @param object $entity
85 85
      * @param array $parameters
86 86
      */
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\EventManager;
6 6
 use Doctrine\DBAL\Driver\Connection;
7
-
8 7
 use Symfony\Component\Filesystem\Filesystem;
9
-
10 8
 use Oro\Component\TestUtils\ORM\Mocks\DriverMock;
11 9
 use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock;
12 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/AttributeAssembler.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 
166 166
     /**
167 167
      * @param Attribute $attribute
168
-     * @param string|array $optionNames
168
+     * @param string $optionNames
169 169
      * @throws AssemblerException If attribute is invalid
170 170
      */
171 171
     protected function assertAttributeHasOptions(Attribute $attribute, $optionNames)
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
     /**
185 185
      * @param Attribute $attribute
186
-     * @param string|array $optionNames
186
+     * @param string $optionNames
187 187
      * @throws AssemblerException If attribute is invalid
188 188
      */
189 189
     protected function assertAttributeHasNoOptions(Attribute $attribute, $optionNames)
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\EventManager;
6 6
 use Doctrine\DBAL\Driver\Connection;
7
-
8 7
 use Symfony\Component\Filesystem\Filesystem;
9
-
10 8
 use Oro\Component\TestUtils\ORM\Mocks\DriverMock;
11 9
 use Oro\Component\TestUtils\ORM\Mocks\EntityManagerMock;
12 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/WorkflowBundle/Model/StepManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @return Collection|Step[]
58
+     * @return Collection
59 59
      */
60 60
     public function getSteps()
61 61
     {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Get steps sorted by order.
67 67
      *
68
-     * @return Collection|Step[]
68
+     * @return ArrayCollection
69 69
      */
70 70
     public function getOrderedSteps()
71 71
     {
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.