Completed
Push — 1.8 ( 0c8d1a...06ae0d )
by
unknown
37:56
created
Tests/Unit/Form/DataTransformer/DatasourceDataTransformerTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
 
152 152
     /**
153 153
      * @param bool  $expectedSubmit
154
-     * @param mixed $expectedException
154
+     * @param string|null $expectedException
155 155
      */
156 156
     private function initializeMocks($expectedSubmit, $expectedException)
157 157
     {
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.
OroCRM/Bundle/ChannelBundle/Tests/Unit/Provider/MetadataProviderTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
     }
165 165
 
166 166
     /**
167
-     * @param $index
167
+     * @param integer $index
168 168
      *
169 169
      * @return array
170 170
      */
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/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/ImportExport/Strategy/ContactImportHelper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-     * @param Collection|PrimaryItem[] $entities
72
+     * @param Collection $entities
73 73
      * @return PrimaryItem|null
74 74
      */
75 75
     protected function getPrimaryEntity($entities)
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.