Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
created
Bundle/MarketingListBundle/Validator/ContactInformationColumnValidator.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 Symfony\Component\Validator\Constraint;
7 7
 use Symfony\Component\Validator\ConstraintValidator;
8 8
 use Symfony\Component\Validator\Exception\UnexpectedTypeException;
9
-
10 9
 use Oro\Bundle\QueryDesignerBundle\Model\AbstractQueryDesigner;
11 10
 use OroCRM\Bundle\MarketingListBundle\Model\ContactInformationFieldHelper;
12 11
 use OroCRM\Bundle\MarketingListBundle\Validator\Constraints\ContactInformationColumnConstraint;
Please login to merge, or discard this patch.
OroCRM/Bundle/ReportBundle/Tests/Functional/DataFixtures/LoadLeadsData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,10 +7,8 @@
 block discarded – undo
7 7
 use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
8 8
 use Doctrine\Common\Persistence\ObjectManager;
9 9
 use Doctrine\ORM\EntityManager;
10
-
11 10
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
12 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
13
-
14 12
 use Oro\Bundle\AddressBundle\Entity\Address;
15 13
 use Oro\Bundle\AddressBundle\Entity\Country;
16 14
 use Oro\Bundle\AddressBundle\Entity\Region;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Controller/Api/Rest/B2bCustomerController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,15 +6,12 @@
 block discarded – undo
6 6
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
7 7
 use FOS\RestBundle\Controller\Annotations\QueryParam;
8 8
 use FOS\RestBundle\Controller\Annotations\RouteResource;
9
-
10 9
 use Oro\Bundle\AddressBundle\Utils\AddressApiUtils;
11 10
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
12 11
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
13 12
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
14 13
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
15
-
16 14
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
17
-
18 15
 use Symfony\Component\HttpFoundation\Response;
19 16
 
20 17
 /**
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Controller/Api/Rest/LeadController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,12 +7,9 @@
 block discarded – undo
7 7
 use FOS\RestBundle\Controller\Annotations\RouteResource;
8 8
 use FOS\RestBundle\Routing\ClassResourceInterface;
9 9
 use FOS\RestBundle\Util\Codes;
10
-
11 10
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
12
-
13 11
 use Symfony\Component\Form\FormInterface;
14 12
 use Symfony\Component\HttpFoundation\Response;
15
-
16 13
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
17 14
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
18 15
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Controller/Api/Rest/OpportunityController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,17 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Form\FormInterface;
6 6
 use Symfony\Component\HttpFoundation\Response;
7
-
8 7
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
9 8
 use FOS\RestBundle\Controller\Annotations\RouteResource;
10 9
 use FOS\RestBundle\Controller\Annotations\QueryParam;
11 10
 use FOS\RestBundle\Routing\ClassResourceInterface;
12
-
13 11
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
14
-
15 12
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
16 13
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
17
-
18 14
 use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler;
19 15
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
20 16
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Controller/Api/Rest/SalesFunnelController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,17 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Form\FormInterface;
6 6
 use Symfony\Component\HttpFoundation\Response;
7
-
8 7
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
9 8
 use FOS\RestBundle\Controller\Annotations\RouteResource;
10 9
 use FOS\RestBundle\Controller\Annotations\QueryParam;
11 10
 use FOS\RestBundle\Routing\ClassResourceInterface;
12
-
13 11
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
14
-
15 12
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
16 13
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
17
-
18 14
 use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler;
19 15
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
20 16
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Controller/Dashboard/DashboardController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 use Oro\Bundle\EntityExtendBundle\Twig\EnumExtension;
6 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7 7
 use Symfony\Component\Translation\TranslatorInterface;
8
-
9 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
10 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
11
-
12 10
 use Oro\Bundle\WorkflowBundle\Model\WorkflowManager;
13 11
 use OroCRM\Bundle\SalesBundle\Entity\Repository\SalesFunnelRepository;
14 12
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Entity/Lead.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -962,7 +962,7 @@
 block discarded – undo
962 962
     /**
963 963
      * Get opportunities
964 964
      *
965
-     * @return Opportunity[]
965
+     * @return ArrayCollection
966 966
      */
967 967
     public function getOpportunities()
968 968
     {
Please login to merge, or discard this 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 Doctrine\ORM\Event\LifecycleEventArgs;
6 6
 use Doctrine\ORM\Mapping as ORM;
7 7
 use Doctrine\Common\Collections\ArrayCollection;
8
-
9 8
 use Oro\Bundle\AddressBundle\Entity\Address;
10 9
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
11 10
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
@@ -17,7 +16,6 @@  discard block
 block discarded – undo
17 16
 use Oro\Bundle\LocaleBundle\Model\FullNameInterface;
18 17
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
19 18
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep;
20
-
21 19
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
22 20
 use OroCRM\Bundle\SalesBundle\Model\ExtendLead;
23 21
 use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Entity/Opportunity.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\Event\LifecycleEventArgs;
6 6
 use Doctrine\ORM\Mapping as ORM;
7
-
8 7
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
9 8
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
10 9
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
@@ -13,7 +12,6 @@  discard block
 block discarded – undo
13 12
 use Oro\Bundle\UserBundle\Entity\User;
14 13
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
15 14
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep;
16
-
17 15
 use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait;
18 16
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
19 17
 use OroCRM\Bundle\SalesBundle\Model\ExtendOpportunity;
Please login to merge, or discard this patch.