Completed
Push — master ( 5f0b1e...535b09 )
by
unknown
11:50 queued 12s
created
src/OroCRM/Bundle/ContactBundle/Controller/GroupController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -2,15 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\Bundle\ContactBundle\Controller;
4 4
 
5
-use Symfony\Component\HttpFoundation\Request;
6 5
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7
-
8 6
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
9 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
10
-
11 8
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
12
-use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
13
-
14 9
 use OroCRM\Bundle\ContactBundle\Entity\Group;
15 10
 
16 11
 /**
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ContactBundle/Entity/Repository/ContactRepository.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ContactBundle\Entity\Repository;
4 4
 
5 5
 use Doctrine\ORM\EntityRepository;
6
-use Doctrine\ORM\QueryBuilder;
7
-
8 6
 use Oro\Bundle\EmailBundle\Entity\Repository\EmailAwareRepository;
9 7
 
10 8
 class ContactRepository extends EntityRepository implements EmailAwareRepository
Please login to merge, or discard this patch.
OroCRM/Bundle/ContactBundle/ImportExport/Strategy/ContactAddStrategy.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -141,6 +141,7 @@
 block discarded – undo
141 141
 
142 142
     /**
143 143
      * {@inheritdoc}
144
+     * @param Contact $entity
144 145
      */
145 146
     protected function afterProcessEntity($entity)
146 147
     {
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.
OroCRM/Bundle/ContactBundle/Tests/Unit/Form/Handler/ContactHandlerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\Bundle\ContactBundle\Tests\Unit\Form\Handler;
4 4
 
5
-use Doctrine\Common\Persistence\ObjectManager;
6
-
7 5
 use Doctrine\ORM\EntityManagerInterface;
8 6
 use Symfony\Component\Form\FormInterface;
9 7
 use Symfony\Component\HttpFoundation\Request;
10
-
11 8
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
12 9
 use OroCRM\Bundle\AccountBundle\Entity\Account;
13 10
 use OroCRM\Bundle\ContactBundle\Form\Handler\ContactHandler;
Please login to merge, or discard this patch.
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadAccountData.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\Bundle\DemoDataBundle\Migrations\Data\Demo\ORM;
4 4
 
5
-use Symfony\Component\DependencyInjection\ContainerInterface;
6
-use Symfony\Component\DependencyInjection\ContainerAwareInterface;
7
-
8 5
 use Doctrine\Common\Persistence\ObjectManager;
9 6
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
10
-
11 7
 use OroCRM\Bundle\AccountBundle\Entity\Account;
12 8
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
13 9
 
Please login to merge, or discard this patch.
Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadBusinessUnitData.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
     /**
102 102
      * @param EntityManager $manager
103
-     * @param mixed         $object
103
+     * @param BusinessUnit         $object
104 104
      */
105 105
     private function persistAndFlush($manager, $object)
106 106
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
     /**
112 112
      * @param EntityManager $manager
113
-     * @param mixed         $object
113
+     * @param BusinessUnit         $object
114 114
      */
115 115
     private function persist($manager, $object)
116 116
     {
Please login to merge, or discard this 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/OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadLeadsData.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -233,8 +233,8 @@  discard block
 block discarded – undo
233 233
     /**
234 234
      * Persist object
235 235
      *
236
-     * @param mixed $manager
237
-     * @param mixed $object
236
+     * @param EntityManager $manager
237
+     * @param Lead $object
238 238
      */
239 239
     private function persist($manager, $object)
240 240
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     /**
245 245
      * Flush objects
246 246
      *
247
-     * @param mixed $manager
247
+     * @param EntityManager $manager
248 248
      */
249 249
     private function flush($manager)
250 250
     {
Please login to merge, or discard this patch.
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -5,26 +5,20 @@
 block discarded – undo
5 5
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
6 6
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
7 7
 use Symfony\Component\DependencyInjection\ContainerInterface;
8
-
9 8
 use Doctrine\Common\Collections\Collection;
10 9
 use Doctrine\Common\DataFixtures\AbstractFixture;
11 10
 use Doctrine\Common\Persistence\ObjectManager;
12
-
13 11
 use Doctrine\ORM\EntityManager;
14 12
 use Doctrine\ORM\EntityRepository;
15
-
16 13
 use OroCRM\Bundle\AccountBundle\Entity\Account;
17 14
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
18
-
19 15
 use Oro\Bundle\AddressBundle\Entity\Country;
20 16
 use Oro\Bundle\AddressBundle\Entity\Region;
21
-
22 17
 use OroCRM\Bundle\ContactBundle\Entity\ContactAddress;
23 18
 use OroCRM\Bundle\ContactBundle\Entity\ContactEmail;
24 19
 use OroCRM\Bundle\ContactBundle\Entity\ContactPhone;
25 20
 use OroCRM\Bundle\ContactBundle\Entity\Group;
26 21
 use OroCRM\Bundle\ContactBundle\Entity\Source;
27
-
28 22
 use Oro\Bundle\UserBundle\Entity\User;
29 23
 use Oro\Bundle\UserBundle\Entity\UserManager;
30 24
 
Please login to merge, or discard this patch.
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadMagentoData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
      * @param Cart          $cart
243 243
      * @param string        $paymentMethod
244 244
      * @param string        $paymentMethodDetails
245
-     * @param mixed         $origin
245
+     * @param integer         $origin
246 246
      *
247 247
      * @return Order
248 248
      */
Please login to merge, or discard this patch.
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.
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadPintabsData.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     /**
146 146
      * Persist object
147 147
      *
148
-     * @param mixed $manager
148
+     * @param EntityManager $manager
149 149
      * @param mixed $object
150 150
      */
151 151
     private function persist($manager, $object)
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     /**
157 157
      * Flush objects
158 158
      *
159
-     * @param mixed $manager
159
+     * @param EntityManager $manager
160 160
      */
161 161
     private function flush($manager)
162 162
     {
Please login to merge, or discard this 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.