Completed
Push — 1.8 ( 8d6730...a2d9e7 )
by
unknown
42:28
created
src/OroCRM/Bundle/AnalyticsBundle/EventListener/RFMCategoryListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AnalyticsBundle/Form/Extension/ChannelTypeExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -254,7 +254,7 @@
 block discarded – undo
254 254
     }
255 255
 
256 256
     /**
257
-     * @return callable
257
+     * @return \Closure
258 258
      */
259 259
     protected function getValidationGroups()
260 260
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,14 +5,12 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Bundle/AnalyticsBundle/Tests/Functional/DataFixtures/LoadChannelData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Bundle/AnalyticsBundle/Tests/Functional/DataFixtures/LoadEntitiesData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AnalyticsBundle/Tests/Unit/Builder/RFMBuilderTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Tests/Unit/DependencyInjection/CompilerPass/AnalyticsBuilderPassTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Tests/Unit/DependencyInjection/CompilerPass/RFMBuilderPassTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Bundle/AnalyticsBundle/Tests/Unit/EventListener/RFMCategoryListenerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
AnalyticsBundle/Tests/Unit/Form/Extension/ChannelTypeExtensionTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.