Completed
Push — 1.10 ( 93e51c...7f32fb )
by
unknown
11:06
created
src/OroCRM/Bundle/AccountBundle/Controller/Api/Rest/AccountController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -5,20 +5,15 @@
 block discarded – undo
5 5
 use Oro\Bundle\SoapBundle\Entity\Manager\ApiEntityManager;
6 6
 use Symfony\Component\Form\FormInterface;
7 7
 use Symfony\Component\HttpFoundation\Response;
8
-
9 8
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
10
-
11 9
 use FOS\RestBundle\Controller\Annotations\NamePrefix;
12 10
 use FOS\RestBundle\Controller\Annotations\RouteResource;
13 11
 use FOS\RestBundle\Controller\Annotations\QueryParam;
14 12
 use FOS\RestBundle\Routing\ClassResourceInterface;
15
-
16 13
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
17 14
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
18
-
19 15
 use Oro\Bundle\SoapBundle\Form\Handler\ApiFormHandler;
20 16
 use Oro\Bundle\SoapBundle\Controller\Api\Rest\RestController;
21
-
22 17
 use OroCRM\Bundle\ChannelBundle\Provider\Lifetime\AmountProvider;
23 18
 use OroCRM\Bundle\AccountBundle\Entity\Account;
24 19
 
Please login to merge, or discard this patch.
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.
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/EmailDirectionProvider.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,6 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
     /**
128 128
      * {@inheritdoc}
129
+     * @param Email $activity
129 130
      */
130 131
     public function getDate($activity)
131 132
     {
@@ -202,7 +203,7 @@  discard block
 block discarded – undo
202 203
     }
203 204
 
204 205
     /**
205
-     * @param object $target
206
+     * @param EmailHolderInterface $target
206 207
      * @return string
207 208
      */
208 209
     protected function getTargetEmail($target)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@  discard block
 block discarded – undo
5 5
 use Doctrine\Common\Util\ClassUtils;
6 6
 use Doctrine\ORM\EntityManager;
7 7
 use Doctrine\Common\Inflector\Inflector;
8
-
9 8
 use Oro\Bundle\ActivityBundle\EntityConfig\ActivityScope;
10 9
 use Oro\Bundle\EmailBundle\Entity\Email;
11 10
 use Oro\Bundle\EmailBundle\Model\EmailHolderInterface;
@@ -13,7 +12,6 @@  discard block
 block discarded – undo
13 12
 use Oro\Bundle\EntityExtendBundle\Tools\ExtendHelper;
14 13
 use Oro\Bundle\EntityConfigBundle\Provider\ConfigProvider;
15 14
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
16
-
17 15
 use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface;
18 16
 use OroCRM\Bundle\MarketingListBundle\Provider\ContactInformationFieldsProvider;
19 17
 
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AnalyticsBundle/Command/CalculateAnalyticsCommand.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Symfony\Component\Console\Input\InputInterface;
9 9
 use Symfony\Component\Console\Input\InputOption;
10 10
 use Symfony\Component\Console\Output\OutputInterface;
11
-
12 11
 use Oro\Bundle\BatchBundle\ORM\Query\BufferedQueryResultIterator;
13 12
 use Oro\Bundle\CronBundle\Command\CronCommandInterface;
14 13
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     /**
88 88
      * @param int $channelId
89 89
      *
90
-     * @return BufferedQueryResultIterator|Channel[]
90
+     * @return \CallbackFilterIterator
91 91
      */
92 92
     protected function getChannels($channelId = null)
93 93
     {
Please login to merge, or discard this patch.
src/OroCRM/Bundle/AnalyticsBundle/EventListener/RFMCategoryListener.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\AnalyticsBundle\EventListener;
4 4
 
5 5
 use Doctrine\ORM\Event\OnFlushEventArgs;
6
-
7 6
 use OroCRM\Bundle\AnalyticsBundle\Entity\RFMMetricCategory;
8 7
 use OroCRM\Bundle\AnalyticsBundle\Model\RFMAwareInterface;
9 8
 use OroCRM\Bundle\AnalyticsBundle\Model\RFMMetricStateManager;
Please login to merge, or discard this patch.