Test Setup Failed
Push — master ( 10eb12...0c385b )
by Angel Fernando Quiroz
213:59 queued 150:07
created
src/Chamilo/CoreBundle/Migrations/Data/ORM/LoadSettingsData.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -5,11 +5,9 @@
 block discarded – undo
5 5
 
6 6
 use Chamilo\CoreBundle\Entity\SettingsCurrent;
7 7
 use Chamilo\CoreBundle\Entity\SettingsOptions;
8
-
9 8
 use Doctrine\Common\DataFixtures\OrderedFixtureInterface;
10 9
 use Doctrine\Common\DataFixtures\AbstractFixture;
11 10
 use Doctrine\Common\Persistence\ObjectManager;
12
-
13 11
 use Symfony\Component\DependencyInjection\ContainerAwareInterface;
14 12
 use Symfony\Component\DependencyInjection\ContainerInterface;
15 13
 use Oro\Bundle\MigrationBundle\Fixture\VersionedFixtureInterface;
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Security/Authorization/Voter/GroupVoter.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,11 +3,9 @@
 block discarded – undo
3 3
 
4 4
 namespace Chamilo\CoreBundle\Security\Authorization\Voter;
5 5
 
6
-use Chamilo\CoreBundle\Entity\Course;
7 6
 use Chamilo\CourseBundle\Entity\CGroupInfo;
8 7
 use Chamilo\CoreBundle\Entity\Manager\CourseManager;
9 8
 use Chamilo\CourseBundle\Entity\Manager\GroupManager;
10
-use Chamilo\CoreBundle\Entity\Session;
11 9
 use Chamilo\UserBundle\Entity\User;
12 10
 use Doctrine\ORM\EntityManager;
13 11
 use Symfony\Component\DependencyInjection\ContainerInterface;
Please login to merge, or discard this patch.
src/Chamilo/CoreBundle/Security/Authorization/Voter/ResourceNodeVoter.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -6,13 +6,8 @@
 block discarded – undo
6 6
 use Chamilo\CoreBundle\Entity\Course;
7 7
 use Chamilo\CoreBundle\Entity\Resource\ResourceLink;
8 8
 use Chamilo\CoreBundle\Entity\Resource\ResourceNode;
9
-use Chamilo\CoreBundle\Entity\Resource\ResourceRights;
10 9
 use Chamilo\CoreBundle\Entity\Session;
11
-use Chamilo\CoreBundle\Entity\ToolResourceRights;
12
-use Doctrine\Common\Collections\ArrayCollection;
13
-use Sonata\AdminBundle\Security\Acl\Permission\AdminPermissionMap;
14 10
 use Symfony\Component\DependencyInjection\ContainerInterface;
15
-use Symfony\Component\Security\Acl\Domain\UserSecurityIdentity;
16 11
 use Symfony\Component\Security\Core\Authorization\Voter\AbstractVoter;
17 12
 use Symfony\Component\Security\Core\User\UserInterface;
18 13
 use Zend\Permissions\Acl\Acl;
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Controller/CToolIntroController.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 Chamilo\CoreBundle\Component\Editor\CkEditor\Toolbar\Introduction;
7 7
 use Chamilo\CourseBundle\Controller\ToolBaseController;
8 8
 use Chamilo\CourseBundle\Entity\CToolIntro;
9
-use Chamilo\CourseBundle\Form\Type\CToolIntroType;
10 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
11 10
 use Symfony\Component\HttpFoundation\Response;
12 11
 use Symfony\Component\Routing\Annotation\Route;
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Controller/Home/HomeController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -7,14 +7,11 @@
 block discarded – undo
7 7
 use Symfony\Component\HttpFoundation\Response;
8 8
 use Symfony\Component\Routing\Annotation\Route;
9 9
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
10
-use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
11 10
 use Chamilo\CourseBundle\Entity\CTool;
12 11
 use Display;
13 12
 use CourseHome;
14 13
 use Symfony\Component\HttpFoundation\Request;
15 14
 
16
-use Symfony\Component\Security\Core\Exception\AccessDeniedException;
17
-
18 15
 /**
19 16
  * Class HomeController
20 17
  * @package Chamilo\CourseBundle\Controller\Home
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Controller/ToolBaseController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,9 +4,7 @@
 block discarded – undo
4 4
 namespace Chamilo\CourseBundle\Controller;
5 5
 
6 6
 use Chamilo\CoreBundle\Controller\BaseController;
7
-use Knp\Menu\FactoryInterface as MenuFactoryInterface;
8 7
 use Knp\Menu\ItemInterface as MenuItemInterface;
9
-use Knp\Menu\Renderer\ListRenderer;
10 8
 use Symfony\Component\HttpFoundation\Request;
11 9
 use Chamilo\CoreBundle\Entity\Course;
12 10
 use Chamilo\CoreBundle\Entity\Session;
Please login to merge, or discard this patch.
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.