mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Replace deprecated extends Controller by AbstractController
This commit is contained in:
parent
99e2712cbc
commit
8029b9b8ff
@ -20,15 +20,15 @@
|
||||
|
||||
namespace Chill\EventBundle\Controller;
|
||||
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
|
||||
/**
|
||||
* Controller for the event configuration section (in
|
||||
* the admin)
|
||||
* Class AdminController
|
||||
* Controller for the event configuration section (in admin section)
|
||||
*
|
||||
* @package Chill\EventBundle\Controller
|
||||
*/
|
||||
class AdminController extends Controller
|
||||
class AdminController extends AbstractController
|
||||
{
|
||||
public function indexAction()
|
||||
{
|
||||
|
@ -29,6 +29,7 @@ use PhpOffice\PhpSpreadsheet\Spreadsheet;
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Csv;
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Ods;
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
|
||||
use Symfony\Component\HttpFoundation\StreamedResponse;
|
||||
use Chill\EventBundle\Security\Authorization\EventVoter;
|
||||
@ -37,7 +38,6 @@ use Chill\PersonBundle\Entity\Person;
|
||||
use Chill\PersonBundle\Privacy\PrivacyEvent;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
use Chill\PersonBundle\Form\Type\PickPersonType;
|
||||
use Chill\EventBundle\Entity\Event;
|
||||
use Chill\EventBundle\Form\EventType;
|
||||
@ -53,10 +53,11 @@ use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter;
|
||||
|
||||
|
||||
/**
|
||||
* Event controller.
|
||||
* Class EventController
|
||||
*
|
||||
* @package Chill\EventBundle\Controller
|
||||
*/
|
||||
class EventController extends Controller
|
||||
class EventController extends AbstractController
|
||||
{
|
||||
/**
|
||||
* @var EventDispatcherInterface
|
||||
|
@ -2,18 +2,19 @@
|
||||
|
||||
namespace Chill\EventBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
|
||||
use Chill\EventBundle\Entity\EventType;
|
||||
use Chill\EventBundle\Form\EventTypeType;
|
||||
|
||||
/**
|
||||
* EventType controller.
|
||||
* Class EventTypeController
|
||||
*
|
||||
* @package Chill\EventBundle\Controller
|
||||
*/
|
||||
class EventTypeController extends Controller
|
||||
class EventTypeController extends AbstractController
|
||||
{
|
||||
|
||||
/**
|
||||
|
@ -21,7 +21,7 @@ namespace Chill\EventBundle\Controller;
|
||||
|
||||
use ArrayIterator;
|
||||
use Chill\EventBundle\Entity\Event;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Chill\EventBundle\Entity\Participation;
|
||||
@ -36,7 +36,7 @@ use Symfony\Component\Form\Extension\Core\Type\CollectionType;
|
||||
* @package Chill\EventBundle\Controller
|
||||
* @author Julien Fastré <julien.fastre@champs-libres.coop>
|
||||
*/
|
||||
class ParticipationController extends Controller
|
||||
class ParticipationController extends AbstractController
|
||||
{
|
||||
|
||||
/**
|
||||
|
@ -2,18 +2,18 @@
|
||||
|
||||
namespace Chill\EventBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
|
||||
use Chill\EventBundle\Entity\Role;
|
||||
use Chill\EventBundle\Form\RoleType;
|
||||
|
||||
/**
|
||||
* Role controller.
|
||||
* Class RoleController
|
||||
*
|
||||
* @package Chill\EventBundle\Controller
|
||||
*/
|
||||
class RoleController extends Controller
|
||||
class RoleController extends AbstractController
|
||||
{
|
||||
|
||||
/**
|
||||
|
@ -2,18 +2,19 @@
|
||||
|
||||
namespace Chill\EventBundle\Controller;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
|
||||
|
||||
use Chill\EventBundle\Entity\Status;
|
||||
use Chill\EventBundle\Form\StatusType;
|
||||
|
||||
/**
|
||||
* Status controller.
|
||||
* Class StatusController
|
||||
*
|
||||
* @package Chill\EventBundle\Controller
|
||||
*/
|
||||
class StatusController extends Controller
|
||||
class StatusController extends AbstractController
|
||||
{
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user