@@ -7,11 +7,8 @@ |
||
7 | 7 | use Symfony\Component\Console\Input\InputOption; |
8 | 8 | use Symfony\Component\Console\Output\OutputInterface; |
9 | 9 | use Symfony\Component\HttpKernel\Bundle\BundleInterface; |
10 | - |
|
11 | 10 | use Doctrine\Common\DataFixtures\Executor\ORMExecutor; |
12 | - |
|
13 | 11 | use Oro\Bundle\MigrationBundle\Migration\Loader\DataFixturesLoader; |
14 | -use Oro\Bundle\SearchBundle\EventListener\OrmIndexListener; |
|
15 | 12 | |
16 | 13 | class LoadDataFixturesCommand extends ContainerAwareCommand |
17 | 14 | { |
@@ -4,16 +4,12 @@ |
||
4 | 4 | |
5 | 5 | use Symfony\Component\Translation\TranslatorInterface; |
6 | 6 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
7 | - |
|
8 | 7 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
9 | 8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
10 | - |
|
11 | 9 | use Knp\Menu\Iterator\RecursiveItemIterator; |
12 | 10 | use Knp\Menu\ItemInterface; |
13 | 11 | use Knp\Menu\MenuItem; |
14 | - |
|
15 | 12 | use Oro\Bundle\NavigationBundle\Provider\BuilderChainProvider; |
16 | -use Oro\Bundle\SecurityBundle\Annotation\Acl; |
|
17 | 13 | |
18 | 14 | /** |
19 | 15 | * @Route("/shortcut") |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Add children nodes to menu |
41 | 41 | * |
42 | - * @param $node NodeBuilder |
|
42 | + * @param NodeBuilder $node NodeBuilder |
|
43 | 43 | * @return Configuration |
44 | 44 | * |
45 | 45 | * @SuppressWarnings(PHPMD.ExcessiveMethodLength) |
@@ -3,7 +3,6 @@ |
||
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; |
@@ -42,7 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * Find navigation item |
44 | 44 | * |
45 | - * @param $params |
|
45 | + * @param integer $params |
|
46 | 46 | * @return object|null |
47 | 47 | */ |
48 | 48 | abstract public function findItem($params); |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Increment positions of Pinbar tabs for specified user |
54 | 54 | * |
55 | - * @param User|integer $user |
|
55 | + * @param User $user |
|
56 | 56 | * @param int $navigationItemId |
57 | 57 | * @param Organization $organization |
58 | 58 | * |
@@ -3,7 +3,6 @@ |
||
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; |
@@ -146,7 +146,7 @@ |
||
146 | 146 | /** |
147 | 147 | * Returns is title not changed in db |
148 | 148 | * |
149 | - * @return bool |
|
149 | + * @return string |
|
150 | 150 | */ |
151 | 151 | public function getIsSystem() |
152 | 152 | { |
@@ -147,7 +147,7 @@ |
||
147 | 147 | * Match routes |
148 | 148 | * |
149 | 149 | * @param array $routes |
150 | - * @param $route |
|
150 | + * @param string $route |
|
151 | 151 | * @return bool |
152 | 152 | */ |
153 | 153 | protected function match(array $routes, $route) |
@@ -3,7 +3,6 @@ |
||
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; |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * @param string $suffix |
143 | 143 | * @param bool $isJSON |
144 | 144 | * @param bool $isShort |
145 | - * @return $this |
|
145 | + * @return string |
|
146 | 146 | */ |
147 | 147 | public function render( |
148 | 148 | $params = [], |
@@ -454,6 +454,7 @@ discard block |
||
454 | 454 | * |
455 | 455 | * @param $title |
456 | 456 | * @param $route |
457 | + * @return string |
|
457 | 458 | */ |
458 | 459 | protected function getShortTitle($title, $route) |
459 | 460 | { |
@@ -4,16 +4,13 @@ |
||
4 | 4 | |
5 | 5 | use Oro\Bundle\WorkflowBundle\Model\ContextAccessor; |
6 | 6 | use Symfony\Component\Form\Test\FormIntegrationTestCase; |
7 | - |
|
8 | 7 | use Oro\Bundle\WorkflowBundle\Form\EventListener\DefaultValuesListener; |
9 | 8 | use Oro\Bundle\WorkflowBundle\Form\EventListener\InitActionsListener; |
10 | 9 | use Oro\Bundle\WorkflowBundle\Form\EventListener\RequiredAttributesListener; |
11 | 10 | use Oro\Bundle\WorkflowBundle\Form\Type\WorkflowAttributesType; |
12 | - |
|
13 | 11 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem; |
14 | 12 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep; |
15 | 13 | use Oro\Bundle\WorkflowBundle\Entity\WorkflowDefinition; |
16 | - |
|
17 | 14 | use Oro\Bundle\WorkflowBundle\Model\Step; |
18 | 15 | use Oro\Bundle\WorkflowBundle\Model\Attribute; |
19 | 16 | use Oro\Bundle\WorkflowBundle\Model\WorkflowData; |
@@ -2,9 +2,7 @@ |
||
2 | 2 | namespace Oro\Bundle\NavigationBundle\Tests\Unit\Menu; |
3 | 3 | |
4 | 4 | use Oro\Bundle\NavigationBundle\Menu\BreadcrumbManager; |
5 | - |
|
6 | 5 | use Knp\Menu\MenuItem; |
7 | -use Oro\Bundle\NavigationBundle\Menu\ConfigurationBuilder; |
|
8 | 6 | use Oro\Bundle\NavigationBundle\Provider\BuilderChainProvider; |
9 | 7 | |
10 | 8 | class BreadcrumbManagerTest extends \PHPUnit_Framework_TestCase |