Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/SoapBundle/Controller/Api/Rest/RestGetController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -4,21 +4,16 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\QueryBuilder;
6 6
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
7
-
8 7
 use Oro\Bundle\SearchBundle\Event\PrepareResultItemEvent;
9 8
 use Symfony\Component\HttpFoundation\Response;
10 9
 use Symfony\Component\HttpFoundation\JsonResponse;
11
-
12
-use Doctrine\ORM\Query;
13 10
 use Doctrine\ORM\UnitOfWork;
14 11
 use Doctrine\ORM\Proxy\Proxy;
15 12
 use Doctrine\Common\Collections\Criteria;
16
-
17 13
 use FOS\RestBundle\Util\Codes;
18 14
 use FOS\RestBundle\View\View;
19 15
 use FOS\RestBundle\Controller\FOSRestController;
20 16
 use FOS\RestBundle\Request\ParamFetcherInterface;
21
-
22 17
 use Oro\Bundle\EntityBundle\ORM\SqlQueryBuilder;
23 18
 use Oro\Bundle\SearchBundle\Query\Query as SearchQuery;
24 19
 use Oro\Bundle\SearchBundle\Query\Result\Item as SearchResultItem;
Please login to merge, or discard this patch.
src/Oro/Bundle/SoapBundle/Controller/Api/Soap/SoapController.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Create new
31 31
      *
32
-     * @param mixed $_ [optional] Arguments will be passed to createEntity method
33 32
      * @return integer
34 33
      */
35 34
     public function handleCreateRequest()
@@ -43,7 +42,6 @@  discard block
 block discarded – undo
43 42
     /**
44 43
      * Create new entity
45 44
      *
46
-     * @param mixed $_ [optional] Arguments will be passed to createEntity method of manager (result of getManager)
47 45
      * @return mixed
48 46
      */
49 47
     protected function createEntity()
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\SoapBundle\Controller\Api\Soap;
4 4
 
5 5
 use Doctrine\Common\Collections\Collection;
6
-
7 6
 use Doctrine\ORM\EntityNotFoundException;
8 7
 use Symfony\Component\Form\FormError;
9 8
 use Symfony\Component\Form\FormInterface;
10
-
11 9
 use Oro\Bundle\SoapBundle\Controller\Api\FormAwareInterface;
12 10
 use Oro\Bundle\SoapBundle\Controller\Api\FormHandlerAwareInterface;
13 11
 use Oro\Bundle\SoapBundle\Handler\DeleteHandler;
Please login to merge, or discard this patch.
src/Oro/Bundle/SoapBundle/Form/EventListener/PatchSubscriber.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\FormEvents;
7 7
 use Symfony\Component\Form\FormEvent;
8 8
 use Symfony\Component\Form\FormInterface;
9
-
10 9
 use Doctrine\Common\Collections\Collection;
11 10
 
12 11
 /**
Please login to merge, or discard this patch.
src/Oro/Bundle/SoapBundle/Form/Handler/ApiFormHandler.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 Symfony\Component\Form\FormInterface;
6 6
 use Symfony\Component\HttpFoundation\Request;
7
-
8 7
 use Doctrine\Common\Persistence\ObjectManager;
9
-
10 8
 use Oro\Bundle\SoapBundle\Controller\Api\FormAwareInterface;
11 9
 
12 10
 class ApiFormHandler implements FormAwareInterface
Please login to merge, or discard this patch.
src/Oro/Bundle/SoapBundle/Handler/Context.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @param string $key
88
-     * @param null   $default
88
+     * @param string   $default
89 89
      *
90 90
      * @return null
91 91
      */
Please login to merge, or discard this 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\HttpFoundation\Request;
6 6
 use Symfony\Component\HttpFoundation\Response;
7
-
8 7
 use Oro\Bundle\SoapBundle\Controller\Api\FormAwareInterface;
9 8
 use Oro\Bundle\SoapBundle\Controller\Api\EntityManagerAwareInterface;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SoapBundle/Handler/TotalHeaderHandler.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 Doctrine\ORM\Query;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Oro\Bundle\BatchBundle\ORM\Query\QueryCountCalculator;
9 8
 use Oro\Bundle\BatchBundle\ORM\QueryBuilder\CountQueryBuilderOptimizer;
10 9
 use Oro\Bundle\EntityBundle\ORM\SqlQuery;
Please login to merge, or discard this patch.
src/Oro/Bundle/SoapBundle/ServiceDefinition/Loader/OroSoapLoader.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 Oro\Bundle\SoapBundle\ServiceDefinition\Loader;
4 4
 
5 5
 use Symfony\Component\Config\FileLocator;
6
-
7 6
 use BeSimple\SoapBundle\ServiceDefinition\Loader\AnnotationFileLoader;
8 7
 use BeSimple\SoapBundle\ServiceDefinition\Loader\AnnotationClassLoader;
9 8
 
Please login to merge, or discard this patch.
Oro/Bundle/SoapBundle/Tests/Unit/Entity/Manager/ApiEntityManagerTest.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 Doctrine\Common\Collections\ArrayCollection;
6 6
 use Doctrine\Common\Collections\Criteria;
7
-
8 7
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
9 8
 use Oro\Bundle\SoapBundle\Tests\Unit\Entity\Manager\Stub\Entity;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/SoapBundle/Tests/Unit/Handler/ContextTest.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\HttpFoundation\Request;
6 6
 use Symfony\Component\HttpFoundation\Response;
7
-
8 7
 use Oro\Bundle\SoapBundle\Handler\Context;
9 8
 
10 9
 class ContextTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.