Completed
Push — 1.8 ( 8d6730...a2d9e7 )
by
unknown
42:28
created
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadCampaignData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7 7
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
8
-
9 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
10 9
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
11
-
12 10
 use Oro\Bundle\UserBundle\Entity\User;
13 11
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
14 12
 use Oro\Bundle\SecurityBundle\Authentication\Token\UsernamePasswordOrganizationToken;
Please login to merge, or discard this patch.
OroCRM/Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/LoadChannelData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,10 +5,8 @@
 block discarded – undo
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6 6
 use Doctrine\Common\DataFixtures\AbstractFixture;
7 7
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
8
-
9 8
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
10 9
 use Symfony\Component\DependencyInjection\ContainerInterface;
11
-
12 10
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
13 11
 use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory;
14 12
 use OroCRM\Bundle\SalesBundle\Migrations\Data\ORM\DefaultChannelData;
Please login to merge, or discard this patch.
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   -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
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.