Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
Bundle/MagentoBundle/Tests/Unit/EventListener/StoreGridListenerTest.php 1 patch
Unused Use Statements   -13 removed lines patch added patch discarded remove patch
@@ -6,20 +6,7 @@
 block discarded – undo
6 6
 use Oro\Bundle\IntegrationBundle\Entity\Channel as Integration;
7 7
 use OroCRM\Bundle\ChannelBundle\Entity\Channel;
8 8
 use OroCRM\Bundle\MagentoBundle\Entity\MagentoSoapTransport;
9
-
10
-
11
-use OroCRM\Bundle\MagentoBundle\EventListener\UpdateIntegrationConnectorsListener;
12
-use OroCRM\Bundle\MagentoBundle\Provider\ChannelType;
13
-use OroCRM\Bundle\MagentoBundle\Provider\Transport\SoapTransport;
14
-
15
-
16
-use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
17 9
 use Oro\Bundle\DataGridBundle\Datagrid\ParameterBag;
18
-use Oro\Bundle\DataGridBundle\Event\PreBuild;
19
-use OroCRM\Bundle\MagentoBundle\EventListener\CustomerDataGridListener;
20
-use Symfony\Component\HttpFoundation\Request;
21
-use Symfony\Component\HttpFoundation\RequestStack;
22
-
23 10
 use OroCRM\Bundle\MagentoBundle\EventListener\StoreGridListener;
24 11
 
25 12
 class StoreGridListenerTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
ReportBundle/EventListener/Datagrid/OpportunitiesByStatusReportListener.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
      * @param string $filterType date filter type ('date' or 'datetime')
156 156
      * @param QueryBuilder $queryBuilder
157 157
      *
158
-     * @return string|bool
158
+     * @return false|string
159 159
      */
160 160
     protected function buildDateCondition(array $options, $fieldName, $filterType, QueryBuilder $queryBuilder)
161 161
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\ReportBundle\EventListener\Datagrid;
4 4
 
5 5
 use Doctrine\ORM\QueryBuilder;
6
-
7 6
 use Oro\Component\DoctrineUtils\ORM\QueryUtils;
8 7
 use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource;
9 8
 use Oro\Bundle\DataGridBundle\Event\BuildAfter;
@@ -13,7 +12,6 @@  discard block
 block discarded – undo
13 12
 use Oro\Bundle\FilterBundle\Filter\FilterUtility;
14 13
 use Oro\Bundle\FilterBundle\Form\Type\Filter\AbstractDateFilterType;
15 14
 use Oro\Bundle\FilterBundle\Utils\DateFilterModifier;
16
-
17 15
 use OroCRM\Bundle\SalesBundle\Entity\Opportunity;
18 16
 
19 17
 /**
Please login to merge, or discard this patch.
Bundle/SalesBundle/Controller/Api/Rest/B2bCustomerPhoneController.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -4,21 +4,15 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Response;
6 6
 use Symfony\Component\HttpFoundation\JsonResponse;
7
-
8 7
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
9 8
 use FOS\RestBundle\Controller\Annotations\RouteResource;
10 9
 use FOS\RestBundle\Routing\ClassResourceInterface;
11 10
 use FOS\RestBundle\Util\Codes;
12
-
13 11
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
14
-
15
-use Oro\Bundle\SecurityBundle\Annotation\Acl;
16 12
 use Oro\Bundle\FormBundle\Form\Handler\ApiFormHandler;
17 13
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
18 14
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
19
-
20 15
 use OroCRM\Bundle\SalesBundle\Entity\B2bCustomer;
21
-use OroCRM\Bundle\ContactBundle\Entity\Contact;
22 16
 
23 17
 /**
24 18
  * @RouteResource("b2bcustomer_phone")
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Handler/OpportunityApiHandler.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 
21 21
     /**
22 22
      * {@inheritdoc}
23
+     * @param \OroCRM\Bundle\SalesBundle\Entity\Opportunity $entity
23 24
      */
24 25
     public function afterProcess($entity)
