Completed
Push — master ( dd2819...45b95e )
by
unknown
10:20
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.
src/OroCRM/Bundle/AccountBundle/Entity/Account.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
     /**
239 239
      * Returns the account unique id.
240 240
      *
241
-     * @return mixed
241
+     * @return integer
242 242
      */
243 243
     public function getId()
244 244
     {
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
     /**
326 326
      * Get contacts collection
327 327
      *
328
-     * @return Collection|Contact[]
328
+     * @return ArrayCollection
329 329
      */
330 330
     public function getContacts()
331 331
     {
Please login to merge, or discard this patch.
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.
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.
Bundle/AccountBundle/Migrations/Schema/v1_10/InheritenceActivityTargets.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\AccountBundle\Migrations\Schema\v1_10;
4 4
 
5 5
 use Doctrine\DBAL\Schema\Schema;
6
-
7 6
 use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtension;
8 7
 use Oro\Bundle\ActivityListBundle\Migration\Extension\ActivityListExtensionAwareInterface;
9 8
 use Oro\Bundle\MigrationBundle\Migration\Migration;
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.
src/OroCRM/Bundle/ActivityContactBundle/EventListener/ActivityListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\Event\OnFlushEventArgs;
6 6
 use Doctrine\ORM\Event\PostFlushEventArgs;
7
-
8 7
 use Symfony\Component\PropertyAccess\PropertyAccess;
9
-
10 8
 use Oro\Bundle\ActivityBundle\Event\ActivityEvent;
11 9
 use Oro\Bundle\EntityBundle\ORM\DoctrineHelper;
12
-
13 10
 use OroCRM\Bundle\ActivityContactBundle\Direction\DirectionProviderInterface;
14 11
 use OroCRM\Bundle\ActivityContactBundle\EntityConfig\ActivityScope;
15 12
 use OroCRM\Bundle\ActivityContactBundle\Provider\ActivityContactProvider;
Please login to merge, or discard this patch.