Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
Tests/Functional/EventListener/B2bCustomerLifetimeListenerTest.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\Functional\EventListner;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
8 7
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
9
-
10 8
 use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer;
11 9
 use OroCRM\Bundle\SalesBundle\Entity\Opportunity;
12
-use OroCRM\Bundle\SalesBundle\Entity\OpportunityStatus;
13 10
 
14 11
 /**
15 12
  * @outputBuffering enabled
Please login to merge, or discard this patch.
OroCRM/Bundle/CaseBundle/Migrations/Data/Demo/ORM/LoadCaseEntityData.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -6,11 +6,8 @@
 block discarded – undo
6 6
 use Doctrine\Common\DataFixtures\AbstractFixture;
7 7
 use Doctrine\Common\Persistence\ObjectManager;
8 8
 use Doctrine\ORM\EntityManager;
9
-
10 9
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
11
-use Symfony\Component\DependencyInjection\ContainerInterface;
12 10
 use Symfony\Component\DependencyInjection\ContainerAwareTrait;
13
-
14 11
 use OroCRM\Bundle\CaseBundle\Entity\CaseComment;
15 12
 use OroCRM\Bundle\CaseBundle\Entity\CaseEntity;
16 13
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
Please login to merge, or discard this patch.
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadMagentoData.php 2 patches
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,17 +5,13 @@
 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\DependencyInjection\ContainerAwareInterface;
10
-use Symfony\Component\DependencyInjection\ContainerInterface;
11 9
 use Symfony\Component\DependencyInjection\ContainerAwareTrait;
12
-
13 10
 use Oro\Bundle\AddressBundle\Entity\Country;
14 11
 use Oro\Bundle\AddressBundle\Entity\Region;
15 12
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
16 13
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
17 14
 use Oro\Bundle\UserBundle\Entity\User;
18
-
19 15
 use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory;
20 16
 use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory;
21 17
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -307,13 +307,12 @@  discard block
 block discarded – undo
307 307
     /**
308 308
      * @param ObjectManager $om
309 309
      * @param Store         $store
310
-     * @param Integration   $integration
311 310
      * @param Customer      $customer
312 311
      * @param string        $status
313 312
      * @param Cart          $cart
314 313
      * @param string        $paymentMethod
315 314
      * @param string        $paymentMethodDetails
316
-     * @param mixed         $origin
315
+     * @param integer         $origin
317 316
      *
318 317
      * @return Order
319 318
      */
@@ -529,7 +528,6 @@  discard block
 block discarded – undo
529 528
 
530 529
     /**
531 530
      * @param ObjectManager $om
532
-     * @param Website       $website
533 531
      * @param Store         $store
534 532
      * @param CustomerGroup $group
535 533
      * @param Channel       $channel
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AccountBundle/Entity/Account.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     /**
230 230
      * Returns the account unique id.
231 231
      *
232
-     * @return mixed
232
+     * @return integer
233 233
      */
234 234
     public function getId()
