Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/AddressBundle/Tests/Unit/Form/Type/RegionTypeTest.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\AddressBundle\Tests\Unit\Form\Type;
4 4
 
5 5
 use Symfony\Component\Form\FormView;
6
-
7 6
 use Oro\Bundle\AddressBundle\Form\Type\RegionType;
8 7
 
9 8
 class RegionTypeTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
src/Oro/Bundle/AsseticBundle/AssetsConfiguration.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
     }
110 110
 
111 111
     /**
112
-     * @return string
112
+     * @return boolean
113 113
      */
114 114
     protected function isCssDebugAll()
115 115
     {
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 Oro\Bundle\AsseticBundle;
4 4
 
5 5
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
6
-
7 6
 use Oro\Bundle\AsseticBundle\Event\Events;
8 7
 use Oro\Bundle\AsseticBundle\Event\LoadCssEvent;
9 8
 
Please login to merge, or discard this patch.
src/Oro/Bundle/AsseticBundle/Twig/AsseticTokenParser.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      * @param array $filters
137 137
      * @param array $attributes
138 138
      * @param int $lineno
139
-     * @return AsseticNode
139
+     * @return DebugAsseticNode
140 140
      */
141 141
     protected function createDebugAsseticNode(
142 142
         \Twig_NodeInterface $body,
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 Oro\Bundle\AsseticBundle\Twig;
4 4
 
5 5
 use Assetic\Factory\AssetFactory;
6
-
7 6
 use Symfony\Bundle\AsseticBundle\Twig\AsseticNode;
8
-
9 7
 use Oro\Bundle\AsseticBundle\AssetsConfiguration;
10 8
 
11 9
 class AsseticTokenParser extends \Twig_TokenParser
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Controller/Api/Rest/FileController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,16 +4,13 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Response;
6 6
 use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
7
-
8 7
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
9
-
10 8
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
11 9
 use FOS\RestBundle\Controller\Annotations\RouteResource;
12 10
 use FOS\RestBundle\Controller\Annotations\Get;
13 11
 use FOS\RestBundle\Routing\ClassResourceInterface;
14 12
 use FOS\RestBundle\Util\Codes;
15 13
 use FOS\RestBundle\View\View;
16
-
17 14
 use Oro\Bundle\SoapBundle\Model\BinaryDataProviderInterface;
18 15
 use Oro\Bundle\SoapBundle\Handler\Context;
19 16
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Controller/AttachmentController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,15 +5,11 @@
 block discarded – undo
5 5
 use Symfony\Component\Form\FormInterface;
6 6
 use Symfony\Component\Security\Core\Util\ClassUtils;
7 7
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
8
-
9 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
10 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
11
-
12 10
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
13
-
14 11
 use Oro\Bundle\AttachmentBundle\Manager\AttachmentManager;
15 12
 use Oro\Bundle\AttachmentBundle\Entity\Attachment;
16
-
17 13
 use Oro\Bundle\EntityBundle\Tools\EntityRoutingHelper;
18 14
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
19 15
 
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Controller/FileController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,11 +7,8 @@
 block discarded – undo
7 7
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
8 8
 use Symfony\Component\PropertyAccess\PropertyAccess;
9 9
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
10
-
11 10
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
12
-
13 11
 use Oro\Bundle\AttachmentBundle\Entity\File;
14
-
15 12
 use Doctrine\Common\Collections\Collection;
16 13
 
17 14
 class FileController extends Controller
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/EventListener/AttachmentGridListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     protected $paramsToBind = [];
17 17
 
18 18
     /**
19
-     * @param array $paramsToBind
19
+     * @param string[] $paramsToBind
20 20
      */
21 21
     public function __construct($paramsToBind = [])
22 22
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Form/Handler/AttachmentHandler.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\AttachmentBundle\Entity\Attachment;
11 9
 
12 10
 class AttachmentHandler
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Manager/AttachmentManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
     /**
292 292
      * Return url parameters from encoded string
293 293
      *
294
-     * @param $urlString
294
+     * @param string $urlString
295 295
      * @return array
296 296
      *   - parent class
297 297
      *   - field name
Please login to merge, or discard this patch.
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -3,22 +3,17 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\AttachmentBundle\Manager;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Gaufrette\Stream;
8
-
9 7
 use Symfony\Component\Security\Core\Util\ClassUtils;
10 8
 use Symfony\Component\HttpFoundation\File\UploadedFile;
11 9
 use Symfony\Bundle\FrameworkBundle\Routing\Router;
12 10
 use Symfony\Component\Filesystem\Filesystem as SymfonyFileSystem;
13 11
 use Symfony\Component\HttpFoundation\File\File as FileType;
14
-
15 12
 use Knp\Bundle\GaufretteBundle\FilesystemMap;
16
-
17 13
 use Gaufrette\Filesystem;
18 14
 use Gaufrette\StreamMode;
19 15
 use Gaufrette\Adapter\MetadataSupporter;
20 16
 use Gaufrette\Stream\Local as LocalStream;
21
-
22 17
 use Oro\Bundle\AttachmentBundle\Entity\File;
23 18
 use Oro\Bundle\AttachmentBundle\EntityConfig\AttachmentScope;
24 19
 use Oro\Bundle\EntityConfigBundle\DependencyInjection\Utils\ServiceLink;
Please login to merge, or discard this patch.