Completed
Push — 1.8 ( 8d6730...a2d9e7 )
by
unknown
42:28
created
src/OroCRM/Bundle/AccountBundle/Controller/Api/Soap/AccountController.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 Symfony\Component\Form\FormInterface;
6 6
 use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
7
-
8 7
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
9 8
 use Oro\Bundle\SoapBundle\Controller\Api\Soap\SoapController;
10 9
 use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler;
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AccountBundle/Entity/Account.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@  discard block
 block discarded – undo
3 3
 namespace OroCRM\Bundle\AccountBundle\Entity;
4 4
 
5 5
 use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
6
-
7 6
 use Doctrine\Common\Collections\ArrayCollection;
8 7
 use Doctrine\Common\Collections\Collection;
9 8
 use Doctrine\ORM\Mapping as ORM;
10
-
11 9
 use Oro\Bundle\DataAuditBundle\Metadata\Annotation as Oro;
12 10
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
13 11
 use Oro\Bundle\EntityConfigBundle\Metadata\Annotation\Config;
@@ -16,7 +14,6 @@  discard block
 block discarded – undo
16 14
 use Oro\Bundle\OrganizationBundle\Entity\Organization;
17 15
 use Oro\Bundle\TagBundle\Entity\Taggable;
18 16
 use Oro\Bundle\UserBundle\Entity\User;
19
-
20 17
 use OroCRM\Bundle\AccountBundle\Model\ExtendAccount;
21 18
 use OroCRM\Bundle\ContactBundle\Entity\Contact;
22 19
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     /**
230 230
      * Returns the account unique id.
231 231
      *
232
-     * @return mixed
232
+     * @return integer
233 233
      */
234 234
     public function getId()
235 235
     {
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
     /**
317 317
      * Get contacts collection
318 318
      *
319
-     * @return Collection|Contact[]
319
+     * @return Collection
320 320
      */
321 321
     public function getContacts()
322 322
     {
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AccountBundle/Form/Handler/AccountHandler.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,13 +3,10 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\AccountBundle\Form\Handler;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use Symfony\Component\Form\FormInterface;
8 7
 use Symfony\Component\HttpFoundation\Request;
9
-
10 8
 use Oro\Bundle\TagBundle\Entity\TagManager;
11 9
 use Oro\Bundle\TagBundle\Form\Handler\TagHandlerInterface;
12
-
13 10
 use OroCRM\Bundle\AccountBundle\Entity\Account;
14 11
 
15 12
 class AccountHandler implements TagHandlerInterface
Please login to merge, or discard this patch.
OroCRM/Bundle/AccountBundle/Tests/Unit/Form/Handler/AccountHandlerTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,8 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\AccountBundle\Tests\Unit\Form\Handler;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use Symfony\Component\Form\FormInterface;
8 7
 use Symfony\Component\HttpFoundation\Request;
9
-
10 8
 use OroCRM\Bundle\AccountBundle\Entity\Account;
11 9
 use OroCRM\Bundle\AccountBundle\Form\Handler\AccountHandler;
12 10
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AccountBundle/Tests/Unit/Form/Type/AccountTypeTest.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\Common\Collections\ArrayCollection;
6 6
 use Symfony\Component\Form\FormView;
7 7
 use Symfony\Component\OptionsResolver\OptionsResolverInterface;
8
-
9 8
 use OroCRM\Bundle\AccountBundle\Form\Type\AccountType;
10 9
 
11 10
 class AccountTypeTest extends \PHPUnit_Framework_TestCase
Please login to merge, or discard this patch.
Bundle/ActivityContactBundle/Command/ActivityContactRecalculateCommand.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -2,19 +2,14 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace OroCRM\Bundle\ActivityContactBundle\Command;
4 4
 
5
-use Doctrine\ORM\Query;
6 5
 use Doctrine\ORM\QueryBuilder;
7
-
8 6
 use Psr\Log\AbstractLogger;
9
-
10 7
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
11 8
 use Symfony\Component\Console\Input\InputInterface;
12 9
 use Symfony\Component\Console\Output\OutputInterface;
13 10
 use Symfony\Component\PropertyAccess\PropertyAccess;
14
-
15 11
 use Oro\Component\PropertyAccess\PropertyAccessor;
16 12
 use Oro\Component\Log\OutputLogger;
17
-
18 13
 use Oro\Bundle\ActivityBundle\Event\ActivityEvent;
19 14
 use Oro\Bundle\ActivityListBundle\Entity\ActivityList;
20 15
 use Oro\Bundle\ActivityListBundle\Entity\Repository\ActivityListRepository;
@@ -24,7 +19,6 @@  discard block
 block discarded – undo
24 19
 use Oro\Bundle\EntityConfigBundle\Config\ConfigInterface;
25 20
 use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
26 21
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
27
-
28 22
 use OroCRM\Bundle\ActivityContactBundle\EntityConfig\ActivityScope;
29 23
 use OroCRM\Bundle\ActivityContactBundle\EventListener\ActivityListener;
30 24
 use OroCRM\Bundle\ActivityContactBundle\Provider\ActivityContactProvider;
Please login to merge, or discard this patch.
OroCRM/Bundle/ActivityContactBundle/Provider/ActivityContactProvider.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * Return list of supported activity classes
61 61
      *
62
-     * @return array
62
+     * @return integer[]
63 63
      */
64 64
     public function getSupportedActivityClasses()
65 65
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     /**
70 70
      * Check if given entity class is supports
71 71
      *
72
-     * @param $activityClass
72
+     * @param string $activityClass
73 73
      *
74 74
      * @return bool
75 75
      */
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 Doctrine\Common\Util\ClassUtils;
6 6
 use Doctrine\ORM\EntityManager;
7
-
8 7
 use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface;
9 8
 
10 9
 class ActivityContactProvider
Please login to merge, or discard this patch.
src/OroCRM/Bundle/ActivityContactBundle/Provider/CallDirectionProvider.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -56,6 +56,7 @@
 block discarded – undo
56 56
 
57 57
     /**
58 58
      * {@inheritdoc}
59
+     * @param Call $activity
59 60
      */
60 61
     public function getDate($activity)
61 62
     {
Please login to merge, or discard this 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\Util\ClassUtils;
6 6
 use Doctrine\ORM\EntityManager;
7
-
8 7
 use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope;
9 8
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
10 9
 use Oro\Bundle\ActivityBundle\Manager\ActivityManager;
11
-
12 10
 use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface;
13 11
 use OroCRM\Bundle\CallBundle\Entity\Call;
14 12
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AnalyticsBundle/Builder/RFMBuilder.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,7 @@
 block discarded – undo
3 3
 namespace OroCRM\Bundle\AnalyticsBundle\Builder;
4 4
 
5 5
 use Doctrine\Common\Collections\Criteria;
6
-
7 6
 use Symfony\Component\PropertyAccess\PropertyAccess;
8
-
9 7
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
10 8
 use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory;
11 9
 use OroCRM\Bundle\AnalyticsBundle\Model\AnalyticsAwareInterface;
Please login to merge, or discard this patch.