From d81afb89f26eeeb99665bb8e1d06b91520c43433 Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Thu, 8 Sep 2022 12:48:19 +0200 Subject: [PATCH] Revert "rename files for coherence with naming elsewhere" This reverts commit 5f2622d0d2fd7b10a4bb79ce1026f46f07b5f38c. --- .../Export/{CountCalendars.php => CountAppointments.php} | 3 ++- ...tCalendarAvgDuration.php => StatAppointmentAvgDuration.php} | 2 +- ...tCalendarSumDuration.php => StatAppointmentSumDuration.php} | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename src/Bundle/ChillCalendarBundle/Export/Export/{CountCalendars.php => CountAppointments.php} (95%) rename src/Bundle/ChillCalendarBundle/Export/Export/{StatCalendarAvgDuration.php => StatAppointmentAvgDuration.php} (96%) rename src/Bundle/ChillCalendarBundle/Export/Export/{StatCalendarSumDuration.php => StatAppointmentSumDuration.php} (96%) diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/CountCalendars.php b/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php similarity index 95% rename from src/Bundle/ChillCalendarBundle/Export/Export/CountCalendars.php rename to src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php index edf654a10..b9da17114 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/CountCalendars.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/CountAppointments.php @@ -22,8 +22,9 @@ use Doctrine\ORM\AbstractQuery; use Doctrine\ORM\QueryBuilder; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Process\Exception\LogicException; +use Symfony\Component\Security\Core\Role\Role; -class CountCalendars implements ExportInterface, GroupedExportInterface +class CountAppointments implements ExportInterface, GroupedExportInterface { private CalendarRepository $calendarRepository; diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/StatCalendarAvgDuration.php b/src/Bundle/ChillCalendarBundle/Export/Export/StatAppointmentAvgDuration.php similarity index 96% rename from src/Bundle/ChillCalendarBundle/Export/Export/StatCalendarAvgDuration.php rename to src/Bundle/ChillCalendarBundle/Export/Export/StatAppointmentAvgDuration.php index 51e94a288..491cb38b9 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/StatCalendarAvgDuration.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/StatAppointmentAvgDuration.php @@ -22,7 +22,7 @@ use Doctrine\ORM\QueryBuilder; use LogicException; use Symfony\Component\Form\FormBuilderInterface; -class StatCalendarAvgDuration implements ExportInterface, GroupedExportInterface +class StatAppointmentAvgDuration implements ExportInterface, GroupedExportInterface { private CalendarRepository $calendarRepository; diff --git a/src/Bundle/ChillCalendarBundle/Export/Export/StatCalendarSumDuration.php b/src/Bundle/ChillCalendarBundle/Export/Export/StatAppointmentSumDuration.php similarity index 96% rename from src/Bundle/ChillCalendarBundle/Export/Export/StatCalendarSumDuration.php rename to src/Bundle/ChillCalendarBundle/Export/Export/StatAppointmentSumDuration.php index 51591c670..286c73be5 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Export/StatCalendarSumDuration.php +++ b/src/Bundle/ChillCalendarBundle/Export/Export/StatAppointmentSumDuration.php @@ -22,7 +22,7 @@ use Doctrine\ORM\QueryBuilder; use LogicException; use Symfony\Component\Form\FormBuilderInterface; -class StatCalendarSumDuration implements ExportInterface, GroupedExportInterface +class StatAppointmentSumDuration implements ExportInterface, GroupedExportInterface { private CalendarRepository $calendarRepository;