Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
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.
src/OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadEmailData.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
6 6
 use Symfony\Component\DependencyInjection\ContainerInterface;
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\EmailBundle\Model\FolderType;
13 11
 use Oro\Bundle\EmailBundle\Mailer\Processor;
14 12
 use Oro\Bundle\EmailBundle\Builder\EmailEntityBuilder;
@@ -17,7 +15,6 @@  discard block
 block discarded – undo
17 15
 use Oro\Bundle\EmailBundle\Entity\EmailUser;
18 16
 use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken;
19 17
 use Oro\Bundle\UserBundle\Entity\User;
20
-
21 18
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
22 19
 
23 20
 class LoadEmailData extends AbstractFixture implements DependentFixtureInterface, ContainerAwareInterface
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   -6 removed lines patch added patch discarded remove patch
@@ -3,26 +3,20 @@
 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\DependentFixtureInterface;
8 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10 9
 use Doctrine\Common\Collections\Collection;
11 10
 use Doctrine\ORM\EntityManager;
12
-
13 11
 use Oro\Bundle\AddressBundle\Entity\Address;
14 12
 use Oro\Bundle\AddressBundle\Entity\Country;
15 13
 use Oro\Bundle\AddressBundle\Entity\Region;
16
-
17 14
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
18
-
19 15
 use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue;
20 16
 use Oro\Bundle\EntityExtendBundle\Entity\Repository\EnumValueRepository;
21 17
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
22
-
23 18
 use OroCRM\Bundle\SalesBundle\Entity\LeadStatus;
24 19
 use OroCRM\Bundle\SalesBundle\Entity\Lead;
25
-
26 20
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
27 21
 use Oro\Bundle\UserBundle\Entity\User;
28 22
 use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken;
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   -3 removed lines patch added patch discarded remove patch
@@ -5,16 +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 9
 use Symfony\Component\DependencyInjection\ContainerInterface;
11
-
12 10
 use Oro\Bundle\AddressBundle\Entity\Country;
13 11
 use Oro\Bundle\AddressBundle\Entity\Region;
14 12
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
15 13
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
16 14
 use Oro\Bundle\UserBundle\Entity\User;
17
-
18 15
 use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory;
19 16
 use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory;
20 17
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
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.
Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadOpportuniesData.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6 6
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
7
-
8 7
 use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer;
9 8
 use OroCRM\Bundle\SalesBundle\Entity\Opportunity;
10
-
11 9
 use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken;
12
-
13 10
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
14 11
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
15 12
 use Oro\Bundle\UserBundle\Entity\User;
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,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.
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.