Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
Bundle/ContactUsBundle/Migrations/Schema/v1_4/OroCRMContactUsBundle.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ContactUsBundle\Migrations\Schema\v1_4;
4 4
 
5 5
 use Doctrine\DBAL\Schema\Schema;
6
-
7 6
 use Oro\Bundle\EntityExtendBundle\Migration\OroOptions;
8 7
 use Oro\Bundle\MigrationBundle\Migration\Migration;
9 8
 use Oro\Bundle\MigrationBundle\Migration\QueryBag;
Please login to merge, or discard this patch.
ContactUsBundle/Tests/Functional/Fixtures/LoadContactUsBundleFixtures.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8 7
 use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory;
9 8
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
10 9
 use OroCRM\Bundle\ContactUsBundle\Entity\ContactRequest;
11
-
12 10
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
13 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
14 12
 
Please login to merge, or discard this patch.
ContactUsBundle/Tests/Unit/Form/Handler/ContactRequestHandlerTest.php 1 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\ContactUsBundle\Tests\Unit\Form\Handler;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Component\Form\FormInterface;
8 7
 use Symfony\Component\HttpFoundation\Request;
9
-
10 8
 use OroCRM\Bundle\ContactUsBundle\Entity\ContactRequest;
11 9
 use OroCRM\Bundle\ContactUsBundle\Form\Handler\ContactRequestHandler;
12 10
 
Please login to merge, or discard this patch.
OroCRM/Bundle/ContactUsBundle/Validator/ContactRequestCallbackValidator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ContactUsBundle\Validator;
4 4
 
5 5
 use Symfony\Component\Validator\Context\ExecutionContextInterface;
6
-
7 6
 use OroCRM\Bundle\ContactUsBundle\Entity\ContactRequest;
8 7
 
9 8
 class ContactRequestCallbackValidator
Please login to merge, or discard this patch.
Bundle/DemoDataBundle/Migrations/Data/Demo/ORM/AbstractDemoFixture.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      * @param string $countryCode ISO2 code
79 79
      * @param string $code        region code
80 80
      *
81
-     * @return null|Region
81
+     * @return Region
82 82
      */
83 83
     protected function getRegionReference($countryCode, $code)
84 84
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\Common\DataFixtures\AbstractFixture;
7
-
8 7
 use Symfony\Component\DependencyInjection\ContainerInterface;
9 8
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
10
-
11 9
 use Oro\Bundle\UserBundle\Entity\User;
12 10
 use Oro\Bundle\AddressBundle\Entity\Region;
13 11
 use Oro\Bundle\AddressBundle\Entity\Country;
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/LoadB2bCustomerData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6 6
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
7
-
8 7
 use Oro\Bundle\AddressBundle\Entity\Address;
9 8
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
10
-
11 9
 use OroCRM\Bundle\AccountBundle\Entity\Account;
12 10
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
13 11
 use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer;
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,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\EntityRepository;
10 9
 use Doctrine\ORM\EntityManager;
11
-
12 10
 use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;
13 11
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
14 12
 
Please login to merge, or discard this patch.
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.