Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
Tests/Unit/Dashboard/Provider/WidgetOpportunityByLeadSourceProviderTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,13 +3,10 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\SalesBundle\Tests\Unit\Provider;
4 4
 
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6
-
7 6
 use Symfony\Component\Translation\TranslatorInterface;
8
-
9 7
 use Oro\Bundle\DashboardBundle\Filter\DateFilterProcessor;
10 8
 use Oro\Bundle\EntityExtendBundle\Twig\EnumExtension;
11 9
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
12
-
13 10
 use OroCRM\Bundle\SalesBundle\Dashboard\Provider\WidgetOpportunityByLeadSourceProvider;
14 11
 use OroCRM\Bundle\SalesBundle\Entity\Repository\OpportunityRepository;
15 12
 
Please login to merge, or discard this patch.
Bundle/SalesBundle/Tests/Unit/Form/Type/LeadToOpportunityTypeTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@  discard block
 block discarded – undo
5 5
 use Symfony\Component\Form\FormBuilder;
6 6
 use Symfony\Component\Form\FormEvent;
7 7
 use Symfony\Component\Form\FormView;
8
-
9 8
 use Oro\Bundle\ConfigBundle\Config\ConfigManager;
10 9
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
11 10
 use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue;
@@ -13,7 +12,6 @@  discard block
 block discarded – undo
13 12
 use Oro\Bundle\EntityExtendBundle\Form\Util\EnumTypeHelper;
14 13
 use Oro\Bundle\EntityExtendBundle\Provider\EnumValueProvider;
15 14
 use Oro\Bundle\EntityExtendBundle\Tests\Unit\Fixtures\TestEnumValue;
16
-
17 15
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
18 16
 use OroCRM\Bundle\SalesBundle\Entity\Opportunity;
19 17
 use OroCRM\Bundle\SalesBundle\Form\Type\LeadToOpportunityType;
Please login to merge, or discard this patch.
Bundle/SalesBundle/Tests/Unit/Form/Type/OpportunityProbabilityTypeTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,15 +3,12 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\SalesBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectRepository;
6
-
7 6
 use Symfony\Component\Form\FormBuilderInterface;
8 7
 use Symfony\Component\OptionsResolver\OptionsResolver;
9 8
 use Symfony\Component\Validator\Constraints\Range;
10
-
11 9
 use Oro\Bundle\EntityBundle\ORM\Registry;
12 10
 use Oro\Bundle\EntityExtendBundle\Form\Util\EnumTypeHelper;
13 11
 use Oro\Bundle\EntityExtendBundle\Tests\Unit\Fixtures\TestEnumValue;
14
-
15 12
 use OroCRM\Bundle\SalesBundle\Form\Type\OpportunityProbabilityType;
16 13
 
17 14
 class OpportunityProbabilityTypeTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Bundle/SalesBundle/Tests/Unit/Form/Type/OpportunityStatusConfigTypeTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\SalesBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Metadata\MetadataFactory;
6
-
7 6
 use Symfony\Component\EventDispatcher\EventDispatcher;
8 7
 use Symfony\Component\Form\FormEvent;
9 8
 use Symfony\Component\Form\FormInterface;
10
-
11 9
 use Oro\Bundle\ConfigBundle\Config\ConfigManager;
12 10
 use Oro\Bundle\EntityConfigBundle\Audit\AuditManager;
13 11
 use Oro\Bundle\EntityConfigBundle\Config\ConfigCache;
@@ -15,7 +13,6 @@  discard block
 block discarded – undo
15 13
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager as EntityConfigManager;
16 14
 use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
17 15
 use Oro\Bundle\EntityExtendBundle\Form\EventListener\EnumFieldConfigSubscriber;
18
-
19 16
 use OroCRM\Bundle\SalesBundle\Form\Type\OpportunityStatusConfigType;
20 17
 
21 18
 class OpportunityStatusConfigTypeTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
SalesBundle/Tests/Unit/Form/Type/OpportunityStatusEnumValueTypeTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use Symfony\Component\Form\FormEvent;
7 7
 use Symfony\Component\Form\FormInterface;
8 8
 use Symfony\Component\Validator\Constraints\Range;
9
-
10 9
 use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
11
-
12 10
 use OroCRM\Bundle\SalesBundle\Form\Type\OpportunityStatusEnumValueType;
13 11
 
14 12
 class OpportunityStatusEnumValueTypeTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Tests/Unit/Model/ChangeLeadStatusTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\SalesBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Symfony\Component\Validator\Validator\ValidatorInterface;
6
-
7 6
 use Doctrine\ORM\EntityManager;
8 7
 use Doctrine\ORM\ORMInvalidArgumentException;
9
-
10 8
 use OroCRM\Bundle\SalesBundle\Model\ChangeLeadStatus;
11 9
 use OroCRM\Bundle\SalesBundle\Tests\Unit\Fixture\LeadStub;
12 10
 
Please login to merge, or discard this patch.
Bundle/SalesBundle/Tests/Unit/Provider/ForecastOfOpportunitiesTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\SalesBundle\Tests\Unit\Provider;
4 4
 
5 5
 use Symfony\Component\Translation\TranslatorInterface;
6
-
7 6
 use Oro\Bundle\DashboardBundle\Helper\DateHelper;
8 7
 use Oro\Bundle\DashboardBundle\Model\WidgetOptionBag;
9 8
 use Oro\Bundle\DashboardBundle\Provider\Converters\FilterDateRangeConverter;
@@ -11,7 +10,6 @@  discard block
 block discarded – undo
11 10
 use Oro\Bundle\LocaleBundle\Formatter\NumberFormatter;
12 11
 use Oro\Bundle\LocaleBundle\Formatter\DateTimeFormatter;
13 12
 use Oro\Bundle\UserBundle\Dashboard\OwnerHelper;
14
-
15 13
 use OroCRM\Bundle\SalesBundle\Provider\Opportunity\ForecastProvider;
16 14
 use OroCRM\Bundle\SalesBundle\Provider\ForecastOfOpportunities;
17 15
 
Please login to merge, or discard this patch.
SalesBundle/Tests/Unit/Provider/SalesFunnelEntityNameProviderTest.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 Oro\Bundle\EntityBundle\Provider\EntityNameProviderInterface;
6 6
 use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink;
7
-
8 7
 use OroCRM\Bundle\SalesBundle\Entity\Lead;
9 8
 use OroCRM\Bundle\SalesBundle\Entity\SalesFunnel;
10 9
 use OroCRM\Bundle\SalesBundle\Provider\SalesFunnelEntityNameProvider;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/CaseBundle/EventListener/SearchIndexDataListener.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Oro\Bundle\SearchBundle\Engine\ObjectMapper;
7 7
 use Oro\Bundle\SearchBundle\Event\PrepareEntityMapEvent;
8 8
 use Oro\Bundle\SearchBundle\Query\Query;
9
-
10 9
 use OroCRM\Bundle\CaseBundle\Entity\CaseEntity;
11 10
 
12 11
 /**
Please login to merge, or discard this patch.