Completed
Pull Request — master (#352)
by php-br
61:36
created
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\Manager\ActivityManager;
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/Placeholder/PlaceholderFilter.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\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\Provider\ActivityListChainProvider;
9 8
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
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\ActivityListBundle\Model\ActivityListUpdatedByProviderInterface;
10 8
 use Oro\Bundle\ConfigBundle\Config\ConfigManager as Config;
11 9
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
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.
ActivityListBundle/Tests/Unit/Entity/Manager/ActivityListManagerTest.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\QueryBuilder;
6 6
 use Doctrine\ORM\Mapping\ClassMetadata;
7
-
8 7
 use Oro\Bundle\ActivityListBundle\Entity\ActivityList;
9 8
 use Oro\Bundle\ActivityListBundle\Entity\Manager\ActivityListManager;
10 9
 use Oro\Bundle\ActivityListBundle\Entity\Repository\ActivityListRepository;
Please login to merge, or discard this patch.