Completed
Push — master ( 9fc944...74d39c )
by
unknown
08:52
created
src/Oro/Bundle/SalesBundle/Controller/Api/Rest/OpportunityController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,15 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\ORM\EntityRepository;
7
-
8 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10
-
11 9
 use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;
12 10
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
13 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
14 12
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
15
-
16 13
 use Oro\Bundle\UserBundle\Entity\UserManager;
17 14
 use Oro\Bundle\UserBundle\Entity\User;
18 15
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Controller/Api/Rest/SalesFunnelController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,15 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\ORM\EntityRepository;
7
-
8 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10
-
11 9
 use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;
12 10
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
13 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
14 12
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
15
-
16 13
 use Oro\Bundle\UserBundle\Entity\UserManager;
17 14
 use Oro\Bundle\UserBundle\Entity\User;
18 15
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Controller/Dashboard/DashboardController.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\TestFrameworkBundle\Tests\Performance;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
-
7 6
 use Symfony\Component\HttpKernel\Kernel;
8 7
 use Symfony\Component\DependencyInjection\Container;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
11 9
 
12 10
 class LoadTest extends WebTestCase
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Controller/LeadAddressController.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\TestFrameworkBundle\Tests\Performance;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
-
7 6
 use Symfony\Component\HttpKernel\Kernel;
8 7
 use Symfony\Component\DependencyInjection\Container;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
11 9
 
12 10
 class LoadTest extends WebTestCase
Please login to merge, or discard this patch.
Oro/Bundle/SalesBundle/Dashboard/Provider/OpportunityByStatusProvider.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\TestFrameworkBundle\Tests\Performance;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Console\Application;
6
-
7 6
 use Symfony\Component\HttpKernel\Kernel;
8 7
 use Symfony\Component\DependencyInjection\Container;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
11 9
 
12 10
 class LoadTest extends WebTestCase
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Entity/Lead.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1197,7 +1197,7 @@  discard block
 block discarded – undo
1197 1197
      *
1198 1198
      * This method could not be named setPhones because of bug CRM-253.
1199 1199
      *
1200
-     * @param Collection|LeadPhone[] $phones
1200
+     * @param LeadPhone[] $phones
1201 1201
      *
1202 1202
      * @return Lead
1203 1203
      */
@@ -1306,7 +1306,7 @@  discard block
 block discarded – undo
1306 1306
     /**
1307 1307
      * Set emails.
1308 1308
      **
1309
-     * @param Collection|LeadEmail[] $emails
1309
+     * @param LeadEmail[] $emails
1310 1310
      *
1311 1311
      * @return Lead
1312 1312
      */
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,17 +2,13 @@
 block discarded – undo
2 2
 
3 3
 namespace Oro\Bundle\SalesBundle\Entity;
4 4
 
5
-use Doctrine\ORM\Event\LifecycleEventArgs;
6 5
 use Doctrine\ORM\Mapping as ORM;
7 6
 use Doctrine\Common\Collections\Collection;
8 7
 use Doctrine\Common\Collections\ArrayCollection;
9
-
10 8
 use Oro\Bundle\AddressBundle\Entity\AbstractAddress;
11
-use Oro\Bundle\EmailBundle\Entity\EmailOwnerInterface;
12 9
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
13 10
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
14 11
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField;
15
-use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
16 12
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
17 13
 use Oro\Bundle\UserBundle\Entity\User;
18 14
 use Oro\Bundle\LocaleBundle\Model\FullNameInterface;
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Entity/Opportunity.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
     }
492 492
 
493 493
     /**
494
-     * @param MultiCurrency $budgetAmount|null
494
+     * @param MultiCurrency $budgetAmount
495 495
      * @return Opportunity
496 496
      */
497 497
     public function setBudgetAmount(MultiCurrency $budgetAmount = null)
@@ -761,7 +761,7 @@  discard block
 block discarded – undo
761 761
     }
762 762
 
763 763
     /**
764
-     * @param MultiCurrency $closeRevenue|null
764
+     * @param MultiCurrency $closeRevenue
765 765
      * @return Opportunity
766 766
      */
767 767
     public function setCloseRevenue(MultiCurrency $closeRevenue = null)
Please login to merge, or discard this 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 Symfony\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Entity/Repository/LeadRepository.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 Symfony\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SalesBundle/Entity/Repository/OpportunityRepository.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 Symfony\Component\Validator\Constraint;
6 6
 use Symfony\Component\Validator\ConstraintValidator;
7
-
8 7
 use OroCRM\Bundle\TaskBundle\Validator\Constraints\DueDateRequired;
9 8
 use OroCRM\Bundle\TaskBundle\Entity\Task;
10 9
 
Please login to merge, or discard this patch.