Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
created
src/OroCRM/Bundle/MarketingListBundle/Entity/MarketingListRemovedItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
     /**
101 101
      * @param \Datetime $createdAt
102
-     * @return MarketingListItem
102
+     * @return MarketingListRemovedItem
103 103
      */
104 104
     public function setCreatedAt(\Datetime $createdAt)
105 105
     {
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MarketingListBundle/Form/Handler/MarketingListHandler.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\MarketingListBundle\Form\Handler;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Bridge\Doctrine\RegistryInterface;
8 7
 use Symfony\Component\Form\FormError;
9 8
 use Symfony\Component\Form\FormInterface;
@@ -12,7 +11,6 @@  discard block
 block discarded – undo
12 11
 use Symfony\Component\Validator\Constraint;
13 12
 use Symfony\Component\Validator\ConstraintViolationInterface;
14 13
 use Symfony\Component\Validator\ValidatorInterface;
15
-
16 14
 use Oro\Bundle\SegmentBundle\Entity\Segment;
17 15
 use Oro\Bundle\SegmentBundle\Entity\SegmentType;
18 16
 use OroCRM\Bundle\MarketingListBundle\Entity\MarketingList;
Please login to merge, or discard this patch.
OroCRM/Bundle/MarketingListBundle/Model/ContactInformationFieldHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
     /**
81 81
      * Get entity contact information fields.
82 82
      *
83
-     * @param string|object $entity
83
+     * @param string $entity
84 84
      * @return array
85 85
      */
86 86
     public function getEntityContactInformationColumns($entity)
Please login to merge, or discard this patch.
Bundle/MarketingListBundle/Provider/ContactInformationFieldsProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param string|object $entityOrClass
63
+     * @param string $entityOrClass
64 64
      * @param string|null $type
65 65
      * @return array
66 66
      */
Please login to merge, or discard this 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 Symfony\Component\PropertyAccess\PropertyAccess;
6 6
 use Symfony\Component\Security\Core\Util\ClassUtils;
7
-
8 7
 use Oro\Bundle\QueryDesignerBundle\Model\AbstractQueryDesigner;
9 8
 use OroCRM\Bundle\MarketingListBundle\Model\ContactInformationFieldHelper;
10 9
 use OroCRM\Bundle\MarketingListBundle\Entity\MarketingList;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/MarketingListBundle/Provider/MarketingListProvider.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,12 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\Query\Expr\From;
6 6
 use Doctrine\ORM\QueryBuilder;
7
-
8 7
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
9 8
 use Oro\Bundle\DataGridBundle\Datagrid\Builder;
10 9
 use Oro\Bundle\DataGridBundle\Datagrid\DatagridInterface;
11 10
 use Oro\Bundle\DataGridBundle\Datagrid\Manager;
12 11
 use Oro\Bundle\DataGridBundle\Datasource\Orm\OrmDatasource;
13 12
 use Oro\Bundle\DataGridBundle\Extension\Pager\PagerInterface;
14
-
15 13
 use OroCRM\Bundle\MarketingListBundle\Entity\MarketingList;
16 14
 use OroCRM\Bundle\MarketingListBundle\Datagrid\ConfigurationProvider;
17 15
 
Please login to merge, or discard this patch.
Tests/Functional/Controller/Api/Rest/DataFixtures/LoadMarketingListData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,8 @@
 block discarded – undo
4 4
 
5 5
 use OroCRM\Bundle\MarketingListBundle\Entity\MarketingList;
6 6
 use OroCRM\Bundle\MarketingListBundle\Entity\MarketingListType;
7
-
8 7
 use Doctrine\Common\DataFixtures\AbstractFixture;
9 8
 use Doctrine\Common\Persistence\ObjectManager;
10
-
11 9
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
12 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
13 11
 
Please login to merge, or discard this patch.
MarketingListBundle/Tests/Unit/Acl/Voter/MarketingListSegmentVoterTest.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 OroCRM\Bundle\MarketingListBundle\Tests\Unit\Acl\Voter;
4 4
 
5 5
 use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
6
-
7 6
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
8 7
 use OroCRM\Bundle\MarketingListBundle\Acl\Voter\MarketingListSegmentVoter;
9 8
 
Please login to merge, or discard this patch.
OroCRM/Bundle/MarketingListBundle/Tests/Unit/Entity/MarketingListTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -136,6 +136,10 @@
 block discarded – undo
136 136
         $this->assertInstanceOf('\DateTime', $this->entity->getUpdatedAt());
137 137
     }
138 138
 
139
+    /**
140
+     * @param string $entityClass
141
+     * @param string $entityShortName
142
+     */
139 143
     protected function assertCollectionMethods($entityClass, $entityShortName)
140 144
     {
141 145
         $addMethodName = 'add' . $entityShortName;
Please login to merge, or discard this patch.
MarketingListBundle/Tests/Unit/Form/Handler/MarketingListHandlerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use Symfony\Component\Translation\TranslatorInterface;
10 10
 use Symfony\Component\Validator\ConstraintViolationList;
11 11
 use Symfony\Component\Validator\ValidatorInterface;
12
-
13 12
 use Oro\Bundle\SegmentBundle\Entity\SegmentType;
14 13
 use Oro\Bundle\UserBundle\Entity\User;
15 14
 use OroCRM\Bundle\MarketingListBundle\Entity\MarketingList;
Please login to merge, or discard this patch.