@@ -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 |
@@ -136,6 +136,10 @@ |
||
136 | 136 | $this->assertInstanceOf('\DateTime', $this->entity->getUpdatedAt()); |
137 | 137 | } |
138 | 138 | |
139 | + /** |
|
140 | + * @param string $entityClass |
|
141 | + * @param string $entityShortName |
|
142 | + */ |
|
139 | 143 | protected function assertCollectionMethods($entityClass, $entityShortName) |
140 | 144 | { |
141 | 145 | $addMethodName = 'add' . $entityShortName; |
@@ -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,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,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,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 |
@@ -155,7 +155,7 @@ |
||
155 | 155 | * @param string $filterType date filter type ('date' or 'datetime') |
156 | 156 | * @param QueryBuilder $queryBuilder |
157 | 157 | * |
158 | - * @return string|bool |
|
158 | + * @return false|string |
|
159 | 159 | */ |
160 | 160 | protected function buildDateCondition(array $options, $fieldName, $filterType, QueryBuilder $queryBuilder) |
161 | 161 | { |
@@ -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 |
@@ -7,14 +7,11 @@ |
||
7 | 7 | use Doctrine\Common\DataFixtures\OrderedFixtureInterface; |
8 | 8 | use Doctrine\Common\Persistence\ObjectManager; |
9 | 9 | use Doctrine\ORM\EntityManager; |
10 | - |
|
11 | 10 | use Oro\Bundle\CurrencyBundle\Entity\MultiCurrency; |
12 | 11 | use Symfony\Component\DependencyInjection\ContainerAwareInterface; |
13 | 12 | use Symfony\Component\DependencyInjection\ContainerInterface; |
14 | - |
|
15 | 13 | use Oro\Bundle\AddressBundle\Entity\Country; |
16 | 14 | use Oro\Bundle\AddressBundle\Entity\Region; |
17 | -use Oro\Bundle\EntityConfigBundle\Config\ConfigManager; |
|
18 | 15 | use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue; |
19 | 16 | use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper; |
20 | 17 | use Oro\Bundle\OrganizationBundle\Entity\Organization; |
@@ -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 |