Test Setup Failed
Push — master ( 4b65d4...a1d720 )
by Angel Fernando Quiroz
129:03 queued 65:02
created
src/Chamilo/CourseBundle/Controller/ToolBaseCrudController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,11 +3,8 @@
 block discarded – undo
3 3
 
4 4
 namespace Chamilo\CourseBundle\Controller;
5 5
 
6
-use Chamilo\CoreBundle\Controller\BaseController;
7 6
 use Chamilo\CoreBundle\Controller\BaseResourceController;
8
-use Knp\Menu\FactoryInterface as MenuFactoryInterface;
9 7
 use Knp\Menu\ItemInterface as MenuItemInterface;
10
-use Knp\Menu\Renderer\ListRenderer;
11 8
 use Symfony\Component\HttpFoundation\Request;
12 9
 use Chamilo\CoreBundle\Entity\Course;
13 10
 use Chamilo\CoreBundle\Entity\Session;
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Controller/ToolController.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -4,15 +4,11 @@
 block discarded – undo
4 4
 namespace Chamilo\CourseBundle\Controller;
5 5
 
6 6
 use Chamilo\CoreBundle\Entity\Resource\AbstractResource;
7
-use Doctrine\ORM\QueryBuilder;
8 7
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
9
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
10 8
 use Symfony\Component\HttpFoundation\Response;
11
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
12 9
 use APY\DataGridBundle\Grid\Source\Entity;
13 10
 use APY\DataGridBundle\Grid\Export\CSVExport;
14 11
 use APY\DataGridBundle\Grid\Export\ExcelExport;
15
-use APY\DataGridBundle\Grid\Export\PHPExcelPDFExport;
16 12
 //use APY\DataGridBundle\Grid\Export\XmlExport;
17 13
 
18 14
 use APY\DataGridBundle\Grid\Action\MassAction;
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Entity/CTool.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,6 @@
 block discarded – undo
7 7
 use Symfony\Component\Validator\Constraints as Assert;
8 8
 use Symfony\Component\Validator\Mapping\ClassMetadata;
9 9
 use Chamilo\CoreBundle\Entity\Course;
10
-use Symfony\Component\HttpFoundation\File\UploadedFile;
11
-use APY\DataGridBundle\Grid\Mapping as GRID;
12 10
 
13 11
 /**
14 12
  * CTool
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Entity/Manager/GroupManager.php 1 patch
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -3,14 +3,8 @@
 block discarded – undo
3 3
 
4 4
 namespace Chamilo\CourseBundle\Entity\Manager;
5 5
 
6
-use Chamilo\CoreBundle\Entity\Repository\CourseRepository;
7 6
 use Chamilo\CourseBundle\Entity\CGroupInfo;
8 7
 use Sonata\CoreBundle\Model\BaseEntityManager;
9
-use Chamilo\CoreBundle\Entity\Course;
10
-use Chamilo\UserBundle\Entity\User;
11
-use Sonata\DatagridBundle\Pager\Doctrine\pager;
12
-use Sonata\DatagridBundle\ProxyQuery\Doctrine\ProxyQuery;
13
-use Doctrine\Common\Collections\Criteria;
14 8
 
15 9
 /**
16 10
  * Class CourseManager
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/EventListener/CourseListener.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,9 +7,7 @@  discard block
 block discarded – undo
7 7
 use Chamilo\CoreBundle\Security\Authorization\Voter\CourseVoter;
8 8
 use Chamilo\CoreBundle\Security\Authorization\Voter\SessionVoter;
9 9
 use Chamilo\CoreBundle\Security\Authorization\Voter\GroupVoter;
10
-use Chamilo\CoreBundle\Framework\Container;
11 10
 use Doctrine\ORM\EntityManager;
12
-use Chamilo\UserBundle\Entity\User;
13 11
 use Symfony\Component\HttpFoundation\Request;
14 12
 use Symfony\Component\HttpKernel\Event\GetResponseEvent;
15 13
 use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
@@ -19,7 +17,6 @@  discard block
 block discarded – undo
19 17
 use Chamilo\CoreBundle\Entity\Course;
20 18
 use Chamilo\CoreBundle\Entity\Session;
21 19
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
22
-use Symfony\Component\HttpKernel\HttpKernelInterface;
23 20
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
24 21
 use Chamilo\CourseBundle\Event\CourseAccess;
25 22
 use Chamilo\CourseBundle\Event\SessionAccess;
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/Command/PlatformUpdateCommand.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 /* For licensing terms, see /license.txt */
3 3
 
