Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
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\ChannelBundle\Provider;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Bridge\Doctrine\RegistryInterface;
8 7
 use Symfony\Component\HttpFoundation\Request;
9
-
10 8
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
11 9
 use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface;
12 10
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Provider/StateProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\Common\Cache\Cache;
7
-
8 7
 use Symfony\Bridge\Doctrine\RegistryInterface;
9
-
10 8
 use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink;
11 9
 use Oro\Bundle\SecurityBundle\ORM\Walker\AclHelper;
12 10
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
Please login to merge, or discard this patch.
Tests/Functional/Command/LifetimeAverageAggregateCommandTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Tests\Functional\Command;
4 4
 
5 5
 use Symfony\Component\Yaml\Yaml;
6
-
7 6
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
8
-
9 7
 use OroCRM\Bundle\ChannelBundle\Entity\Repository\LifetimeValueAverageAggregationRepository;
10 8
 
11 9
 /**
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.
src/OroCRM/Bundle/ChannelBundle/Tests/Functional/Fixture/LoadChannel.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8 7
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
9
-
10 8
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
11 9
 
12 10
 class LoadChannel extends AbstractFixture
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Tests/Functional/Fixture/LoadChannels.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8 7
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
9
-
10 8
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
11 9
 
12 10
 class LoadChannels extends AbstractFixture
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
@@ -5,12 +5,9 @@
 block discarded – undo
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
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
-
14 11
 use OroCRM\Bundle\AccountBundle\Entity\Account;
15 12
 use OroCRM\Bundle\ChannelBundle\Builder\BuilderFactory;
16 13
 use OroCRM\Bundle\ChannelBundle\Entity\LifetimeValueHistory;
Please login to merge, or discard this patch.
ChannelBundle/Tests/Unit/EventListener/ChannelDoctrineListenerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,14 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\Bundle\ChannelBundle\Tests\Unit\EventListener;
4 4
 
5
-use Doctrine\ORM\Event\OnClearEventArgs;
6 5
 use Doctrine\ORM\UnitOfWork;
7 6
 use Doctrine\ORM\EntityManager;
8 7
 use Doctrine\ORM\Event\OnFlushEventArgs;
9 8
 use Doctrine\ORM\Event\PostFlushEventArgs;
10
-
11 9
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
12
-
13 10
 use OroCRM\Bundle\ChannelBundle\Tests\Unit\Stubs\Entity\Customer;
14 11
 use OroCRM\Bundle\ChannelBundle\EventListener\ChannelDoctrineListener;
15 12
 use OroCRM\Bundle\ChannelBundle\Entity\Repository\LifetimeHistoryRepository;
Please login to merge, or discard this patch.