Completed
Pull Request — master (#189)
by Ivan
11:40
created
src/OroCRM/Bundle/AccountBundle/Controller/Api/Rest/AccountController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Doctrine\DBAL\Types\Type;
6 6
 use Doctrine\DBAL\Schema\Schema;
7
-
8 7
 use Oro\Bundle\MigrationBundle\Migration\QueryBag;
9 8
 use Oro\Bundle\MigrationBundle\Migration\Migration;
10 9
 use Oro\Bundle\MigrationBundle\Migration\SqlMigrationQuery;
@@ -12,15 +11,11 @@  discard block
 block discarded – undo
12 11
 use Oro\Bundle\MigrationBundle\Migration\OrderedMigrationInterface;
13 12
 use Oro\Bundle\MigrationBundle\Migration\Extension\NameGeneratorAwareInterface;
14 13
 use Oro\Bundle\MigrationBundle\Tools\DbIdentifierNameGenerator;
15
-
16 14
 use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension;
17
-
18 15
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
19 16
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendDbIdentifierNameGenerator;
20
-
21 17
 use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtension;
22 18
 use Oro\Bundle\EntityExtendBundle\Migration\Extension\ExtendExtensionAwareInterface;
23
-
24 19
 use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope;
25 20
 use Oro\Bundle\ActivityListBundle\Tools\ActivityListEntityConfigDumperExtension;
26 21
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AccountBundle/Controller/Api/Soap/AccountController.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\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.
OroCRM/Bundle/AccountBundle/Tests/Unit/Form/Handler/AccountHandlerTest.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\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/AccountBundle/Tests/Unit/Form/Type/AccountTypeTest.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\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/ActivityContactBundle/EventListener/ActivityListener.php 1 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.
Bundle/ActivityContactBundle/Tools/ActivityContactConfigDumperExtension.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\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/AnalyticsBundle/Command/CalculateAnalyticsCommand.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * @param int $channelId
89 89
      *
90
-     * @return BufferedQueryResultIterator|Channel[]
90
+     * @return \CallbackFilterIterator
91 91
      */
92 92
     protected function getChannels($channelId = null)
93 93
     {
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AnalyticsBundle/EventListener/RFMCategoryListener.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\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/AnalyticsBundle/Form/Extension/ChannelTypeExtension.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
     /**
10 10
      * Return currency from given row
11 11
      *
12
-     * @return callable
12
+     * @return \Closure
13 13
      */
14 14
     public static function getResolverCurrencyClosure()
15 15
     {
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.