Completed
Pull Request — 1.9 (#190)
by Ivan
21:53 queued 10:29
created
src/OroCRM/Bundle/CaseBundle/Entity/CaseComment.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     }
73 73
 
74 74
     /**
75
-     * @return CaseEntity|null
75
+     * @return CaseEntity
76 76
      */
77 77
     public function getCase()
78 78
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @return Contact|null
94
+     * @return Contact
95 95
      */
96 96
     public function getContact()
97 97
     {
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/ChannelBundle/Autocomplete/ChannelLimitationHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 
16 16
     /**
17 17
      * @param string $entityName
18
-     * @param array  $properties
18
+     * @param string[]  $properties
19 19
      * @param string $channelRelationName
20 20
      * @param string $channelSearchPropertyName
21 21
      */
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Entity/LifetimeValueHistory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @return bool
94
+     * @return string
95 95
      */
96 96
     public function getStatus()
97 97
     {
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.
src/OroCRM/Bundle/ChannelBundle/Form/Handler/ChannelHandler.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     /**
105 105
      * Returns form instance
106 106
      *
107
-     * @return FormInterface
107
+     * @return \Symfony\Component\Form\FormView
108 108
      */
109 109
     public function getFormView()
110 110
     {
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.
ChannelBundle/Migrations/Data/ORM/AbstractDefaultChannelDataFixture.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -6,16 +6,12 @@
 block discarded – undo
6 6
 use Doctrine\DBAL\Connection;
7 7
 use Doctrine\ORM\QueryBuilder;
8 8
 use Doctrine\ORM\EntityManager;
9
-use Doctrine\Common\Util\ClassUtils;
10 9
 use Doctrine\Common\DataFixtures\AbstractFixture;
11 10
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
12
-
13 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
14 12
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
15
-
16 13
 use Oro\Bundle\BatchBundle\ORM\Query\QueryCountCalculator;
17 14
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
18
-
19 15
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
20 16
 
21 17
 abstract class AbstractDefaultChannelDataFixture extends AbstractFixture implements
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Provider/MetadataProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,10 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Provider;
4 4
 
5 5
 use Symfony\Component\Routing\RouterInterface;
6
-
7 6
 use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface;
8 7
 use Oro\Bundle\EntityExtendBundle\EntityConfig\ExtendScope;
9 8
 use Oro\Bundle\EntityBundle\Provider\EntityProvider;
10 9
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
11
-use Oro\Bundle\EntityConfigBundle\Entity\EntityConfigModel;
12 10
 
13 11
 class MetadataProvider implements MetadataProviderInterface
14 12
 {
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Provider/RequestChannelProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @return Channel|bool
44
+     * @return null|Channel
45 45
      */
46 46
     protected function getChannelReference()
47 47
     {
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.
Bundle/ChannelBundle/Tests/Functional/Controller/ChannelControllerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,10 +3,7 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Tests\Functional\Controller;
4 4
 
5 5
 use Symfony\Component\Form\Form;
6
-
7 6
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
8
-use Oro\Bundle\OrganizationBundle\Entity\Organization;
9
-use Oro\Bundle\OrganizationBundle\Migrations\Data\ORM\LoadOrganizationAndBusinessUnitData;
10 7
 
11 8
 /**
12 9
  * @outputBuffering enabled
Please login to merge, or discard this patch.
Bundle/ChannelBundle/Tests/Functional/Fixture/LoadLifetimeHistoryData.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      * @param string        $name
72 72
      * @param \DateTime     $created
73 73
      *
74
-     * @return mixed
74
+     * @return null|\OroCRM\Bundle\ChannelBundle\Entity\Channel
75 75
      */
76 76
     protected function ensureChannelCreated(EntityManager $em, $name, \DateTime $created)
77 77
     {
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,15 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\ORM\EntityRepository;
7
-
8 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10
-
11 9
 use Oro\Bundle\OrganizationBundle\Entity\BusinessUnit;
12 10
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
13 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
14 12
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
15
-
16 13
 use Oro\Bundle\UserBundle\Entity\UserManager;
17 14
 use Oro\Bundle\UserBundle\Entity\User;
18 15
 
Please login to merge, or discard this patch.