235 235
     {
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
     /**
317 317
      * Get contacts collection
318 318
      *
319
-     * @return Collection|Contact[]
319
+     * @return Collection
320 320
      */
321 321
     public function getContacts()
322 322
     {
Please login to merge, or discard this 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\AccountBundle\Entity;
4 4
 
5 5
 use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
6
-
7 6
 use Doctrine\Common\Collections\ArrayCollection;
8 7
 use Doctrine\Common\Collections\Collection;
9 8
 use Doctrine\ORM\Mapping as ORM;
10
-
11 9
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
12 10
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
13 11
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
@@ -15,7 +13,6 @@  discard block
 block discarded – undo
15 13
 use Oro\Bundle\LocaleBundle\Model\NameInterface;
16 14
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
17 15
 use Oro\Bundle\UserBundle\Entity\User;
18
-
19 16
 use OroCRM\Bundle\AccountBundle\Model\ExtendAccount;
20 17
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
21 18
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ContactBundle/Entity/Contact.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1012,7 +1012,7 @@  discard block
 block discarded – undo
1012 1012
      *
1013 1013
      * This method could not be named setEmails because of bug CRM-253.
1014 1014
      *
1015
-     * @param Collection|ContactEmail[] $emails
1015
+     * @param ContactEmail[] $emails
1016 1016
      *
1017 1017
      * @return Contact
1018 1018
      */
@@ -1134,7 +1134,7 @@  discard block
 block discarded – undo
1134 1134
      *
1135 1135
      * This method could not be named setPhones because of bug CRM-253.
1136 1136
      *
1137
-     * @param Collection|ContactPhone[] $phones
1137
+     * @param ContactPhone[] $phones
1138 1138
      *
1139 1139
      * @return Contact
1140 1140
      */
Please login to merge, or discard this 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\ContactBundle\Entity;
4 4
 
5 5
 use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
6
-
7 6
 use Doctrine\Common\Collections\ArrayCollection;
8 7
 use Doctrine\Common\Collections\Collection;
9 8
 use Doctrine\ORM\Mapping as ORM;
10
-
11 9
 use Oro\Bundle\AddressBundle\Entity\AbstractAddress;
12 10
 use Oro\Bundle\AddressBundle\Entity\AddressType;
13 11
 use Oro\Bundle\BusinessEntitiesBundle\Entity\BasePerson;
@@ -17,7 +15,6 @@  discard block
 block discarded – undo
17 15
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField;
18 16
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
19 17
 use Oro\Bundle\UserBundle\Entity\User;
20
-
21 18
 use OroCRM\Bundle\AccountBundle\Entity\Account;
22 19
 use OroCRM\Bundle\ContactBundle\Entity\ContactAddress;
23 20
 use OroCRM\Bundle\ContactBundle\Model\ExtendContact;
Please login to merge, or discard this patch.
src/OroCRM/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   -5 removed lines patch added patch discarded remove patch
@@ -2,24 +2,19 @@
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\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 9
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
12
-use Oro\Bundle\EmailBundle\Entity\EmailOwnerInterface;
13 10
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
14 11
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
15 12
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\ConfigField;
16
-use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
17 13
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
18 14
 use Oro\Bundle\UserBundle\Entity\User;
19 15
 use Oro\Bundle\LocaleBundle\Model\FullNameInterface;
20 16
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
21 17
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowStep;
22
-
23 18
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
24 19
 use OroCRM\Bundle\SalesBundle\Model\ExtendLead;
25 20
 use OroCRM\Bundle\ChannelBundle\Model\ChannelEntityTrait;
Please login to merge, or discard this patch.
Bundle/ChannelBundle/Controller/Api/Rest/CustomerSearchController.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -83,6 +83,7 @@
 block discarded – undo
83 83
 
84 84
     /**
85 85
      * {@inheritdoc}
86
+     * @param string $methodName
86 87
      */
87 88
     protected function getSupportedQueryParameters($methodName)
88 89
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,14 +3,11 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Controller\Api\Rest;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Response;
6
-
7 6
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
8
-
9 7
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
10 8
 use FOS\RestBundle\Controller\Annotations\RouteResource;
11 9
 use FOS\RestBundle\Controller\Annotations\Get;
12 10
 use FOS\RestBundle\Controller\Annotations\QueryParam;
13
-
14 11
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestGetController;
15 12
 use Oro\Bundle\SoapBundle\Request\Parameters\Filter\StringToArrayParameterFilter;
16 13
 use OroCRM\Bundle\ChannelBundle\Entity\Manager\CustomerSearchApiEntityManager;
Please login to merge, or discard this patch.
Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadTrackingWebsiteData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 
115 115
     /**
116 116
      * @param ObjectManager $om
117
-     * @param array $websites
117
+     * @param TrackingWebsite[] $websites
118 118
      *
119 119
      * @return TrackingEventDictionary[]
120 120
      */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,17 +5,14 @@
 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\DependencyInjection\ContainerAwareInterface;
10 9
 use Symfony\Component\DependencyInjection\ContainerAwareTrait;
11
-
12 10
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
13 11
 use Oro\Bundle\TrackingBundle\Entity\TrackingEvent;
14 12
 use Oro\Bundle\TrackingBundle\Entity\TrackingEventDictionary;
15 13
 use Oro\Bundle\TrackingBundle\Entity\TrackingVisit;
16 14
 use Oro\Bundle\TrackingBundle\Entity\TrackingVisitEvent;
17 15
 use Oro\Bundle\TrackingBundle\Entity\TrackingWebsite;
18
-
19 16
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
20 17
 use OroCRM\Bundle\MagentoBundle\Provider\ChannelType;
21 18
 use OroCRM\Bundle\MagentoBundle\Provider\TrackingCustomerIdentification as TCI;
Please login to merge, or discard this patch.
Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadUsersCalendarData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -328,7 +328,7 @@
 block discarded – undo
328 328
      *
329 329
      * Returns the list of recurring events.
330 330
      *
331
-     * @return array
331
+     * @return CalendarEvent[]
332 332
      */
333 333
     protected function getRecurringEvents()
334 334
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,9 @@
 block discarded – undo
8 8
 use Doctrine\Common\Persistence\ObjectManager;
9 9
 use Doctrine\ORM\EntityManager;
10 10
 use Doctrine\ORM\EntityRepository;
11
-
12 11
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
13 12
 use Symfony\Component\DependencyInjection\ContainerInterface;
14 13
 use Symfony\Component\Security\Core\SecurityContext;
15
-
16 14
 use Oro\Bundle\CalendarBundle\Entity\Calendar;
17 15
 use Oro\Bundle\CalendarBundle\Entity\CalendarEvent;
18 16
 use Oro\Bundle\CalendarBundle\Entity\CalendarProperty;
Please login to merge, or discard this patch.