@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\AnalyticsBundle\EventListener; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\Event\OnFlushEventArgs; |
| 6 | - |
|
| 7 | 6 | use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory; |
| 8 | 7 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareInterface; |
| 9 | 8 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMMetricStateManager; |
@@ -254,7 +254,7 @@ |
||
| 254 | 254 | } |
| 255 | 255 | |
| 256 | 256 | /** |
| 257 | - * @return callable |
|
| 257 | + * @return \Closure |
|
| 258 | 258 | */ |
| 259 | 259 | protected function getValidationGroups() |
| 260 | 260 | { |
@@ -5,14 +5,12 @@ |
||
| 5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
| 6 | 6 | use Doctrine\Common\Collections\Criteria; |
| 7 | 7 | use Doctrine\ORM\PersistentCollection; |
| 8 | - |
|
| 9 | 8 | use Symfony\Component\Form\AbstractTypeExtension; |
| 10 | 9 | use Symfony\Component\Form\FormBuilderInterface; |
| 11 | 10 | use Symfony\Component\Form\FormEvent; |
| 12 | 11 | use Symfony\Component\Form\FormEvents; |
| 13 | 12 | use Symfony\Component\Form\FormInterface; |
| 14 | 13 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; |
| 15 | - |
|
| 16 | 14 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
| 17 | 15 | use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory; |
| 18 | 16 | use OroCRM\Bundle\AnalyticsBundle\Form\Type\RFMCategorySettingsType; |
@@ -4,10 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
| 6 | 6 | use Doctrine\Common\Persistence\ObjectManager; |
| 7 | - |
|
| 8 | 7 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareInterface; |
| 9 | 8 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 10 | - |
|
| 11 | 9 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
| 12 | 10 | |
| 13 | 11 | class LoadChannelData extends AbstractFixture |
@@ -5,9 +5,7 @@ |
||
| 5 | 5 | use Doctrine\Common\DataFixtures\AbstractFixture; |
| 6 | 6 | use Doctrine\Common\DataFixtures\DependentFixtureInterface; |
| 7 | 7 | use Doctrine\Common\Persistence\ObjectManager; |
| 8 | - |
|
| 9 | 8 | use Symfony\Component\PropertyAccess\PropertyAccess; |
| 10 | - |
|
| 11 | 9 | use OroCRM\Bundle\ChannelBundle\Entity\Channel; |
| 12 | 10 | use OroCRM\Bundle\MagentoBundle\Entity\Customer; |
| 13 | 11 | |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\AnalyticsBundle\Tests\Unit\Builder; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityRepository; |
| 6 | - |
|
| 7 | 6 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
| 8 | 7 | use OroCRM\Bundle\AnalyticsBundle\Builder\RFMBuilder; |
| 9 | 8 | use OroCRM\Bundle\AnalyticsBundle\Builder\RFMProviderInterface; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\AnalyticsBundle\Tests\Unit\DependencyInjection\CompilerPass; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 6 | - |
|
| 7 | 6 | use OroCRM\Bundle\AnalyticsBundle\DependencyInjection\CompilerPass\AnalyticsBuilderPass; |
| 8 | 7 | |
| 9 | 8 | class AnalyticsBuilderPassTest extends \PHPUnit_Framework_TestCase |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace OroCRM\Bundle\AnalyticsBundle\Tests\Unit\DependencyInjection\CompilerPass; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 6 | - |
|
| 7 | 6 | use OroCRM\Bundle\AnalyticsBundle\DependencyInjection\CompilerPass\RFMBuilderPass; |
| 8 | 7 | |
| 9 | 8 | class RFMBuilderPassTest extends \PHPUnit_Framework_TestCase |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | 6 | use Doctrine\ORM\Event\OnFlushEventArgs; |
| 7 | - |
|
| 8 | 7 | use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory; |
| 9 | 8 | use OroCRM\Bundle\AnalyticsBundle\EventListener\RFMCategoryListener; |
| 10 | 9 | use OroCRM\Bundle\AnalyticsBundle\Model\RFMMetricStateManager; |
@@ -6,10 +6,8 @@ |
||
| 6 | 6 | use Doctrine\ORM\EntityManager; |
| 7 | 7 | use Doctrine\ORM\Mapping\ClassMetadata; |
| 8 | 8 | use Doctrine\ORM\PersistentCollection; |
| 9 | - |
|
| 10 | 9 | use Symfony\Component\Form\FormBuilderInterface; |
| 11 | 10 | use Symfony\Component\Form\FormEvent; |
| 12 | - |
|
| 13 | 11 | use Oro\Bundle\EntityBundle\ORM\DoctrineHelper; |
| 14 | 12 | use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory; |
| 15 | 13 | use OroCRM\Bundle\AnalyticsBundle\Form\Extension\ChannelTypeExtension; |