Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadContactData.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     /**
246 246
      * Persist object
247 247
      *
248
-     * @param mixed $manager
248
+     * @param EntityManager $manager
249 249
      * @param mixed $object
250 250
      */
251 251
     private function persist($manager, $object)
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * Flush objects
258 258
      *
259
-     * @param mixed $manager
259
+     * @param EntityManager $manager
260 260
      */
261 261
     private function flush($manager)
262 262
     {
Please login to merge, or discard this patch.
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -3,27 +3,21 @@
 block discarded – undo
3 3
 
4 4
 use Symfony\Component\DependencyInjection\ContainerInterface;
5 5
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
6
-
7 6
 use Doctrine\Common\DataFixtures\AbstractFixture;
8 7
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10 9
 use Doctrine\Common\Collections\Collection;
11
-
12 10
 use Doctrine\ORM\EntityManager;
13
-
14 11
 use OroCRM\Bundle\AccountBundle\Entity\Account;
15
-
16 12
 use Oro\Bundle\AddressBundle\Entity\Country;
17 13
 use Oro\Bundle\AddressBundle\Entity\Region;
18 14
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
19
-
20 15
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
21 16
 use OroCRM\Bundle\ContactBundle\Entity\Source;
22 17
 use OroCRM\Bundle\ContactBundle\Entity\Group;
23 18
 use OroCRM\Bundle\ContactBundle\Entity\ContactEmail;
24 19
 use OroCRM\Bundle\ContactBundle\Entity\ContactPhone;
25 20
 use OroCRM\Bundle\ContactBundle\Entity\ContactAddress;
26
-
27 21
 use Oro\Bundle\UserBundle\Entity\User;
28 22
 
29 23
 class LoadContactData extends AbstractFixture implements ContainerAwareInterface, DependentFixtureInterface
Please login to merge, or discard this patch.
Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadEmbeddedFormData.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,13 +5,10 @@
 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\ContainerInterface;
10 9
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
11
-
12 10
 use Oro\Bundle\EmbeddedFormBundle\Entity\EmbeddedForm;
13 11
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
14
-
15 12
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
16 13
 use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory;
17 14
 use OroCRM\Bundle\ContactUsBundle\Entity\ContactRequest;
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   -2 removed lines patch added patch discarded remove patch
@@ -4,13 +4,11 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\DependencyInjection\ContainerInterface;
6 6
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
7
-
8 7
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
9 8
 use Doctrine\Common\DataFixtures\AbstractFixture;
10 9
 use Doctrine\Common\Persistence\ObjectManager;
11 10
 use Doctrine\Common\Collections\Collection;
12 11
 use Doctrine\ORM\EntityManager;
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.
Migrations/Data/Demo/ORM/LoadMagentoNewsletterSubscriberData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use Doctrine\Common\DataFixtures\AbstractFixture;
7 7
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
8 8
 use Doctrine\Common\Persistence\ObjectManager;
9
-
10 9
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
11
-
12 10
 use OroCRM\Bundle\MagentoBundle\Entity\Customer;
13 11
 use OroCRM\Bundle\MagentoBundle\Entity\NewsletterSubscriber;
14 12
 
Please login to merge, or discard this patch.
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadPintabsData.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
3 3
 
4 4
 use Symfony\Component\DependencyInjection\ContainerInterface;
5 5
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
6
-
7 6
 use Doctrine\Common\DataFixtures\AbstractFixture;
8 7
 use Doctrine\Common\Persistence\ObjectManager;
9 8
 use Doctrine\ORM\EntityManager;
10 9
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
11
-
12 10
 use Oro\Bundle\UserBundle\Entity\UserManager;
13 11
 use Oro\Bundle\UserBundle\Entity\User;
14 12
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
     /**
246 246
      * Persist object
247 247
      *
248
-     * @param mixed $manager
248
+     * @param EntityManager $manager
249 249
      * @param mixed $object
250 250
      */
251 251
     private function persist($manager, $object)
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     /**
257 257
      * Flush objects
258 258
      *
259
-     * @param mixed $manager
259
+     * @param EntityManager $manager
260 260
      */
261 261
     private function flush($manager)
262 262
     {
Please login to merge, or discard this patch.
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadReportData.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Persist object
93 93
      *
94
-     * @param mixed $manager
95
-     * @param mixed $object
94
+     * @param EntityManager $manager
95
+     * @param Report $object
96 96
      */
97 97
     private function persist($manager, $object)
98 98
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     /**
103 103
      * Flush objects
104 104
      *
105
-     * @param mixed $manager
105
+     * @param EntityManager $manager
106 106
      */
107 107
     private function flush($manager)
108 108
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,8 @@
 block discarded – undo
6 6
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
7 7
 use Oro\Bundle\ReportBundle\Entity\Report;
8 8
 use Oro\Bundle\ReportBundle\Entity\ReportType;
9
-
10 9
 use Doctrine\Common\DataFixtures\AbstractFixture;
11 10
 use Doctrine\Common\Persistence\ObjectManager;
12
-
13 11
 use Doctrine\ORM\EntityManager;
14 12
 
15 13
 class LoadReportData extends AbstractFixture implements DependentFixtureInterface
Please login to merge, or discard this patch.
Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadSalesFunnelData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@
 block discarded – undo
273 273
     /**
274 274
      * Flush objects
275 275
      *
276
-     * @param mixed $manager
276
+     * @param EntityManager $manager
277 277
      */
278 278
     private function flush($manager)
279 279
     {
Please login to merge, or discard this patch.
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,20 +5,16 @@
 block discarded – undo
5 5
 use Symfony\Component\DependencyInjection\ContainerInterface;
6 6
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
7 7
 use Symfony\Component\Security\Core\SecurityContext;
8
-
9 8
 use Doctrine\Common\Collections\Criteria;
10 9
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
11 10
 use Doctrine\Common\DataFixtures\AbstractFixture;
12 11
 use Doctrine\Common\Persistence\ObjectManager;
13 12
 use Doctrine\ORM\EntityManager;
14
-
15 13
 use Oro\Bundle\WorkflowBundle\Model\WorkflowManager;
16 14
 use Oro\Bundle\WorkflowBundle\Entity\WorkflowItem;
17
-
18 15
 use OroCRM\Bundle\SalesBundle\Entity\Lead;
19 16
 use OroCRM\Bundle\SalesBundle\Entity\Opportunity;
20 17
 use OroCRM\Bundle\SalesBundle\Entity\SalesFunnel;
21
-
22 18
 use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken;
23 19
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
24 20
 use Oro\Bundle\UserBundle\Entity\User;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadUserData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 
133 133
     /**
134 134
      * @param ObjectManager $manager
135
-     * @param $name
135
+     * @param string $name
136 136
      * @return BusinessUnit
137 137
      */
138 138
     protected function getBusinessUnit(ObjectManager $manager, $name)
Please login to merge, or discard this 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\Persistence\ObjectManager;
8 8
 use Doctrine\ORM\EntityRepository;
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\DataAuditBundle\Tests\Unit\Fixture\Repository\UserRepository;
15 13
 use Oro\Bundle\TagBundle\Entity\TagManager;
16 14
 use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadUsersData.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      * @param  string    $firstName
130 130
      * @param  string    $lastName
131 131
      * @param  \DateTime $birthday
132
-     * @param  mixed     $role
132
+     * @param  Role     $role
133 133
      * @return User
134 134
      */
135 135
     private function createUser($username, $email, $firstName, $lastName, $birthday, $role)
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * Persist object
257 257
      *
258
-     * @param  mixed $object
258
+     * @param  User $object
259 259
      * @return void
260 260
      */
261 261
     private function persist($object)
@@ -274,7 +274,7 @@  discard block
 block discarded – undo
274 274
     }
275 275
 
276 276
     /**
277
-     * @param $name
277
+     * @param string $name
278 278
      * @return BusinessUnit
279 279
      */
280 280
     protected function getBusinessUnit($name)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 use Doctrine\ORM\EntityManager;
5 5
 use Symfony\Component\DependencyInjection\ContainerInterface;
6 6
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
7
-
8 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10 9
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
11
-
12 10
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
13 11
 use Oro\Bundle\UserBundle\Entity\Role;
14 12
 use Oro\Bundle\UserBundle\Entity\UserManager;
Please login to merge, or discard this patch.