Completed
Push — 1.10 ( 3f8f95...f007bc )
by
unknown
09:16
created
Bundle/SalesBundle/Tests/Functional/Controller/LeadControllersTest.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 Symfony\Component\DomCrawler\Form;
6 6
 use Symfony\Component\DomCrawler\Field\ChoiceFormField;
7 7
 use Symfony\Component\DomCrawler\Field\InputFormField;
8
-
9 8
 use Oro\Bundle\DataGridBundle\Tests\Functional\AbstractDatagridTestCase;
10
-
11 9
 use OroCRM\Bundle\SalesBundle\Tests\Functional\Fixture\LoadSalesBundleFixtures;
12 10
 
13 11
 /**
Please login to merge, or discard this patch.
SalesBundle/Tests/Functional/DataFixtures/LoadB2bCustomerEntitiesData.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\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8 7
 use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer;
9 8
 
10 9
 class LoadB2bCustomerEntitiesData extends AbstractFixture
Please login to merge, or discard this patch.
Tests/Functional/Fixture/LoadCampaignByCloseRevenueWidgetFixture.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
3 3
 
4 4
 use Doctrine\Common\DataFixtures\AbstractFixture;
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use Oro\Bundle\DashboardBundle\Entity\Dashboard;
8 7
 use Oro\Bundle\DashboardBundle\Entity\Widget;
9 8
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
10 9
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
11
-
12 10
 use OroCRM\Bundle\CampaignBundle\Entity\Campaign;
13 11
 use OroCRM\Bundle\SalesBundle\Entity\Lead;
14 12
 use OroCRM\Bundle\SalesBundle\Entity\Opportunity;
Please login to merge, or discard this patch.
SalesBundle/Tests/Functional/Fixture/LoadCampaignLeadsWidgetFixture.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -34,6 +34,10 @@
 block discarded – undo
34 34
         $this->createLead($createdAt, ++$i);
35 35
     }
36 36
 
37
+    /**
38
+     * @param \DateTime $createdAt
39
+     * @param integer $id
40
+     */
37 41
     public function createLead($createdAt, $id)
38 42
     {
39 43
         $lead = new Lead();
Please login to merge, or discard this patch.
Bundle/SalesBundle/Tests/Functional/Fixture/LoadForecastWidgetFixtures.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\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8 7
 use Oro\Bundle\DashboardBundle\Entity\Dashboard;
9 8
 use Oro\Bundle\DashboardBundle\Entity\Widget;
10 9
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
Please login to merge, or discard this patch.
Tests/Functional/Fixture/LoadOpportunityByStatusWidgetFixture.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,8 +36,8 @@
 block discarded – undo
36 36
     }
37 37
 
38 38
     /**
39
-     * @param $createdAt
40
-     * @param $id
39
+     * @param \DateTime $createdAt
40
+     * @param integer $id
41 41
      */
42 42
     protected function createOpportunity($createdAt, $id)
43 43
     {
Please login to merge, or discard this patch.
Tests/Unit/Dashboard/Provider/OpportunityByStatusProviderTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,15 +5,12 @@
 block discarded – undo
5 5
 use Doctrine\ORM\EntityRepository;
6 6
 use Doctrine\ORM\Query;
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use Symfony\Bridge\Doctrine\RegistryInterface;
10
-
11 9
 use Oro\Bundle\DashboardBundle\Filter\DateFilterProcessor;
12 10
 use Oro\Bundle\DashboardBundle\Model\WidgetOptionBag;
13 11
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
14 12
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
15 13
 use Oro\Bundle\UserBundle\Dashboard\OwnerHelper;
16
-
17 14
 use OroCRM\Bundle\SalesBundle\Dashboard\Provider\OpportunityByStatusProvider;
18 15
 
19 16
 class OpportunityByStatusProviderTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
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.