Completed
Push — 1.10 ( 5930b6...ffb454 )
by
unknown
07:44
created
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.
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.
Bundle/AnalyticsBundle/Tests/Unit/Validator/CategoriesValidatorTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@
 block discarded – undo
270 270
     }
271 271
 
272 272
     /**
273
-     * @param array $items
273
+     * @param RFMMetricCategory[] $items
274 274
      *
275 275
      * @return PersistentCollection
276 276
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 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\Validator\ExecutionContextInterface;
11
-
12 10
 use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory;
13 11
 use OroCRM\Bundle\AnalyticsBundle\Validator\CategoriesConstraint;
14 12
 use OroCRM\Bundle\AnalyticsBundle\Validator\CategoriesValidator;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AnalyticsBundle/Validator/CategoriesValidator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * Validate collection.
20 20
      *
21
-     * @param PersistentCollection|RFMMetricCategory[] $value
21
+     * @param PersistentCollection $value
22 22
      * @param CategoriesConstraint $constraint
23 23
      *
24 24
      * {@inheritdoc}
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 use Doctrine\Common\Collections\Collection;
6 6
 use Doctrine\Common\Collections\Criteria;
7 7
 use Doctrine\ORM\PersistentCollection;
8
-
9 8
 use Symfony\Component\Validator\Constraint;
10 9
 use Symfony\Component\Validator\ConstraintValidator;
11
-
12 10
 use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory;
13 11
 
14 12
 class CategoriesValidator extends ConstraintValidator
Please login to merge, or discard this patch.
Bundle/CampaignBundle/Command/CalculateTrackingEventSummaryCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\CampaignBundle\Command;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
8 7
 use Symfony\Component\Console\Input\InputInterface;
9 8
 use Symfony\Component\Console\Output\OutputInterface;
10
-
11 9
 use Oro\Bundle\CronBundle\Command\CronCommandInterface;
12 10
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
13 11
 use OroCRM\Bundle\CampaignBundle\Entity\Campaign;
Please login to merge, or discard this patch.