@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\ORM\Proxy\Proxy; |
6 | 6 | use Doctrine\ORM\AbstractQuery; |
7 | - |
|
8 | 7 | use Oro\Bundle\ReminderBundle\Entity\Manager\ReminderManager; |
9 | 8 | |
10 | 9 | abstract class AbstractCalendarEventNormalizer |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\CalendarBundle\Provider; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping\ClassMetadata; |
6 | - |
|
7 | 6 | use Oro\Bundle\CalendarBundle\Entity\Calendar; |
8 | 7 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
9 | 8 | use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
@@ -131,7 +131,7 @@ |
||
131 | 131 | /** |
132 | 132 | * @param array $items |
133 | 133 | * |
134 | - * @return array |
|
134 | + * @return integer[] |
|
135 | 135 | */ |
136 | 136 | protected function getParentEventIds(array $items) |
137 | 137 | { |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | 6 | use Doctrine\Common\Collections\Criteria; |
7 | 7 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
8 | - |
|
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
10 | 9 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock; |
11 | - |
|
12 | 10 | use Oro\Bundle\CalendarBundle\Entity\Repository\CalendarEventRepository; |
13 | 11 | |
14 | 12 | class CalendarEventRepositoryTest extends OrmTestCase |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | 6 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
7 | - |
|
8 | 7 | use Oro\Bundle\CalendarBundle\Entity\Repository\CalendarPropertyRepository; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
10 | 9 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock; |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | 6 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
7 | - |
|
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock; |
10 | - |
|
11 | 9 | use Oro\Bundle\CalendarBundle\Entity\Repository\CalendarRepository; |
12 | 10 | |
13 | 11 | class CalendarRepositoryTest extends OrmTestCase |
@@ -4,10 +4,8 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Common\Annotations\AnnotationReader; |
6 | 6 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
7 | - |
|
8 | 7 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase; |
9 | 8 | use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\Mocks\EntityManagerMock; |
10 | - |
|
11 | 9 | use Oro\Bundle\CalendarBundle\Entity\Repository\SystemCalendarRepository; |
12 | 10 | |
13 | 11 | class SystemCalendarRepositoryTest extends OrmTestCase |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Oro\Bundle\CalendarBundle\Tests\Unit\Form\Handler; |
4 | 4 | |
5 | 5 | use Symfony\Component\HttpFoundation\Request; |
6 | - |
|
7 | 6 | use Oro\Bundle\CalendarBundle\Entity\CalendarEvent; |
8 | 7 | use Oro\Bundle\CalendarBundle\Form\Handler\CalendarEventApiHandler; |
9 | 8 | use Oro\Bundle\CalendarBundle\Tests\Unit\ReflectionUtil; |
@@ -5,11 +5,8 @@ |
||
5 | 5 | use Symfony\Component\Form\AbstractType; |
6 | 6 | use Symfony\Component\Form\PreloadedExtension; |
7 | 7 | use Symfony\Component\Form\Test\TypeTestCase; |
8 | - |
|
9 | 8 | use Doctrine\Common\Collections\ArrayCollection; |
10 | - |
|
11 | 9 | use Genemu\Bundle\FormBundle\Form\JQuery\Type\Select2Type; |
12 | - |
|
13 | 10 | use Oro\Bundle\CalendarBundle\Entity\Calendar; |
14 | 11 | use Oro\Bundle\CalendarBundle\Entity\CalendarEvent; |
15 | 12 | use Oro\Bundle\FormBundle\Form\Type\CollectionType; |