Completed
Pull Request — master (#352)
by php-br
61:36
created
src/Oro/Bundle/CronBundle/Command/DaemonMonitorCommand.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,14 +3,11 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\CronBundle\Command;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use JMS\JobQueueBundle\Entity\Job;
8
-
9 7
 use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
10 8
 use Symfony\Component\Console\Input\InputInterface;
11 9
 use Symfony\Component\Console\Input\InputOption;
12 10
 use Symfony\Component\Console\Output\OutputInterface;
13
-
14 11
 use Oro\Bundle\CronBundle\Job\Daemon;
15 12
 use Oro\Component\Log\OutputLogger;
16 13
 
Please login to merge, or discard this patch.
src/Oro/Bundle/CronBundle/Controller/JobController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,13 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\HttpFoundation\Response;
6 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
7
-
8 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
9 8
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
10
-
11 9
 use JMS\JobQueueBundle\Entity\Job;
12
-
13
-use Oro\Bundle\SecurityBundle\Annotation\Acl;
14 10
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
15 11
 
16 12
 /**
Please login to merge, or discard this patch.
src/Oro/Bundle/CronBundle/Entity/Manager/JobManager.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\ORM\EntityManager;
6 6
 use Doctrine\ORM\QueryBuilder;
7 7
 use Doctrine\Common\Util\ClassUtils;
8
-
9 8
 use JMS\JobQueueBundle\Entity\Job;
10 9
 use Symfony\Component\PropertyAccess\PropertyAccess;
11 10
 
Please login to merge, or discard this patch.
src/Oro/Bundle/CronBundle/Job/Daemon.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\CronBundle\Job;
4 4
 
5 5
 use Symfony\Component\Process\Process;
6
-
7 6
 use Oro\Bundle\InstallerBundle\Process\PhpExecutableFinder;
8 7
 
9 8
 class Daemon
Please login to merge, or discard this patch.
src/Oro/Bundle/CronBundle/Tests/Unit/Command/CleanupCommandTest.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 Oro\Bundle\CronBundle\Tests\Unit\Command;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Component\Console\Input\ArrayInput;
8 7
 use Symfony\Component\DependencyInjection\ContainerInterface;
9
-
10 8
 use Oro\Bundle\CronBundle\Command\CleanupCommand;
11 9
 use Oro\Bundle\CronBundle\Tests\Unit\Stub\MemoryOutput;
12 10
 use Oro\Bundle\TestFrameworkBundle\Test\Doctrine\ORM\OrmTestCase;
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Controller/Api/Rest/WidgetController.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -3,18 +3,13 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DashboardBundle\Controller\Api\Rest;
4 4
 
5 5
 use Doctrine\Common\Persistence\ObjectManager;
6
-
7 6
 use FOS\RestBundle\Util\Codes;
8 7
 use FOS\RestBundle\Controller\Annotations as Rest;
9 8
 use FOS\RestBundle\Controller\FOSRestController;
10 9
 use FOS\RestBundle\Routing\ClassResourceInterface;
11
-
12 10
 use Nelmio\ApiDocBundle\Annotation\ApiDoc;
13
-
14 11
 use Symfony\Component\HttpFoundation\Response;
15
-
16 12
 use Oro\Bundle\DashboardBundle\Model\Manager;
17
-
18 13
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
19 14
 use Oro\Bundle\SecurityBundle\Annotation\AclAncestor;
20 15
 
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Controller/DashboardController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -3,18 +3,14 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DashboardBundle\Controller;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Bundle\FrameworkBundle\Controller\Controller;
8 7
 use Symfony\Component\HttpFoundation\Request;
9 8
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
10
-
11 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
12 10
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
13 11
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
14
-
15 12
 use Oro\Bundle\SecurityBundle\Annotation\Acl;
16 13
 use Oro\Bundle\SecurityBundle\SecurityFacade;
17
-
18 14
 use Oro\Bundle\DashboardBundle\Entity\Repository\DashboardRepository;
19 15
 use Oro\Bundle\DashboardBundle\Entity\Dashboard;
20 16
 use Oro\Bundle\DashboardBundle\Entity\Widget;
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Entity/Widget.php 1 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
 
89 89
     /**
90
-     * @return array
90
+     * @return integer
91 91
      */
92 92
     public function getLayoutPosition()
93 93
     {
Please login to merge, or discard this patch.
src/Oro/Bundle/DashboardBundle/Form/Type/WidgetBusinessUnitSelect.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace Oro\Bundle\DashboardBundle\Form\Type;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Symfony\Component\Form\AbstractType;
8 7
 use Symfony\Component\Form\FormEvent;
9 8
 use Symfony\Component\Form\FormEvents;
10 9
 use Symfony\Component\Form\FormBuilderInterface;
11 10
 use Symfony\Component\OptionsResolver\OptionsResolver;
12
-
13 11
 use Oro\Bundle\FormBundle\Form\DataTransformer\EntitiesToIdsTransformer;
14 12
 
15 13
 /**
Please login to merge, or discard this patch.