Completed
Push — 1.8 ( b7094f...f1162e )
by
unknown
83:38 queued 61:44
created
src/Oro/Bundle/ActivityListBundle/Entity/Manager/ActivityListManager.php 2 patches
Doc Comments   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * @param integer $entityId
132 132
      * @param array   $filter
133 133
      *
134
-     * @return ActivityList[]
134
+     * @return string|boolean
135 135
      */
136 136
     public function getListCount($entityClass, $entityId, $filter)
137 137
     {
@@ -279,9 +279,11 @@  discard block
 block discarded – undo
279 279
     /**
280 280
      * Get Grouped Entities by Activity Entity
281 281
      *
282
-     * @param object $entity
282
+     * @param \stdClass $entity
283 283
      * @param string $widgetId
284 284
      * @param array  $filterMetadata
285
+     * @param string $targetActivityClass
286
+     * @param string $targetActivityId
285 287
      *
286 288
      * @return array
287 289
      */
@@ -333,7 +335,7 @@  discard block
 block discarded – undo
333 335
 
334 336
     /**
335 337
      * @param ActivityList $entity
336
-     * @param object       $entityProvider
338
+     * @param \Oro\Bundle\ActivityListBundle\Model\ActivityListProviderInterface       $entityProvider
337 339
      *
338 340
      * @return bool
339 341
      */
@@ -349,7 +351,7 @@  discard block
 block discarded – undo
349 351
 
350 352
     /**
351 353
      * @param ActivityList $entity
352
-     * @param object       $entityProvider
354
+     * @param \Oro\Bundle\ActivityListBundle\Model\ActivityListProviderInterface       $entityProvider
353 355
      *
354 356
      * @return array
355 357
      */
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,9 +5,7 @@
 block discarded – undo
5 5
 use Doctrine\Bundle\DoctrineBundle\Registry;
6 6
 use Doctrine\ORM\EntityManager;
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use Symfony\Component\Security\Core\Util\ClassUtils;
10
-
11 9
 use Oro\Bundle\ActivityListBundle\Model\ActivityListGroupProviderInterface;
12 10
 use Oro\Bundle\ActivityListBundle\Filter\ActivityListFilterHelper;
13 11
 use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider;
Please login to merge, or discard this patch.
src/Oro/Bundle/ActivityListBundle/Entity/Manager/CollectListManager.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\EntityManager;
6 6
 use Doctrine\Common\Collections\ArrayCollection;
7
-
8 7
 use Oro\Bundle\ActivityListBundle\Entity\ActivityList;
9 8
 use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider;
10 9
 use Oro\Bundle\ActivityListBundle\Model\ActivityListProviderInterface;
Please login to merge, or discard this patch.
Oro/Bundle/ActivityListBundle/Entity/Repository/ActivityListRepository.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\EntityRepository;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Oro\Bundle\ActivityListBundle\Tools\ActivityListEntityConfigDumperExtension;
9 8
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
10 9
 
Please login to merge, or discard this patch.
src/Oro/Bundle/ActivityListBundle/Filter/ActivityListFilter.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -369,7 +369,6 @@
 block discarded – undo
369 369
     }
370 370
 
371 371
     /**
372
-     * @param string $columnName
373 372
      *
374 373
      * @return string
375 374
      */
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,11 +5,8 @@
 block discarded – undo
5 5
 use Doctrine\ORM\EntityManager;
6 6
 use Doctrine\ORM\Mapping\ClassMetadata;
7 7
 use Doctrine\ORM\QueryBuilder;
8
-
9 8
 use LogicException;
10
-
11 9
 use Symfony\Component\Form\FormFactoryInterface;
12
-
13 10
 use Oro\Bundle\ActivityBundle\Tools\ActivityAssociationHelper;
14 11
 use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider;
15 12
 use Oro\Bundle\ActivityListBundle\Form\Type\ActivityListFilterType;
Please login to merge, or discard this patch.
Oro/Bundle/ActivityListBundle/Migrations/Data/ORM/AddActivityListsData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\DataFixtures\AbstractFixture;
6 6
 use Doctrine\Common\Persistence\ObjectManager;
7
-
8 7
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
9 8
 use Symfony\Component\DependencyInjection\ContainerInterface;
10 9
 use Symfony\Component\PropertyAccess\PropertyAccess;
11
-
12 10
 use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider;
13 11
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
14 12
 use Oro\Bundle\UserBundle\Entity\User;
Please login to merge, or discard this patch.
Bundle/ActivityListBundle/Migrations/Data/ORM/UpdateActivityListOwner.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,12 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
6 6
 use Symfony\Component\DependencyInjection\ContainerInterface;
7
-
8 7
 use Doctrine\Common\DataFixtures\DependentFixtureInterface;
9 8
 use Doctrine\Common\DataFixtures\AbstractFixture;
10 9
 use Doctrine\Common\Persistence\ObjectManager;
11 10
 use Doctrine\ORM\QueryBuilder;
12
-
13 11
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
14 12
 use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider;
15 13
 use Oro\Bundle\ActivityListBundle\Entity\ActivityList;
Please login to merge, or discard this patch.
src/Oro/Bundle/ActivityListBundle/Provider/ActivityListChainProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@
 block discarded – undo
322 322
     }
323 323
 
324 324
     /**
325
-     * @param object $entity
325
+     * @param \stdClass $entity
326 326
      *
327 327
      * @return string|null
328 328
      */
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\ActivityListBundle\Provider;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Component\Translation\TranslatorInterface;
8
-
9 7
 use Oro\Bundle\ConfigBundle\Config\ConfigManager as Config;
10 8
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
11 9
 use Oro\Bundle\EntityBundle\Tools\EntityRoutingHelper;
Please login to merge, or discard this patch.
ActivityListBundle/Tests/Functional/DataFixtures/LoadActivityData.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\Persistence\ObjectManager;
6 6
 use Doctrine\Common\DataFixtures\AbstractFixture;
7
-
8 7
 use Oro\Bundle\TestFrameworkBundle\Entity\TestActivity;
9 8
 use Oro\Bundle\TestFrameworkBundle\Entity\TestActivityTarget;
10 9
 use Oro\Bundle\UserBundle\Entity\User;
Please login to merge, or discard this patch.
Bundle/ActivityListBundle/Tests/Unit/Placeholder/PlaceholderFilterTest.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\ActivityListBundle\Tests\Unit\Placeholder;
4 4
 
5 5
 use Doctrine\Common\Persistence\ManagerRegistry;
6
-
7 6
 use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope;
8 7
 use Oro\Bundle\ActivityListBundle\Placeholder\PlaceholderFilter;
9 8
 use Oro\Bundle\ActivityListBundle\Provider\ActivityListChainProvider;
Please login to merge, or discard this patch.