Completed
Push — 1.10 ( 5930b6...ffb454 )
by
unknown
07:44
created
src/OroCRM/Bundle/ChannelBundle/Command/RecalculateLifetimeCommand.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Symfony\Component\Console\Helper\ProgressHelper;
9 8
 use Symfony\Component\Console\Input\InputInterface;
10 9
 use Symfony\Component\Console\Input\InputOption;
11 10
 use Symfony\Component\Console\Output\OutputInterface;
12 11
 use Symfony\Component\PropertyAccess\PropertyAccess;
13 12
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
14
-
15 13
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
16 14
 
17 15
 abstract class RecalculateLifetimeCommand extends ContainerAwareCommand
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Controller/Api/Rest/ChannelController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -3,16 +3,12 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Controller\Api\Rest;
4 4
 
5 5
 use Doctrine\ORM\EntityNotFoundException;
6
-
7 6
 use Symfony\Component\HttpFoundation\Response;
8
-
9 7
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
10
-
11 8
 use FOS\RestBundle\Util\Codes;
12 9
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
13 10
 use FOS\RestBundle\Controller\Annotations\QueryParam;
14 11
 use FOS\RestBundle\Controller\Annotations\RouteResource;
15
-
16 12
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
17 13
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
18 14
 use Oro\Bundle\SecurityBundle\Exception\ForbiddenException;
@@ -21,7 +17,6 @@  discard block
 block discarded – undo
21 17
 use Oro\Bundle\SoapBundle\Request\Parameters\Filter\BooleanParameterFilter;
22 18
 use Oro\Bundle\SoapBundle\Request\Parameters\Filter\EntityClassParameterFilter;
23 19
 use Oro\Bundle\SoapBundle\Request\Parameters\Filter\StringToArrayParameterFilter;
24
-
25 20
 use OroCRM\Bundle\ChannelBundle\Event\ChannelDeleteEvent;
26 21
 use OroCRM\Bundle\ChannelBundle\Event\ChannelBeforeDeleteEvent;
27 22
 
Please login to merge, or discard this patch.
OroCRM/Bundle/ChannelBundle/Controller/Dashboard/DashboardController.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\ChannelBundle\Controller\Dashboard;
4 4
 
5 5
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
-
7 6
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
8 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
9 8
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Entity/LifetimeValueAverageAggregation.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\ChannelBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface;
8 7
 
9 8
 /**
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
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Entity;
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6
-
7 6
 use OroCRM\Bundle\AccountBundle\Entity\Account;
8 7
 use OroCRM\Bundle\ChannelBundle\Model\ChannelAwareInterface;
9 8
 
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,12 +3,10 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\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 8
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
10 9
 use Symfony\Bridge\Doctrine\RegistryInterface;
11
-
12 10
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
13 11
 use OroCRM\Bundle\ChannelBundle\Event\ChannelSaveEvent;
14 12
 use OroCRM\Bundle\ChannelBundle\Form\Type\ChannelType;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Form/Handler/ChannelIntegrationHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\Form\FormInterface;
7 7
 use Symfony\Component\HttpFoundation\Request;
8 8
 use Symfony\Component\Form\FormFactoryInterface;
9
-
10 9
 use Oro\Bundle\FormBundle\Utils\FormUtils;
11 10
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
12 11
 use Oro\Bundle\IntegrationBundle\Form\Handler\ChannelHandler as IntegrationChannelHandler;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Form/Type/ChannelDatasourceType.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,8 @@
 block discarded – undo
6 6
 use Symfony\Bridge\Doctrine\ManagerRegistry;
7 7
 use Symfony\Component\Form\FormBuilderInterface;
8 8
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
9
-
10 9
 use Oro\Bundle\FormBundle\Form\DataTransformer\EntityToIdTransformer;
11 10
 use Oro\Bundle\FormBundle\Form\DataTransformer\ArrayToJsonTransformer;
12
-
13 11
 use OroCRM\Bundle\ChannelBundle\Form\DataTransformer\DatasourceDataTransformer;
14 12
 
15 13
 class ChannelDatasourceType extends AbstractType
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.