4 4
 use ChamiloSession as Session;
5
-
6 5
 use Chamilo\UserBundle\Entity\User;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/CommandExecutor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 /* For licensing terms, see /license.txt */
3 3
 
4 4
 use ChamiloSession as Session;
5
-
6 5
 use Chamilo\UserBundle\Entity\User;
7 6
 
8 7
 /**
Please login to merge, or discard this patch.
src/Chamilo/InstallerBundle/Process/Step/SetupStep.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Sylius\Bundle\FlowBundle\Process\Context\ProcessContextInterface;
7 7
 use Chamilo\CoreBundle\Migrations\Data\ORM\LoadAdminUserData;
8 8
 //use Oro\Bundle\ConfigBundle\Config\ConfigManager;
9
-use Sylius\Bundle\SettingsBundle\Manager\SettingsManager;
10 9
 use Symfony\Component\HttpFoundation\Response;
11 10
 use Chamilo\UserBundle\Entity\User;
12 11
 
Please login to merge, or discard this patch.
src/Chamilo/NotebookBundle/Controller/NotebookController.php 1 patch
Unused Use Statements   -11 removed lines patch added patch discarded remove patch
@@ -4,23 +4,14 @@  discard block
 block discarded – undo
4 4
 namespace Chamilo\NotebookBundle\Controller;
5 5
 
6 6
 use Chamilo\CoreBundle\Entity\Resource\AbstractResource;
7
-use Chamilo\CoreBundle\Entity\Resource\ResourceLink;
8
-use Chamilo\CoreBundle\Entity\Resource\ResourceNode;
9 7
 use Chamilo\CoreBundle\Entity\Resource\ResourceRights;
10
-use Chamilo\CoreBundle\Entity\Tool;
11
-use Chamilo\CoreBundle\Entity\ToolResourceRights;
12 8
 use Chamilo\CoreBundle\Security\Authorization\Voter\ResourceNodeVoter;
13 9
 use Chamilo\NotebookBundle\Tool\Notebook;
14
-use Doctrine\ORM\QueryBuilder;
15 10
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
16
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
17
-use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;
18 11
 use Symfony\Component\HttpFoundation\Response;
19
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
20 12
 use APY\DataGridBundle\Grid\Source\Entity;
21 13
 use APY\DataGridBundle\Grid\Export\CSVExport;
22 14
 use APY\DataGridBundle\Grid\Export\ExcelExport;
23
-use APY\DataGridBundle\Grid\Export\PHPExcelPDFExport;
24 15
 //use APY\DataGridBundle\Grid\Export\XmlExport;
25 16
 
26 17
 use APY\DataGridBundle\Grid\Action\MassAction;
@@ -30,8 +21,6 @@  discard block
 block discarded – undo
30 21
 use Chamilo\NotebookBundle\Entity\NotebookManager;
31 22
 use Chamilo\NotebookBundle\Entity\CNotebook;
32 23
 use Chamilo\CourseBundle\Controller\ToolBaseCrudController;
33
-use Symfony\Component\Security\Acl\Permission\MaskBuilder;
34
-use Symfony\Component\Translation\Exception\NotFoundResourceException;
35 24
 
36 25
 /**
37 26
  * Class NotebookController
Please login to merge, or discard this patch.