@@ -3,7 +3,6 @@ |
||
| 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 |
@@ -109,7 +109,7 @@ |
||
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | - * @return string |
|
| 112 | + * @return boolean |
|
| 113 | 113 | */ |
| 114 | 114 | protected function isCssDebugAll() |
| 115 | 115 | { |
@@ -3,7 +3,6 @@ |
||
| 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 | |
@@ -136,7 +136,7 @@ |
||
| 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, |
@@ -3,9 +3,7 @@ |
||
| 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 |
@@ -4,16 +4,13 @@ |
||
| 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; |
@@ -5,15 +5,11 @@ |
||
| 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 | |
@@ -7,11 +7,8 @@ |
||
| 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 |
@@ -16,7 +16,7 @@ |
||
| 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 | { |
@@ -4,9 +4,7 @@ |
||
| 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 |
@@ -291,7 +291,7 @@ |
||
| 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 |
@@ -3,22 +3,17 @@ |
||
| 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; |