Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
ChannelBundle/Tests/Unit/EventListener/TimezoneChangeListenerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,11 +5,8 @@
 block discarded – undo
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\EntityRepository;
7 7
 use Doctrine\Common\Persistence\ManagerRegistry;
8
-
9 8
 use JMS\JobQueueBundle\Entity\Job;
10
-
11 9
 use Oro\Bundle\ConfigBundle\Event\ConfigUpdateEvent;
12
-
13 10
 use OroCRM\Bundle\ChannelBundle\Command\LifetimeAverageAggregateCommand;
14 11
 use OroCRM\Bundle\ChannelBundle\EventListener\TimezoneChangeListener;
15 12
 
Please login to merge, or discard this patch.
Tests/Unit/Form/DataTransformer/DatasourceDataTransformerTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
 
152 152
     /**
153 153
      * @param bool  $expectedSubmit
154
-     * @param mixed $expectedException
154
+     * @param string|null $expectedException
155 155
      */
156 156
     private function initializeMocks($expectedSubmit, $expectedException)
157 157
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Symfony\Component\Form\FormError;
6 6
 use Symfony\Component\Form\FormFactoryInterface;
7 7
 use Symfony\Component\PropertyAccess\PropertyAccess;
8
-
9 8
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
10
-
11 9
 use OroCRM\Bundle\ChannelBundle\Form\DataTransformer\DatasourceDataTransformer;
12 10
 
13 11
 class DatasourceDataTransformerTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
ChannelBundle/Tests/Unit/Form/EventListener/ChannelTypeSubscriberTest.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\Tests\Unit\Form\EventListener;
4 4
 
5 5
 use Genemu\Bundle\FormBundle\Form\JQuery\Type\Select2Type;
6
-
7 6
 use Symfony\Component\Form\FormEvent;
8 7
 use Symfony\Component\Form\FormEvents;
9 8
 use Symfony\Component\Form\PreloadedExtension;
10 9
 use Symfony\Component\Form\Test\FormIntegrationTestCase;
11
-
12 10
 use OroCRM\Bundle\ChannelBundle\Form\Type\ChannelEntityType;
13 11
 use OroCRM\Bundle\ChannelBundle\Form\Type\ChannelType;
14 12
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
Please login to merge, or discard this patch.
OroCRM/Bundle/ChannelBundle/Tests/Unit/Form/Handler/ChannelHandlerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\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\Form\FormView;
9 8
 use Symfony\Component\HttpFoundation\Request;
10 9
 use Symfony\Bridge\Doctrine\RegistryInterface;
11 10
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
12
-
13 11
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
14 12
 use OroCRM\Bundle\ChannelBundle\Event\ChannelSaveEvent;
15 13
 use OroCRM\Bundle\ChannelBundle\Form\Handler\ChannelHandler;
Please login to merge, or discard this patch.
ChannelBundle/Tests/Unit/Form/Handler/ChannelIntegrationHandlerTest.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\Component\Form\FormView;
7 7
 use Symfony\Component\Form\FormInterface;
8 8
 use Symfony\Component\HttpFoundation\Request;
9
-
10 9
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
11 10
 use Oro\Bundle\IntegrationBundle\Form\Handler\ChannelHandler as IntegrationChannelHandler;
12
-
13 11
 use OroCRM\Bundle\ChannelBundle\Form\Handler\ChannelIntegrationHandler;
14 12
 
15 13
 class ChannelIntegrationHandlerTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Bundle/ChannelBundle/Tests/Unit/Form/Type/ChannelDatasourceTypeTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ChannelBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Genemu\Bundle\FormBundle\Form\JQuery\Type\Select2Type;
6
-
7 6
 use Symfony\Component\Validator\Validator;
8 7
 use Symfony\Bridge\Doctrine\ManagerRegistry;
9 8
 use Symfony\Component\Form\PreloadedExtension;
@@ -14,7 +13,6 @@  discard block
 block discarded – undo
14 13
 use Symfony\Component\Validator\Mapping\ClassMetadataFactory;
15 14
 use Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension;
16 15
 use Symfony\Component\Form\Extension\Validator\Type\FormTypeValidatorExtension;
17
-
18 16
 use Oro\Bundle\UserBundle\Form\Type\UserAclSelectType;
19 17
 use Oro\Bundle\UserBundle\Form\Type\OrganizationUserAclSelectType;
20 18
 use Oro\Bundle\FormBundle\Autocomplete\SearchRegistry;
@@ -26,7 +24,6 @@  discard block
 block discarded – undo
26 24
 use Oro\Bundle\IntegrationBundle\Form\Type\IntegrationTypeSelectType;
27 25
 use Oro\Bundle\FormBundle\Form\Type\OroEntitySelectOrCreateInlineType;
28 26
 use Oro\Bundle\IntegrationBundle\Form\EventListener\ChannelFormSubscriber;
29
-
30 27
 use OroCRM\Bundle\ChannelBundle\Form\Type\ChannelDatasourceType;
31 28
 use OroCRM\Bundle\ChannelBundle\Form\Extension\IntegrationTypeExtension;
32 29
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ChannelBundle/Tests/Unit/Form/Type/ChannelTypeTest.php 1 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\Form\FormView;
6 6
 use Symfony\Component\Form\FormBuilder;
7
-
8 7
 use OroCRM\Bundle\ChannelBundle\Form\Type\ChannelType;
9 8
 use OroCRM\Bundle\ChannelBundle\Provider\SettingsProvider;
10 9
 use OroCRM\Bundle\ChannelBundle\Form\EventListener\ChannelTypeSubscriber;
Please login to merge, or discard this patch.
Bundle/ChannelBundle/Tests/Unit/ImportExport/Helper/ChannelHelperTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
7 7
 use Doctrine\Common\Annotations\AnnotationReader;
8
-
9 8
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
10
-
11 9
 use OroCRM\Bundle\ChannelBundle\ImportExport\Helper\ChannelHelper;
12 10
 
13 11
 class ChannelHelperTest extends OrmTestCase
Please login to merge, or discard this patch.
Bundle/ChannelBundle/Tests/Unit/Provider/Lifetime/AmountProviderTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,11 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\Common\Annotations\AnnotationReader;
7
-
8 7
 use Doctrine\ORM\Mapping\Driver\AnnotationDriver;
9
-
10 8
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
11
-
12 9
 use OroCRM\Bundle\ChannelBundle\Provider\Lifetime\AmountProvider;
13 10
 
14 11
 class AmountProviderTest extends OrmTestCase
Please login to merge, or discard this patch.