@@ -3,10 +3,8 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
| 8 | 7 | use Symfony\Component\DependencyInjection\Container; |
| 9 | - |
|
| 10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
| 11 | 9 | |
| 12 | 10 | class LoadTest extends WebTestCase |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Validator\Constraint; |
| 6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
| 7 | - |
|
| 8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
| 9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
| 10 | 9 | |
@@ -2,19 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Oro\Bundle\ActivityContactBundle\Command; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\Query; |
|
| 6 | 5 | use Doctrine\ORM\QueryBuilder; |
| 7 | - |
|
| 8 | 6 | use Psr\Log\AbstractLogger; |
| 9 | - |
|
| 10 | 7 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; |
| 11 | 8 | use Symfony\Component\Console\Input\InputInterface; |
| 12 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
| 13 | 10 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 14 | - |
|
| 15 | 11 | use Oro\Component\PropertyAccess\PropertyAccessor; |
| 16 | 12 | use Oro\Component\Log\OutputLogger; |
| 17 | - |
|
| 18 | 13 | use Oro\Bundle\ActivityBundle\Event\ActivityEvent; |
| 19 | 14 | use Oro\Bundle\ActivityListBundle\Entity\ActivityList; |
| 20 | 15 | use Oro\Bundle\ActivityListBundle\Entity\Repository\ActivityListRepository; |
@@ -3,10 +3,8 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
| 8 | 7 | use Symfony\Component\DependencyInjection\Container; |
| 9 | - |
|
| 10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
| 11 | 9 | |
| 12 | 10 | class LoadTest extends WebTestCase |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | 82 | * @param LoggerInterface $logger |
| 83 | - * @param $sql |
|
| 83 | + * @param string $sql |
|
| 84 | 84 | * @param array $parameters |
| 85 | 85 | * @throws \Doctrine\DBAL\DBALException |
| 86 | 86 | */ |
@@ -3,10 +3,8 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\TestFrameworkBundle\Tests\Performance; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Bundle\FrameworkBundle\Console\Application; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\HttpKernel\Kernel; |
| 8 | 7 | use Symfony\Component\DependencyInjection\Container; |
| 9 | - |
|
| 10 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase; |
| 11 | 9 | |
| 12 | 10 | class LoadTest extends WebTestCase |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | /** |
| 60 | 60 | * Return list of supported activity classes |
| 61 | 61 | * |
| 62 | - * @return array |
|
| 62 | + * @return integer[] |
|
| 63 | 63 | */ |
| 64 | 64 | public function getSupportedActivityClasses() |
| 65 | 65 | { |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | /** |
| 70 | 70 | * Check if given entity class is supports |
| 71 | 71 | * |
| 72 | - * @param $activityClass |
|
| 72 | + * @param string $activityClass |
|
| 73 | 73 | * |
| 74 | 74 | * @return bool |
| 75 | 75 | */ |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Validator\Constraint; |
| 6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
| 7 | - |
|
| 8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
| 9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
| 10 | 9 | |
@@ -126,6 +126,7 @@ discard block |
||
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | 128 | * {@inheritdoc} |
| 129 | + * @param Email $activity |
|
| 129 | 130 | */ |
| 130 | 131 | public function getDate($activity) |
| 131 | 132 | { |
@@ -202,7 +203,7 @@ discard block |
||
| 202 | 203 | } |
| 203 | 204 | |
| 204 | 205 | /** |
| 205 | - * @param object $target |
|
| 206 | + * @param EmailHolderInterface $target |
|
| 206 | 207 | * @return string |
| 207 | 208 | */ |
| 208 | 209 | protected function getTargetEmail($target) |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Validator\Constraint; |
| 6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
| 7 | - |
|
| 8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
| 9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
| 10 | 9 | |
@@ -4,15 +4,12 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
| 6 | 6 | use Doctrine\ORM\EntityRepository; |
| 7 | - |
|
| 8 | 7 | use Doctrine\Common\DataFixtures\AbstractFixture; |
| 9 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
| 10 | - |
|
| 11 | 9 | use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit; |
| 12 | 10 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
| 13 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 14 | 12 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
| 15 | - |
|
| 16 | 13 | use Oro\Bundle\UserBundle\Entity\UserManager; |
| 17 | 14 | use Oro\Bundle\UserBundle\Entity\User; |
| 18 | 15 | |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Validator\Constraint; |
| 6 | 6 | use Symfony\Component\Validator\ConstraintValidator; |
| 7 | - |
|
| 8 | 7 | use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired; |
| 9 | 8 | use OroCRM\Bundle\TaskBundle\Entity\Task; |
| 10 | 9 | |