25 26
     {
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\SalesBundle\Handler;
4 4
 
5 5
 use Symfony\Component\PropertyAccess\PropertyAccess;
6
-
7 6
 use Oro\Bundle\EntityBundle\Form\EntityField\Handler\Processor\AbstractEntityApiHandler;
8 7
 
9 8
 class OpportunityApiHandler extends AbstractEntityApiHandler
Please login to merge, or discard this patch.
OroCRM/Bundle/SalesBundle/Migrations/Schema/v1_22/AddOpportunityStatus.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     /**
87 87
      * @param Schema $schema
88 88
      * @param ExtendExtension $extendExtension
89
-     * @param array $immutableCodes
89
+     * @param string[] $immutableCodes
90 90
      */
91 91
     public static function addStatusField(Schema $schema, ExtendExtension $extendExtension, array $immutableCodes)
92 92
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\DBAL\Schema\Schema;
6 6
 use Doctrine\DBAL\Types\Type;
7
-
8 7
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
9 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
10
-
11 9
 use Oro\Bundle\EntityBundle\EntityConfig\DatagridScope;
12 10
 use Oro\Bundle\EntityExtendBundle\EntityConfig\ExtendScope;
13 11
 use Oro\Bundle\EntityExtendBundle\Migration\ExtendOptionsManager;
Please login to merge, or discard this patch.
SalesBundle/Tests/Functional/Fixture/LoadOpportunityStatusBoardFixtures.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,10 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8
-use Symfony\Component\DependencyInjection\ContainerAwareInterface;
9
-use Symfony\Component\DependencyInjection\ContainerInterface;
10
-
11 7
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
12 8
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
13 9
 use OroCRM\Bundle\SalesBundle\Entity\Opportunity;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/SalesBundle/Tests/Unit/Form/Type/OpportunityTypeTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
     }
182 182
 
183 183
     /**
184
-     * @param mixed $data
184
+     * @param Opportunity $data
185 185
      *
186 186
      * @return FormEvent
187 187
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Form\FormEvent;
6 6
 use Symfony\Component\Form\FormInterface;
7
-
8 7
 use Oro\Bundle\ConfigBundle\Config\ConfigManager;
9 8
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
10 9
 use Oro\Bundle\EntityExtendBundle\Entity\Repository\EnumValueRepository;
@@ -13,7 +12,6 @@  discard block
 block discarded – undo
13 12
 use Oro\Bundle\EntityExtendBundle\Tests\Unit\Fixtures\TestEnumValue;
14 13
 use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue;
15 14
 use Oro\Bundle\SecurityBundle\SecurityFacade;
16
-
17 15
 use OroCRM\Bundle\SalesBundle\Builder\OpportunityRelationsBuilder;
18 16
 use OroCRM\Bundle\SalesBundle\Form\Type\OpportunityType;
19 17
 use OroCRM\Bundle\SalesBundle\Provider\ProbabilityProvider;
Please login to merge, or discard this patch.
OroCRM/Bundle/SalesBundle/Tests/Unit/Handler/OpportunityApiHandlerTest.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -2,11 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\Bundle\SalesBundle\Tests\Unit\Entity;
4 4
 
5
-use Doctrine\ORM\EntityManager;
6
-
7
-use Oro\Bundle\ConfigBundle\Config\ConfigManager;
8
-use Oro\Bundle\EntityExtendBundle\Entity\AbstractEnumValue;
9
-
10 5
 use OroCRM\Bundle\SalesBundle\Entity\Opportunity;
11 6
 use OroCRM\Bundle\SalesBundle\Handler\OpportunityApiHandler;
12 7
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ContactBundle/Tests/Functional/ImportExportTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -246,7 +246,7 @@
 block discarded – undo
246 246
      *
247 247
      * @param array $expected
248 248
      * @param array $actual
249
-     * @param array $keys
249
+     * @param string[] $keys
250 250
      */
251 251
     protected function assertCollectionData(array &$expected, array &$actual, array $keys)
252 252
     {
Please login to merge, or discard this 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\ContactBundle\Tests\Functional;
4 4
 
5 5
 use Akeneo\Bundle\BatchBundle\Job\DoctrineJobRepository as BatchJobRepository;
6
-
7 6
 use Symfony\Component\DomCrawler\Form;
8
-
9 7
 use Oro\Bundle\ImportExportBundle\Job\JobExecutor;
10 8
 use Oro\Bundle\ImportExportBundle\Processor\ProcessorRegistry;
11 9
 use Oro\Bundle\TestFrameworkBundle\Test\WebTestCase;
Please login to merge, or discard this patch.