Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/AttachmentBundle/Model/ExtendAttachment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      *
46 46
      * @param object $target Any configurable entity that can have notes
47 47
      *
48
-     * @return object This object
48
+     * @return ExtendAttachment This object
49 49
      */
50 50
     public function setTarget($target)
51 51
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Tests/Unit/Entity/AttachmentTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Oro\Bundle\AttachmentBundle\Entity\Attachment;
6 6
 use Oro\Bundle\AttachmentBundle\Entity\File;
7 7
 use Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestUser;
8
-
9 8
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
10 9
 
11 10
 class AttachmentTest extends EntityTestAbstract
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Tests/Unit/Entity/FileTest.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\AttachmentBundle\Tests\Unit\Entity;
4 4
 
5 5
 use Symfony\Component\HttpFoundation\File\File as FileType;
6
-
7 6
 use Oro\Bundle\AttachmentBundle\Entity\File;
8 7
 use Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestUser;
9 8
 
Please login to merge, or discard this patch.
Oro/Bundle/AttachmentBundle/Tests/Unit/ImportExport/FileNormalizerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Symfony\Component\PropertyAccess\PropertyAccess;
6 6
 use Symfony\Component\Validator\ConstraintViolation;
7 7
 use Symfony\Component\Validator\ConstraintViolationList;
8
-
9 8
 use Oro\Bundle\AttachmentBundle\Entity\File;
10 9
 use Oro\Bundle\AttachmentBundle\ImportExport\FileNormalizer;
11 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Twig/FileExtension.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * Get file url
78 78
      *
79
-     * @param object $parentEntity
79
+     * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestClass $parentEntity
80 80
      * @param string $fieldName
81 81
      * @param File   $attachment
82 82
      * @param string $type
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      * Get file view html block
140 140
      *
141 141
      * @param \Twig_Environment $environment
142
-     * @param object            $parentEntity
142
+     * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestClass            $parentEntity
143 143
      * @param string            $fieldName
144 144
      * @param File              $attachment
145 145
      *
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
     /**
223 223
      * Get attachment image resized with config values
224 224
      *
225
-     * @param object $parentEntity
225
+     * @param \Oro\Bundle\AttachmentBundle\Tests\Unit\Fixtures\TestAttachment $parentEntity
226 226
      * @param string $fieldName
227 227
      * @param File   $attachment
228 228
      *
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,13 +3,10 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\AttachmentBundle\Twig;
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6
-
7 6
 use Symfony\Component\PropertyAccess\PropertyAccess;
8 7
 use Symfony\Component\Security\Core\Util\ClassUtils;
9
-
10 8
 use Oro\Bundle\AttachmentBundle\Entity\File;
11 9
 use Oro\Bundle\AttachmentBundle\Manager\AttachmentManager;
12
-
13 10
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
14 11
 use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
15 12
 
Please login to merge, or discard this patch.
src/Oro/Bundle/AttachmentBundle/Validator/ConfigFileValidator.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Validator\Validator\ValidatorInterface;
6 6
 use Symfony\Component\Validator\Constraints\File as FileConstraint;
7
-
8 7
 use Oro\Bundle\AttachmentBundle\Entity\File;
9 8
 use Oro\Bundle\AttachmentBundle\Entity\Attachment;
10
-
11 9
 use Oro\Bundle\ConfigBundle\Config\ConfigManager as Configuration;
12
-
13 10
 use Oro\Bundle\EntityConfigBundle\Config\Id\FieldConfigId;
14 11
 use Oro\Bundle\EntityConfigBundle\Config\Config;
15 12
 use Oro\Bundle\EntityConfigBundle\Config\ConfigManager;
Please login to merge, or discard this patch.
src/Oro/Bundle/BatchBundle/Command/CleanupCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     /**
134 134
      * Find job executions created before the given date time
135 135
      *
136
-     * @param $endTime
136
+     * @param \DateTime $endTime
137 137
      *
138 138
      * @return QueryBuilder
139 139
      */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,16 +3,13 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\BatchBundle\Command;
4 4
 
5 5
 use Akeneo\Bundle\BatchBundle\Job\BatchStatus;
6
-
7 6
 use Doctrine\ORM\AbstractQuery;
8 7
 use Doctrine\ORM\EntityManager;
9 8
 use Doctrine\ORM\QueryBuilder;
10
-
11 9
 use Symfony\Component\Console\Input\InputOption;
12 10
 use Symfony\Component\Console\Input\InputInterface;
13 11
 use Symfony\Component\Console\Output\OutputInterface;
14 12
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
15
-
16 13
 use Oro\Bundle\CronBundle\Command\CronCommandInterface;
17 14
 use Oro\Bundle\BatchBundle\ORM\Query\DeletionQueryResultIterator;
18 15
 
Please login to merge, or discard this patch.
src/Oro/Bundle/BatchBundle/ORM/Query/QueryCountCalculator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\ORM\Query;
6 6
 use Doctrine\ORM\Tools\Pagination\Paginator;
7 7
 use Doctrine\ORM\Tools\Pagination\CountWalker;
8
-
9 8
 use Oro\Bundle\EntityBundle\ORM\QueryUtils;
10 9
 use Oro\Bundle\EntityBundle\ORM\SqlQuery;
11 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/BatchBundle/ORM/QueryBuilder/CountQueryBuilderOptimizer.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Doctrine\ORM\Mapping\ClassMetadata;
6 6
 use Doctrine\ORM\Query\Expr;
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use Oro\Bundle\BatchBundle\Event\CountQueryOptimizationEvent;
10 9
 use Symfony\Component\EventDispatcher\EventDispatcherInterface;
11 10
 
Please login to merge, or discard this patch.