Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️
PHP attendize-alternativedoor-managementevent-check-inevent-managementevent-registrationevent-ticketingeventbrite-alternativeeventslaravelopen-sourcephpreactself-hostedsell-ticketssell-tickets-onlineticket-sellingticketing-systemtickettailor-alternativetito-alternative
clean up
Dave Earley1679396f42ee
diff --git a/backend/app/DomainObjects/AbstractDomainObject.php b/backend/app/DomainObjects/AbstractDomainObject.phpindex 5db9b9f35..9f36e80f7 100644--- a/backend/app/DomainObjects/AbstractDomainObject.php+++ b/backend/app/DomainObjects/AbstractDomainObject.php@@ -2,10 +2,10 @@namespace HiEvents\DomainObjects;+use HiEvents\DomainObjects\Interfaces\DomainObjectInterface;use Illuminate\Contracts\Support\Arrayable;use Illuminate\Database\Eloquent\Model;use InvalidArgumentException;-use HiEvents\DomainObjects\Interfaces\DomainObjectInterface;abstract class AbstractDomainObject implements DomainObjectInterface, Arrayable{diff --git a/backend/app/DomainObjects/AttendeeDomainObject.php b/backend/app/DomainObjects/AttendeeDomainObject.phpindex a28ad7c5c..c8101dd73 100644--- a/backend/app/DomainObjects/AttendeeDomainObject.php+++ b/backend/app/DomainObjects/AttendeeDomainObject.php@@ -2,10 +2,10 @@namespace HiEvents\DomainObjects;-use Illuminate\Support\Collection;use HiEvents\DomainObjects\Interfaces\IsFilterable;use HiEvents\DomainObjects\Interfaces\IsSortable;use HiEvents\DomainObjects\SortingAndFiltering\AllowedSorts;+use Illuminate\Support\Collection;class AttendeeDomainObject extends Generated\AttendeeDomainObjectAbstract implements IsSortable, IsFilterable{diff --git a/backend/app/DomainObjects/OrderDomainObject.php b/backend/app/DomainObjects/OrderDomainObject.phpindex c2b547b7f..cf05e4044 100644--- a/backend/app/DomainObjects/OrderDomainObject.php+++ b/backend/app/DomainObjects/OrderDomainObject.php@@ -2,11 +2,11 @@namespace HiEvents\DomainObjects;-use Illuminate\Support\Collection;use HiEvents\DomainObjects\Interfaces\IsSortable;use HiEvents\DomainObjects\SortingAndFiltering\AllowedSorts;use HiEvents\DomainObjects\Status\OrderPaymentStatus;use HiEvents\DomainObjects\Status\OrderStatus;+use Illuminate\Support\Collection;class OrderDomainObject extends Generated\OrderDomainObjectAbstract implements IsSortable{diff --git a/backend/app/DomainObjects/QuestionDomainObject.php b/backend/app/DomainObjects/QuestionDomainObject.phpindex b869011bd..6ddd5a133 100644--- a/backend/app/DomainObjects/QuestionDomainObject.php+++ b/backend/app/DomainObjects/QuestionDomainObject.php@@ -2,8 +2,8 @@namespace HiEvents\DomainObjects;-use Illuminate\Support\Collection;use HiEvents\DomainObjects\Enums\QuestionTypeEnum;+use Illuminate\Support\Collection;class QuestionDomainObject extends Generated\QuestionDomainObjectAbstract{diff --git a/backend/app/DomainObjects/TicketDomainObject.php b/backend/app/DomainObjects/TicketDomainObject.phpindex 415a85725..78c6e33d0 100644--- a/backend/app/DomainObjects/TicketDomainObject.php+++ b/backend/app/DomainObjects/TicketDomainObject.php@@ -3,11 +3,11 @@namespace HiEvents\DomainObjects;use Carbon\Carbon;-use Illuminate\Support\Collection;-use LogicException;use HiEvents\DomainObjects\Enums\TicketType;use HiEvents\DomainObjects\Interfaces\IsSortable;use HiEvents\DomainObjects\SortingAndFiltering\AllowedSorts;+use Illuminate\Support\Collection;+use LogicException;class TicketDomainObject extends Generated\TicketDomainObjectAbstract implements IsSortable{diff --git a/backend/app/DomainObjects/TicketPriceDomainObject.php b/backend/app/DomainObjects/TicketPriceDomainObject.phpindex 1e249eec4..e4eb43fe0 100644--- a/backend/app/DomainObjects/TicketPriceDomainObject.php+++ b/backend/app/DomainObjects/TicketPriceDomainObject.php@@ -3,8 +3,8 @@namespace HiEvents\DomainObjects;use Carbon\Carbon;-use LogicException;use HiEvents\Helper\Currency;+use LogicException;class TicketPriceDomainObject extends Generated\TicketPriceDomainObjectAbstract{diff --git a/backend/app/Events/EventUpdateEvent.php b/backend/app/Events/EventUpdateEvent.phpindex 72858ed31..77f5d7ab7 100644--- a/backend/app/Events/EventUpdateEvent.php+++ b/backend/app/Events/EventUpdateEvent.php@@ -2,8 +2,8 @@namespace HiEvents\Events;-use Illuminate\Foundation\Events\Dispatchable;use HiEvents\DomainObjects\EventDomainObject;+use Illuminate\Foundation\Events\Dispatchable;class EventUpdateEvent{diff --git a/backend/app/Events/OrderStatusChangedEvent.php b/backend/app/Events/OrderStatusChangedEvent.phpindex b3c8fd034..e5d9f0b98 100644--- a/backend/app/Events/OrderStatusChangedEvent.php+++ b/backend/app/Events/OrderStatusChangedEvent.php@@ -2,8 +2,8 @@namespace HiEvents\Events;-use Illuminate\Foundation\Events\Dispatchable;use HiEvents\DomainObjects\OrderDomainObject;+use Illuminate\Foundation\Events\Dispatchable;class OrderStatusChangedEvent{diff --git a/backend/app/Exceptions/CannotAcceptPaymentException.php b/backend/app/Exceptions/CannotAcceptPaymentException.phpindex 20a62e8b7..ddc2916b5 100644--- a/backend/app/Exceptions/CannotAcceptPaymentException.php+++ b/backend/app/Exceptions/CannotAcceptPaymentException.php@@ -2,8 +2,6 @@namespace HiEvents\Exceptions;-use Exception;-class CannotAcceptPaymentException extends BaseException{diff --git a/backend/app/Exceptions/UnauthorizedException.php b/backend/app/Exceptions/UnauthorizedException.phpindex f055c8de3..254fe1677 100644--- a/backend/app/Exceptions/UnauthorizedException.php+++ b/backend/app/Exceptions/UnauthorizedException.php@@ -2,9 +2,9 @@namespace HiEvents\Exceptions;+use HiEvents\Http\ResponseCodes;use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException;use Throwable;-use HiEvents\Http\ResponseCodes;class UnauthorizedException extends AccessDeniedHttpException{diff --git a/backend/app/Exports/OrdersExport.php b/backend/app/Exports/OrdersExport.phpindex d881a7dea..0073b2b2b 100644--- a/backend/app/Exports/OrdersExport.php+++ b/backend/app/Exports/OrdersExport.php@@ -3,6 +3,11 @@namespace HiEvents\Exports;use Carbon\Carbon;+use HiEvents\DomainObjects\Enums\QuestionTypeEnum;+use HiEvents\DomainObjects\OrderDomainObject;+use HiEvents\DomainObjects\QuestionDomainObject;+use HiEvents\Resources\Order\OrderResource;+use HiEvents\Services\Domain\Question\QuestionAnswerFormatter;use Illuminate\Http\Resources\Json\AnonymousResourceCollection;use Illuminate\Pagination\LengthAwarePaginator;use Illuminate\Support\Collection;@@ -11,11 +16,6 @@ use Maatwebsite\Excel\Concerns\WithHeadings;use Maatwebsite\Excel\Concerns\WithMapping;use Maatwebsite\Excel\Concerns\WithStyles;use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;-use HiEvents\DomainObjects\Enums\QuestionTypeEnum;-use HiEvents\DomainObjects\OrderDomainObject;-use HiEvents\DomainObjects\QuestionDomainObject;-use HiEvents\Resources\Order\OrderResource;-use HiEvents\Services\Domain\Question\QuestionAnswerFormatter;class OrdersExport implements FromCollection, WithHeadings, WithMapping, WithStyles{diff --git a/backend/app/Exports/PromoCodesExport.php b/backend/app/Exports/PromoCodesExport.phpindex 571d5ffee..f75e7bee2 100644--- a/backend/app/Exports/PromoCodesExport.php+++ b/backend/app/Exports/PromoCodesExport.php@@ -2,12 +2,12 @@namespace HiEvents\Exports;+use HiEvents\Resources\PromoCode\PromoCodeResource;use Maatwebsite\Excel\Concerns\FromCollection;use Maatwebsite\Excel\Concerns\WithHeadings;use Maatwebsite\Excel\Concerns\WithMapping;use Maatwebsite\Excel\Concerns\WithStyles;use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;-use HiEvents\Resources\PromoCode\PromoCodeResource;class PromoCodesExport implements FromCollection, WithHeadings, WithMapping, WithStyles{diff --git a/backend/app/Http/Actions/Accounts/GetAccountAction.php b/backend/app/Http/Actions/Accounts/GetAccountAction.phpindex ad11d1b42..26f028063 100644--- a/backend/app/Http/Actions/Accounts/GetAccountAction.php+++ b/backend/app/Http/Actions/Accounts/GetAccountAction.php@@ -4,11 +4,11 @@ declare(strict_types=1);namespace HiEvents\Http\Actions\Accounts;-use Illuminate\Http\JsonResponse;use HiEvents\DomainObjects\Enums\Role;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\AccountRepositoryInterface;use HiEvents\Resources\Account\AccountResource;+use Illuminate\Http\JsonResponse;class GetAccountAction extends BaseAction{diff --git a/backend/app/Http/Actions/Attendees/ExportAttendeesAction.php b/backend/app/Http/Actions/Attendees/ExportAttendeesAction.phpindex 7458eac29..3d36e38c4 100644--- a/backend/app/Http/Actions/Attendees/ExportAttendeesAction.php+++ b/backend/app/Http/Actions/Attendees/ExportAttendeesAction.php@@ -2,16 +2,15 @@namespace HiEvents\Http\Actions\Attendees;-use Maatwebsite\Excel\Facades\Excel;-use Symfony\Component\HttpFoundation\BinaryFileResponse;use HiEvents\DomainObjects\Enums\QuestionBelongsTo;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\DomainObjects\QuestionAndAnswerViewDomainObject;use HiEvents\Exports\AttendeesExport;use HiEvents\Http\Actions\BaseAction;-use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Interfaces\AttendeeRepositoryInterface;use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;+use Maatwebsite\Excel\Facades\Excel;+use Symfony\Component\HttpFoundation\BinaryFileResponse;class ExportAttendeesAction extends BaseAction{diff --git a/backend/app/Http/Actions/Attendees/GetAttendeesAction.php b/backend/app/Http/Actions/Attendees/GetAttendeesAction.phpindex 70af52c15..06ac1be2d 100644--- a/backend/app/Http/Actions/Attendees/GetAttendeesAction.php+++ b/backend/app/Http/Actions/Attendees/GetAttendeesAction.php@@ -2,8 +2,6 @@namespace HiEvents\Http\Actions\Attendees;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\AttendeeDomainObject;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\DomainObjects\OrderDomainObject;@@ -12,6 +10,8 @@ use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Eloquent\Value\Relationship;use HiEvents\Repository\Interfaces\AttendeeRepositoryInterface;use HiEvents\Resources\Attendee\AttendeeResource;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;/*** @todo move to handlerdiff --git a/backend/app/Http/Actions/Auth/ForgotPasswordAction.php b/backend/app/Http/Actions/Auth/ForgotPasswordAction.phpindex b205837a7..693cbdab2 100644--- a/backend/app/Http/Actions/Auth/ForgotPasswordAction.php+++ b/backend/app/Http/Actions/Auth/ForgotPasswordAction.php@@ -2,11 +2,11 @@namespace HiEvents\Http\Actions\Auth;-use Illuminate\Http\JsonResponse;-use Symfony\Component\Routing\Exception\ResourceNotFoundException;use HiEvents\Http\Actions\BaseAction;use HiEvents\Http\Request\Auth\ForgotPasswordRequest;use HiEvents\Services\Handlers\Auth\ForgotPasswordHandler;+use Illuminate\Http\JsonResponse;+use Symfony\Component\Routing\Exception\ResourceNotFoundException;class ForgotPasswordAction extends BaseAction{diff --git a/backend/app/Http/Actions/Auth/ValidateResetPasswordTokenAction.php b/backend/app/Http/Actions/Auth/ValidateResetPasswordTokenAction.phpindex 0b3cbd9b1..51e6a1c4c 100644--- a/backend/app/Http/Actions/Auth/ValidateResetPasswordTokenAction.php+++ b/backend/app/Http/Actions/Auth/ValidateResetPasswordTokenAction.php@@ -2,13 +2,13 @@namespace HiEvents\Http\Actions\Auth;+use HiEvents\Exceptions\InvalidPasswordResetTokenException;+use HiEvents\Http\Actions\BaseAction;+use HiEvents\Services\Handlers\Auth\ValidateResetPasswordTokenHandler;use Illuminate\Http\Request;use Illuminate\Http\Response;use Symfony\Component\Routing\Exception\ResourceNotFoundException;use Throwable;-use HiEvents\Exceptions\InvalidPasswordResetTokenException;-use HiEvents\Http\Actions\BaseAction;-use HiEvents\Services\Handlers\Auth\ValidateResetPasswordTokenHandler;class ValidateResetPasswordTokenAction extends BaseAction{diff --git a/backend/app/Http/Actions/CheckInLists/UpdateCheckInListAction.php b/backend/app/Http/Actions/CheckInLists/UpdateCheckInListAction.phpindex b98050e7d..5599617da 100644--- a/backend/app/Http/Actions/CheckInLists/UpdateCheckInListAction.php+++ b/backend/app/Http/Actions/CheckInLists/UpdateCheckInListAction.php@@ -2,7 +2,6 @@namespace HiEvents\Http\Actions\CheckInLists;-use Carbon\Carbon;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Http\Request\CheckInList\UpsertCheckInListRequest;diff --git a/backend/app/Http/Actions/EventSettings/GetEventSettingsAction.php b/backend/app/Http/Actions/EventSettings/GetEventSettingsAction.phpindex db20b7c0d..9b6a59d94 100644--- a/backend/app/Http/Actions/EventSettings/GetEventSettingsAction.php+++ b/backend/app/Http/Actions/EventSettings/GetEventSettingsAction.php@@ -2,12 +2,12 @@namespace HiEvents\Http\Actions\EventSettings;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Response;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\EventSettingsRepositoryInterface;use HiEvents\Resources\Event\EventSettingsResource;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Response;class GetEventSettingsAction extends BaseAction{diff --git a/backend/app/Http/Actions/Events/GetEventsAction.php b/backend/app/Http/Actions/Events/GetEventsAction.phpindex 469e31325..b9d17fec0 100644--- a/backend/app/Http/Actions/Events/GetEventsAction.php+++ b/backend/app/Http/Actions/Events/GetEventsAction.php@@ -7,7 +7,6 @@ namespace HiEvents\Http\Actions\Events;use HiEvents\DomainObjects\Enums\Role;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Http\Actions\BaseAction;-use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Resources\Event\EventResource;use HiEvents\Services\Handlers\Event\DTO\GetEventsDTO;use HiEvents\Services\Handlers\Event\GetEventsHandler;diff --git a/backend/app/Http/Actions/Events/Images/GetEventImagesAction.php b/backend/app/Http/Actions/Events/Images/GetEventImagesAction.phpindex ac3b3ad99..383909dc1 100644--- a/backend/app/Http/Actions/Events/Images/GetEventImagesAction.php+++ b/backend/app/Http/Actions/Events/Images/GetEventImagesAction.php@@ -2,12 +2,12 @@namespace HiEvents\Http\Actions\Events\Images;-use Illuminate\Http\JsonResponse;use HiEvents\DomainObjects\Enums\EventImageType;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\ImageRepositoryInterface;use HiEvents\Resources\Image\ImageResource;+use Illuminate\Http\JsonResponse;class GetEventImagesAction extends BaseAction{diff --git a/backend/app/Http/Actions/Events/Stats/GetEventCheckInStatsAction.php b/backend/app/Http/Actions/Events/Stats/GetEventCheckInStatsAction.phpindex d27466a33..0f8bbb918 100644--- a/backend/app/Http/Actions/Events/Stats/GetEventCheckInStatsAction.php+++ b/backend/app/Http/Actions/Events/Stats/GetEventCheckInStatsAction.php@@ -2,11 +2,11 @@namespace HiEvents\Http\Actions\Events\Stats;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Resources\Json\JsonResource;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Services\Handlers\Event\GetEventCheckInStatsHandler;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Resources\Json\JsonResource;class GetEventCheckInStatsAction extends BaseAction{diff --git a/backend/app/Http/Actions/Messages/GetMessagesAction.php b/backend/app/Http/Actions/Messages/GetMessagesAction.phpindex d1846a378..552d7f8a1 100644--- a/backend/app/Http/Actions/Messages/GetMessagesAction.php+++ b/backend/app/Http/Actions/Messages/GetMessagesAction.php@@ -2,8 +2,6 @@namespace HiEvents\Http\Actions\Messages;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\DomainObjects\MessageDomainObject;use HiEvents\DomainObjects\UserDomainObject;@@ -12,6 +10,8 @@ use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Eloquent\Value\Relationship;use HiEvents\Repository\Interfaces\MessageRepositoryInterface;use HiEvents\Resources\Message\MessageResource;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;class GetMessagesAction extends BaseAction{diff --git a/backend/app/Http/Actions/Orders/ExportOrdersAction.php b/backend/app/Http/Actions/Orders/ExportOrdersAction.phpindex 4267fa9f8..3acbbd5fc 100644--- a/backend/app/Http/Actions/Orders/ExportOrdersAction.php+++ b/backend/app/Http/Actions/Orders/ExportOrdersAction.php@@ -2,8 +2,6 @@namespace HiEvents\Http\Actions\Orders;-use Maatwebsite\Excel\Facades\Excel;-use Symfony\Component\HttpFoundation\BinaryFileResponse;use HiEvents\DomainObjects\Enums\QuestionBelongsTo;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\DomainObjects\QuestionAndAnswerViewDomainObject;@@ -12,6 +10,8 @@ use HiEvents\Http\Actions\BaseAction;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Interfaces\OrderRepositoryInterface;use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;+use Maatwebsite\Excel\Facades\Excel;+use Symfony\Component\HttpFoundation\BinaryFileResponse;class ExportOrdersAction extends BaseAction{diff --git a/backend/app/Http/Actions/Orders/GetOrderAction.php b/backend/app/Http/Actions/Orders/GetOrderAction.phpindex 1915f47b5..9773221e5 100644--- a/backend/app/Http/Actions/Orders/GetOrderAction.php+++ b/backend/app/Http/Actions/Orders/GetOrderAction.php@@ -2,13 +2,13 @@namespace HiEvents\Http\Actions\Orders;-use Illuminate\Http\JsonResponse;use HiEvents\DomainObjects\AttendeeDomainObject;use HiEvents\DomainObjects\OrderItemDomainObject;use HiEvents\DomainObjects\QuestionAndAnswerViewDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\OrderRepositoryInterface;use HiEvents\Resources\Order\OrderResource;+use Illuminate\Http\JsonResponse;class GetOrderAction extends BaseAction{diff --git a/backend/app/Http/Actions/Orders/GetOrdersAction.php b/backend/app/Http/Actions/Orders/GetOrdersAction.phpindex d45af6352..94824edc7 100644--- a/backend/app/Http/Actions/Orders/GetOrdersAction.php+++ b/backend/app/Http/Actions/Orders/GetOrdersAction.php@@ -2,8 +2,6 @@namespace HiEvents\Http\Actions\Orders;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\AttendeeDomainObject;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\DomainObjects\OrderDomainObject;@@ -12,6 +10,8 @@ use HiEvents\Http\Actions\BaseAction;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Interfaces\OrderRepositoryInterface;use HiEvents\Resources\Order\OrderResource;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;class GetOrdersAction extends BaseAction{diff --git a/backend/app/Http/Actions/Orders/Payment/Stripe/CreatePaymentIntentActionPublic.php b/backend/app/Http/Actions/Orders/Payment/Stripe/CreatePaymentIntentActionPublic.phpindex f7128ce6f..06516697d 100644--- a/backend/app/Http/Actions/Orders/Payment/Stripe/CreatePaymentIntentActionPublic.php+++ b/backend/app/Http/Actions/Orders/Payment/Stripe/CreatePaymentIntentActionPublic.php@@ -2,11 +2,11 @@namespace HiEvents\Http\Actions\Orders\Payment\Stripe;-use Illuminate\Http\JsonResponse;-use Symfony\Component\HttpFoundation\Response;use HiEvents\Exceptions\Stripe\CreatePaymentIntentFailedException;use HiEvents\Http\Actions\BaseAction;use HiEvents\Services\Handlers\Order\Payment\Stripe\CreatePaymentIntentHandler;+use Illuminate\Http\JsonResponse;+use Symfony\Component\HttpFoundation\Response;class CreatePaymentIntentActionPublic extends BaseAction{diff --git a/backend/app/Http/Actions/Orders/Payment/Stripe/GetPaymentIntentActionPublic.php b/backend/app/Http/Actions/Orders/Payment/Stripe/GetPaymentIntentActionPublic.phpindex e4a37b1e1..05dd6bf71 100644--- a/backend/app/Http/Actions/Orders/Payment/Stripe/GetPaymentIntentActionPublic.php+++ b/backend/app/Http/Actions/Orders/Payment/Stripe/GetPaymentIntentActionPublic.php@@ -2,9 +2,9 @@namespace HiEvents\Http\Actions\Orders\Payment\Stripe;-use Illuminate\Http\JsonResponse;use HiEvents\Http\Actions\BaseAction;use HiEvents\Services\Handlers\Order\Payment\Stripe\GetPaymentIntentHandler;+use Illuminate\Http\JsonResponse;class GetPaymentIntentActionPublic extends BaseAction{diff --git a/backend/app/Http/Actions/PromoCodes/GetPromoCodeAction.php b/backend/app/Http/Actions/PromoCodes/GetPromoCodeAction.phpindex 464a2f91b..8432a9c61 100644--- a/backend/app/Http/Actions/PromoCodes/GetPromoCodeAction.php+++ b/backend/app/Http/Actions/PromoCodes/GetPromoCodeAction.php@@ -2,12 +2,12 @@namespace HiEvents\Http\Actions\PromoCodes;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\PromoCodeRepositoryInterface;use HiEvents\Resources\PromoCode\PromoCodeResource;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;class GetPromoCodeAction extends BaseAction{diff --git a/backend/app/Http/Actions/PromoCodes/GetPromoCodePublic.php b/backend/app/Http/Actions/PromoCodes/GetPromoCodePublic.phpindex 15b6f86ab..7d97aee3c 100644--- a/backend/app/Http/Actions/PromoCodes/GetPromoCodePublic.php+++ b/backend/app/Http/Actions/PromoCodes/GetPromoCodePublic.php@@ -2,11 +2,11 @@namespace HiEvents\Http\Actions\PromoCodes;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\Generated\PromoCodeDomainObjectAbstract;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\PromoCodeRepositoryInterface;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;class GetPromoCodePublic extends BaseAction{diff --git a/backend/app/Http/Actions/PromoCodes/GetPromoCodesAction.php b/backend/app/Http/Actions/PromoCodes/GetPromoCodesAction.phpindex b8beb4425..ac85b16e0 100644--- a/backend/app/Http/Actions/PromoCodes/GetPromoCodesAction.php+++ b/backend/app/Http/Actions/PromoCodes/GetPromoCodesAction.php@@ -2,14 +2,14 @@namespace HiEvents\Http\Actions\PromoCodes;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\DomainObjects\PromoCodeDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Interfaces\PromoCodeRepositoryInterface;use HiEvents\Resources\PromoCode\PromoCodeResource;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;class GetPromoCodesAction extends BaseAction{diff --git a/backend/app/Http/Actions/Questions/DeleteQuestionAction.php b/backend/app/Http/Actions/Questions/DeleteQuestionAction.phpindex 0868e6e7d..e30bbc17f 100644--- a/backend/app/Http/Actions/Questions/DeleteQuestionAction.php+++ b/backend/app/Http/Actions/Questions/DeleteQuestionAction.php@@ -2,13 +2,13 @@namespace HiEvents\Http\Actions\Questions;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Response;-use Throwable;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Exceptions\CannotDeleteEntityException;use HiEvents\Http\Actions\BaseAction;use HiEvents\Services\Handlers\Question\DeleteQuestionHandler;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Response;+use Throwable;class DeleteQuestionAction extends BaseAction{diff --git a/backend/app/Http/Actions/Questions/GetQuestionAction.php b/backend/app/Http/Actions/Questions/GetQuestionAction.phpindex d4b247df0..6759fd3d4 100644--- a/backend/app/Http/Actions/Questions/GetQuestionAction.php+++ b/backend/app/Http/Actions/Questions/GetQuestionAction.php@@ -2,16 +2,13 @@namespace HiEvents\Http\Actions\Questions;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\EventDomainObject;-use HiEvents\DomainObjects\TaxAndFeesDomainObject;use HiEvents\DomainObjects\TicketDomainObject;-use HiEvents\DomainObjects\TicketPriceDomainObject;use HiEvents\Http\Actions\BaseAction;-use HiEvents\Repository\Eloquent\Value\Relationship;use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;use HiEvents\Resources\Question\QuestionResource;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;class GetQuestionAction extends BaseAction{diff --git a/backend/app/Http/Actions/Questions/GetQuestionsAction.php b/backend/app/Http/Actions/Questions/GetQuestionsAction.phpindex e184ba541..fa9fe3a4a 100644--- a/backend/app/Http/Actions/Questions/GetQuestionsAction.php+++ b/backend/app/Http/Actions/Questions/GetQuestionsAction.php@@ -2,16 +2,15 @@namespace HiEvents\Http\Actions\Questions;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\EventDomainObject;-use HiEvents\DomainObjects\Generated\QuestionDomainObjectAbstract;use HiEvents\DomainObjects\TicketDomainObject;use HiEvents\DomainObjects\TicketPriceDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Eloquent\Value\Relationship;use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;use HiEvents\Resources\Question\QuestionResource;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;class GetQuestionsAction extends BaseAction{diff --git a/backend/app/Http/Actions/Questions/GetQuestionsPublicAction.php b/backend/app/Http/Actions/Questions/GetQuestionsPublicAction.phpindex 7744041be..8fe825025 100644--- a/backend/app/Http/Actions/Questions/GetQuestionsPublicAction.php+++ b/backend/app/Http/Actions/Questions/GetQuestionsPublicAction.php@@ -2,13 +2,13 @@namespace HiEvents\Http\Actions\Questions;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Request;use HiEvents\DomainObjects\Generated\QuestionDomainObjectAbstract;use HiEvents\DomainObjects\TicketDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;use HiEvents\Resources\Question\QuestionResourcePublic;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Request;class GetQuestionsPublicAction extends BaseAction{diff --git a/backend/app/Http/Actions/Questions/SortQuestionsAction.php b/backend/app/Http/Actions/Questions/SortQuestionsAction.phpindex a7e5bc62d..0089ffc24 100644--- a/backend/app/Http/Actions/Questions/SortQuestionsAction.php+++ b/backend/app/Http/Actions/Questions/SortQuestionsAction.php@@ -2,13 +2,13 @@namespace HiEvents\Http\Actions\Questions;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Response;-use Symfony\Component\Routing\Exception\ResourceNotFoundException;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Http\Request\Questions\SortQuestionsRequest;use HiEvents\Services\Handlers\Question\SortQuestionsHandler;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Response;+use Symfony\Component\Routing\Exception\ResourceNotFoundException;class SortQuestionsAction extends BaseAction{diff --git a/backend/app/Http/Actions/TaxesAndFees/GetTaxOrFeeAction.php b/backend/app/Http/Actions/TaxesAndFees/GetTaxOrFeeAction.phpindex bbb8f21bc..f5007b8e8 100644--- a/backend/app/Http/Actions/TaxesAndFees/GetTaxOrFeeAction.php+++ b/backend/app/Http/Actions/TaxesAndFees/GetTaxOrFeeAction.php@@ -2,11 +2,11 @@namespace HiEvents\Http\Actions\TaxesAndFees;-use Illuminate\Http\JsonResponse;use HiEvents\DomainObjects\AccountDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\TaxAndFeeRepositoryInterface;use HiEvents\Resources\Tax\TaxAndFeeResource;+use Illuminate\Http\JsonResponse;class GetTaxOrFeeAction extends BaseAction{diff --git a/backend/app/Http/Actions/Tickets/DeleteTicketAction.php b/backend/app/Http/Actions/Tickets/DeleteTicketAction.phpindex 8b1274bb9..7c51cad3f 100644--- a/backend/app/Http/Actions/Tickets/DeleteTicketAction.php+++ b/backend/app/Http/Actions/Tickets/DeleteTicketAction.php@@ -4,13 +4,13 @@ declare(strict_types=1);namespace HiEvents\Http\Actions\Tickets;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Response;-use Symfony\Component\HttpFoundation\Response as HttpResponse;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Exceptions\CannotDeleteEntityException;use HiEvents\Http\Actions\BaseAction;use HiEvents\Services\Handlers\Ticket\DeleteTicketHandler;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Response;+use Symfony\Component\HttpFoundation\Response as HttpResponse;class DeleteTicketAction extends BaseAction{diff --git a/backend/app/Http/Actions/Tickets/GetTicketAction.php b/backend/app/Http/Actions/Tickets/GetTicketAction.phpindex 03a31a398..be28a9f4b 100644--- a/backend/app/Http/Actions/Tickets/GetTicketAction.php+++ b/backend/app/Http/Actions/Tickets/GetTicketAction.php@@ -4,7 +4,6 @@ declare(strict_types=1);namespace HiEvents\Http\Actions\Tickets;-use Illuminate\Http\JsonResponse;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\DomainObjects\Generated\TicketDomainObjectAbstract;use HiEvents\DomainObjects\TaxAndFeesDomainObject;@@ -12,6 +11,7 @@ use HiEvents\DomainObjects\TicketPriceDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\TicketRepositoryInterface;use HiEvents\Resources\Ticket\TicketResource;+use Illuminate\Http\JsonResponse;class GetTicketAction extends BaseAction{diff --git a/backend/app/Http/Actions/Tickets/SortTicketsAction.php b/backend/app/Http/Actions/Tickets/SortTicketsAction.phpindex 37bc31624..1e1777572 100644--- a/backend/app/Http/Actions/Tickets/SortTicketsAction.php+++ b/backend/app/Http/Actions/Tickets/SortTicketsAction.php@@ -2,13 +2,13 @@namespace HiEvents\Http\Actions\Tickets;-use Illuminate\Http\JsonResponse;-use Illuminate\Http\Response;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Exceptions\ResourceConflictException;use HiEvents\Http\Actions\BaseAction;use HiEvents\Http\Request\Ticket\SortTicketsRequest;use HiEvents\Services\Handlers\Ticket\SortTicketsHandler;+use Illuminate\Http\JsonResponse;+use Illuminate\Http\Response;class SortTicketsAction extends BaseAction{diff --git a/backend/app/Http/Actions/Users/GetMeAction.php b/backend/app/Http/Actions/Users/GetMeAction.phpindex 00d1e64fc..ff95cf98a 100644--- a/backend/app/Http/Actions/Users/GetMeAction.php+++ b/backend/app/Http/Actions/Users/GetMeAction.php@@ -2,9 +2,9 @@namespace HiEvents\Http\Actions\Users;-use Illuminate\Http\JsonResponse;use HiEvents\Http\Actions\Auth\BaseAuthAction;use HiEvents\Resources\User\UserResource;+use Illuminate\Http\JsonResponse;class GetMeAction extends BaseAuthAction{diff --git a/backend/app/Http/Actions/Users/GetUserAction.php b/backend/app/Http/Actions/Users/GetUserAction.phpindex 69bf928ef..a1d296def 100644--- a/backend/app/Http/Actions/Users/GetUserAction.php+++ b/backend/app/Http/Actions/Users/GetUserAction.php@@ -4,10 +4,8 @@ declare(strict_types=1);namespace HiEvents\Http\Actions\Users;-use HiEvents\DomainObjects\AccountUserDomainObject;use HiEvents\DomainObjects\Enums\Role;use HiEvents\Http\Actions\BaseAction;-use HiEvents\Repository\Eloquent\Value\Relationship;use HiEvents\Repository\Interfaces\UserRepositoryInterface;use HiEvents\Resources\User\UserResource;use Illuminate\Http\JsonResponse;diff --git a/backend/app/Http/Actions/Users/ResendInvitationAction.php b/backend/app/Http/Actions/Users/ResendInvitationAction.phpindex 814e74368..bb0cc0ff0 100644--- a/backend/app/Http/Actions/Users/ResendInvitationAction.php+++ b/backend/app/Http/Actions/Users/ResendInvitationAction.php@@ -4,7 +4,6 @@ namespace HiEvents\Http\Actions\Users;use HiEvents\DomainObjects\Enums\Role;use HiEvents\DomainObjects\Status\UserStatus;-use HiEvents\DomainObjects\UserDomainObject;use HiEvents\Http\Actions\BaseAction;use HiEvents\Repository\Interfaces\UserRepositoryInterface;use HiEvents\Services\Domain\User\SendUserInvitationService;diff --git a/backend/app/Http/DTO/QueryParamsDTO.php b/backend/app/Http/DTO/QueryParamsDTO.phpindex 713766a42..6e351bd91 100644--- a/backend/app/Http/DTO/QueryParamsDTO.php+++ b/backend/app/Http/DTO/QueryParamsDTO.php@@ -10,8 +10,8 @@ class QueryParamsDTO extends BaseDTOpublic function __construct(public readonly ?int $page = 1,public readonly ?int $per_page = 25,- public readonly ?string $sort_by = 'id',- public readonly ?string $sort_direction = 'desc',+ public readonly ?string $sort_by = null,+ public readonly ?string $sort_direction = null,public readonly ?string $query = null,/** @var Collection<FilterFieldDTO> */public readonly ?Collection $filter_fields = null,@@ -37,8 +37,8 @@ class QueryParamsDTO extends BaseDTOreturn new self(page: $data['page'] ?? 1,per_page: $data['per_page'] ?? 25,- sort_by: $data['sort_by'] ?? 'id',- sort_direction: $data['sort_direction'] ?? 'desc',+ sort_by: $data['sort_by'] ?? null,+ sort_direction: $data['sort_direction'] ?? null,query: $data['query'] ?? null,filter_fields: $filterFields,includes: $data['includes'] ?? null,diff --git a/backend/app/Http/Kernel.php b/backend/app/Http/Kernel.phpindex 50ae0df07..9891f7b25 100644--- a/backend/app/Http/Kernel.php+++ b/backend/app/Http/Kernel.php@@ -2,8 +2,16 @@namespace HiEvents\Http;+use HiEvents\Http\Middleware\Authenticate;+use HiEvents\Http\Middleware\EncryptCookies;+use HiEvents\Http\Middleware\PreventRequestsDuringMaintenance;+use HiEvents\Http\Middleware\RedirectIfAuthenticated;use HiEvents\Http\Middleware\SetAccountContext;use HiEvents\Http\Middleware\SetUserLocaleMiddleware;+use HiEvents\Http\Middleware\TrimStrings;+use HiEvents\Http\Middleware\TrustProxies;+use HiEvents\Http\Middleware\ValidateSignature;+use HiEvents\Http\Middleware\VerifyCsrfToken;use Illuminate\Auth\Middleware\AuthenticateWithBasicAuth;use Illuminate\Auth\Middleware\Authorize;use Illuminate\Auth\Middleware\EnsureEmailIsVerified;@@ -19,14 +27,6 @@ use Illuminate\Routing\Middleware\ThrottleRequests;use Illuminate\Session\Middleware\AuthenticateSession;use Illuminate\Session\Middleware\StartSession;use Illuminate\View\Middleware\ShareErrorsFromSession;-use HiEvents\Http\Middleware\Authenticate;-use HiEvents\Http\Middleware\EncryptCookies;-use HiEvents\Http\Middleware\PreventRequestsDuringMaintenance;-use HiEvents\Http\Middleware\RedirectIfAuthenticated;-use HiEvents\Http\Middleware\TrimStrings;-use HiEvents\Http\Middleware\TrustProxies;-use HiEvents\Http\Middleware\ValidateSignature;-use HiEvents\Http\Middleware\VerifyCsrfToken;class Kernel extends HttpKernel{diff --git a/backend/app/Http/Middleware/RedirectIfAuthenticated.php b/backend/app/Http/Middleware/RedirectIfAuthenticated.phpindex 833f7c1d6..61c9de969 100644--- a/backend/app/Http/Middleware/RedirectIfAuthenticated.php+++ b/backend/app/Http/Middleware/RedirectIfAuthenticated.php@@ -3,10 +3,10 @@namespace HiEvents\Http\Middleware;use Closure;+use HiEvents\Providers\RouteServiceProvider;use Illuminate\Http\Request;use Illuminate\Support\Facades\Auth;use Symfony\Component\HttpFoundation\Response;-use HiEvents\Providers\RouteServiceProvider;class RedirectIfAuthenticated{diff --git a/backend/app/Http/Request/Event/CreateEventImageRequest.php b/backend/app/Http/Request/Event/CreateEventImageRequest.phpindex be266c5be..4150d221b 100644--- a/backend/app/Http/Request/Event/CreateEventImageRequest.php+++ b/backend/app/Http/Request/Event/CreateEventImageRequest.php@@ -2,9 +2,9 @@namespace HiEvents\Http\Request\Event;+use HiEvents\DomainObjects\Enums\EventImageType;use Illuminate\Foundation\Http\FormRequest;use Illuminate\Validation\Rule;-use HiEvents\DomainObjects\Enums\EventImageType;class CreateEventImageRequest extends FormRequest{diff --git a/backend/app/Http/Request/Event/UpdateEventStatusRequest.php b/backend/app/Http/Request/Event/UpdateEventStatusRequest.phpindex d0464b53b..e0e2268fa 100644--- a/backend/app/Http/Request/Event/UpdateEventStatusRequest.php+++ b/backend/app/Http/Request/Event/UpdateEventStatusRequest.php@@ -2,9 +2,9 @@namespace HiEvents\Http\Request\Event;-use Illuminate\Validation\Rule;use HiEvents\DomainObjects\Status\EventStatus;use HiEvents\Http\Request\BaseRequest;+use Illuminate\Validation\Rule;class UpdateEventStatusRequest extends BaseRequest{diff --git a/backend/app/Http/Request/Message/SendMessageRequest.php b/backend/app/Http/Request/Message/SendMessageRequest.phpindex e518914eb..35f69c7b7 100644--- a/backend/app/Http/Request/Message/SendMessageRequest.php+++ b/backend/app/Http/Request/Message/SendMessageRequest.php@@ -2,9 +2,9 @@namespace HiEvents\Http\Request\Message;+use HiEvents\DomainObjects\Enums\MessageTypeEnum;use Illuminate\Foundation\Http\FormRequest;use Illuminate\Validation\Rules\In;-use HiEvents\DomainObjects\Enums\MessageTypeEnum;class SendMessageRequest extends FormRequest{diff --git a/backend/app/Http/Request/TaxOrFee/CreateTaxOrFeeRequest.php b/backend/app/Http/Request/TaxOrFee/CreateTaxOrFeeRequest.phpindex 721c3b7ad..c5f64e682 100644--- a/backend/app/Http/Request/TaxOrFee/CreateTaxOrFeeRequest.php+++ b/backend/app/Http/Request/TaxOrFee/CreateTaxOrFeeRequest.php@@ -2,10 +2,10 @@namespace HiEvents\Http\Request\TaxOrFee;-use Illuminate\Validation\Rule;use HiEvents\DomainObjects\Enums\TaxCalculationType;use HiEvents\DomainObjects\Enums\TaxType;use HiEvents\Http\Request\BaseRequest;+use Illuminate\Validation\Rule;class CreateTaxOrFeeRequest extends BaseRequest{diff --git a/backend/app/Http/Request/User/CreateUserRequest.php b/backend/app/Http/Request/User/CreateUserRequest.phpindex 508232bc5..9b5fffe96 100644--- a/backend/app/Http/Request/User/CreateUserRequest.php+++ b/backend/app/Http/Request/User/CreateUserRequest.php@@ -4,9 +4,9 @@ declare(strict_types=1);namespace HiEvents\Http\Request\User;-use Illuminate\Validation\Rule;use HiEvents\DomainObjects\Enums\Role;use HiEvents\Http\Request\BaseRequest;+use Illuminate\Validation\Rule;class CreateUserRequest extends BaseRequest{diff --git a/backend/app/Http/Request/User/UpdateMeRequest.php b/backend/app/Http/Request/User/UpdateMeRequest.phpindex 2970bb346..7d3790628 100644--- a/backend/app/Http/Request/User/UpdateMeRequest.php+++ b/backend/app/Http/Request/User/UpdateMeRequest.php@@ -2,9 +2,9 @@namespace HiEvents\Http\Request\User;+use HiEvents\Http\Request\BaseRequest;use HiEvents\Locale;use Illuminate\Validation\Rules\Password;-use HiEvents\Http\Request\BaseRequest;class UpdateMeRequest extends BaseRequest{diff --git a/backend/app/Http/Request/User/UpdateUserRequest.php b/backend/app/Http/Request/User/UpdateUserRequest.phpindex d0712642e..6a8a2726a 100644--- a/backend/app/Http/Request/User/UpdateUserRequest.php+++ b/backend/app/Http/Request/User/UpdateUserRequest.php@@ -2,11 +2,11 @@namespace HiEvents\Http\Request\User;-use Illuminate\Validation\Rule;use HiEvents\DomainObjects\Enums\Role;use HiEvents\DomainObjects\Status\UserStatus;use HiEvents\Http\Request\BaseRequest;use HiEvents\Validators\Rules\RulesHelper;+use Illuminate\Validation\Rule;class UpdateUserRequest extends BaseRequest{diff --git a/backend/app/Models/Question.php b/backend/app/Models/Question.phpindex d6acb8501..1fa2744f8 100644--- a/backend/app/Models/Question.php+++ b/backend/app/Models/Question.php@@ -2,8 +2,8 @@namespace HiEvents\Models;-use Illuminate\Database\Eloquent\Relations\BelongsToMany;use HiEvents\DomainObjects\Generated\QuestionDomainObjectAbstract;+use Illuminate\Database\Eloquent\Relations\BelongsToMany;class Question extends BaseModel{diff --git a/backend/app/Models/StripePayment.php b/backend/app/Models/StripePayment.phpindex 37e01dd8f..b34265eff 100644--- a/backend/app/Models/StripePayment.php+++ b/backend/app/Models/StripePayment.php@@ -2,8 +2,8 @@namespace HiEvents\Models;-use Illuminate\Database\Eloquent\Relations\BelongsTo;use HiEvents\DomainObjects\Generated\StripePaymentDomainObjectAbstract;+use Illuminate\Database\Eloquent\Relations\BelongsTo;class StripePayment extends BaseModel{diff --git a/backend/app/Models/Ticket.php b/backend/app/Models/Ticket.phpindex 397c16fc1..dea99092f 100644--- a/backend/app/Models/Ticket.php+++ b/backend/app/Models/Ticket.php@@ -4,9 +4,9 @@ declare(strict_types=1);namespace HiEvents\Models;+use HiEvents\DomainObjects\Generated\TicketDomainObjectAbstract;use Illuminate\Database\Eloquent\Relations\BelongsToMany;use Illuminate\Database\Eloquent\Relations\HasMany;-use HiEvents\DomainObjects\Generated\TicketDomainObjectAbstract;class Ticket extends BaseModel{diff --git a/backend/app/Models/Traits/HasImages.php b/backend/app/Models/Traits/HasImages.phpindex 403c44f46..12d0fa8fa 100644--- a/backend/app/Models/Traits/HasImages.php+++ b/backend/app/Models/Traits/HasImages.php@@ -2,8 +2,8 @@namespace HiEvents\Models\Traits;-use Illuminate\Database\Eloquent\Relations\MorphMany;use HiEvents\Models\Image;+use Illuminate\Database\Eloquent\Relations\MorphMany;trait HasImages{diff --git a/backend/app/Providers/AppServiceProvider.php b/backend/app/Providers/AppServiceProvider.phpindex ace64af33..3499b364f 100644--- a/backend/app/Providers/AppServiceProvider.php+++ b/backend/app/Providers/AppServiceProvider.php@@ -5,16 +5,16 @@ namespace HiEvents\Providers;use Doctrine\DBAL\Configuration;use Doctrine\DBAL\DriverManager;use Doctrine\DBAL\Schema\AbstractSchemaManager;+use HiEvents\DomainObjects\EventDomainObject;+use HiEvents\DomainObjects\OrganizerDomainObject;+use HiEvents\Models\Event;+use HiEvents\Models\Organizer;use Illuminate\Database\Eloquent\Model;use Illuminate\Database\Eloquent\Relations\Relation;use Illuminate\Support\Facades\DB;use Illuminate\Support\Facades\File;use Illuminate\Support\ServiceProvider;use Stripe\StripeClient;-use HiEvents\DomainObjects\EventDomainObject;-use HiEvents\DomainObjects\OrganizerDomainObject;-use HiEvents\Models\Event;-use HiEvents\Models\Organizer;class AppServiceProvider extends ServiceProvider{diff --git a/backend/app/Repository/Eloquent/CapacityAssignmentRepository.php b/backend/app/Repository/Eloquent/CapacityAssignmentRepository.phpindex 8cc1cab4e..089e05ed5 100644--- a/backend/app/Repository/Eloquent/CapacityAssignmentRepository.php+++ b/backend/app/Repository/Eloquent/CapacityAssignmentRepository.php@@ -4,7 +4,6 @@ namespace HiEvents\Repository\Eloquent;use HiEvents\DomainObjects\CapacityAssignmentDomainObject;use HiEvents\DomainObjects\Generated\CapacityAssignmentDomainObjectAbstract;-use HiEvents\DomainObjects\Generated\TicketDomainObjectAbstract;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Models\CapacityAssignment;use HiEvents\Repository\Interfaces\CapacityAssignmentRepositoryInterface;diff --git a/backend/app/Repository/Eloquent/MessageRepository.php b/backend/app/Repository/Eloquent/MessageRepository.phpindex 23ad368ce..d9d82c919 100644--- a/backend/app/Repository/Eloquent/MessageRepository.php+++ b/backend/app/Repository/Eloquent/MessageRepository.php@@ -2,13 +2,13 @@namespace HiEvents\Repository\Eloquent;-use Illuminate\Database\Eloquent\Builder;-use Illuminate\Pagination\LengthAwarePaginator;use HiEvents\DomainObjects\Generated\MessageDomainObjectAbstract;use HiEvents\DomainObjects\MessageDomainObject;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Models\Message;use HiEvents\Repository\Interfaces\MessageRepositoryInterface;+use Illuminate\Database\Eloquent\Builder;+use Illuminate\Pagination\LengthAwarePaginator;class MessageRepository extends BaseRepository implements MessageRepositoryInterface{diff --git a/backend/app/Repository/Eloquent/PromoCodeRepository.php b/backend/app/Repository/Eloquent/PromoCodeRepository.phpindex 3889362e7..0871dc3cc 100644--- a/backend/app/Repository/Eloquent/PromoCodeRepository.php+++ b/backend/app/Repository/Eloquent/PromoCodeRepository.php@@ -2,13 +2,13 @@namespace HiEvents\Repository\Eloquent;-use Illuminate\Contracts\Pagination\LengthAwarePaginator;-use Illuminate\Database\Eloquent\Builder;use HiEvents\DomainObjects\Generated\PromoCodeDomainObjectAbstract;use HiEvents\DomainObjects\PromoCodeDomainObject;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Models\PromoCode;use HiEvents\Repository\Interfaces\PromoCodeRepositoryInterface;+use Illuminate\Contracts\Pagination\LengthAwarePaginator;+use Illuminate\Database\Eloquent\Builder;class PromoCodeRepository extends BaseRepository implements PromoCodeRepositoryInterface{diff --git a/backend/app/Repository/Eloquent/QuestionRepository.php b/backend/app/Repository/Eloquent/QuestionRepository.phpindex 8d2e72edb..8c2e1e9a0 100644--- a/backend/app/Repository/Eloquent/QuestionRepository.php+++ b/backend/app/Repository/Eloquent/QuestionRepository.php@@ -2,15 +2,15 @@namespace HiEvents\Repository\Eloquent;-use Illuminate\Database\DatabaseManager;-use Illuminate\Foundation\Application;-use Illuminate\Support\Collection;use HiEvents\DomainObjects\Generated\QuestionDomainObjectAbstract;use HiEvents\DomainObjects\QuestionDomainObject;use HiEvents\Models\Question;use HiEvents\Models\TicketQuestion;use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;use HiEvents\Repository\Interfaces\TicketRepositoryInterface;+use Illuminate\Database\DatabaseManager;+use Illuminate\Foundation\Application;+use Illuminate\Support\Collection;class QuestionRepository extends BaseRepository implements QuestionRepositoryInterface{diff --git a/backend/app/Repository/Interfaces/EventRepositoryInterface.php b/backend/app/Repository/Interfaces/EventRepositoryInterface.phpindex e353cecd7..af802f5d9 100644--- a/backend/app/Repository/Interfaces/EventRepositoryInterface.php+++ b/backend/app/Repository/Interfaces/EventRepositoryInterface.php@@ -4,11 +4,10 @@ declare(strict_types=1);namespace HiEvents\Repository\Interfaces;-use Illuminate\Pagination\LengthAwarePaginator;-use Illuminate\Support\Collection;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Eloquent\BaseRepository;+use Illuminate\Pagination\LengthAwarePaginator;/*** @extends BaseRepository<EventDomainObject>diff --git a/backend/app/Repository/Interfaces/MessageRepositoryInterface.php b/backend/app/Repository/Interfaces/MessageRepositoryInterface.phpindex 20bc509e7..280680c09 100644--- a/backend/app/Repository/Interfaces/MessageRepositoryInterface.php+++ b/backend/app/Repository/Interfaces/MessageRepositoryInterface.php@@ -2,10 +2,10 @@namespace HiEvents\Repository\Interfaces;-use Illuminate\Pagination\LengthAwarePaginator;use HiEvents\DomainObjects\MessageDomainObject;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Eloquent\BaseRepository;+use Illuminate\Pagination\LengthAwarePaginator;/*** @extends BaseRepository<MessageDomainObject>diff --git a/backend/app/Repository/Interfaces/PromoCodeRepositoryInterface.php b/backend/app/Repository/Interfaces/PromoCodeRepositoryInterface.phpindex a9d1a8ea3..65853476a 100644--- a/backend/app/Repository/Interfaces/PromoCodeRepositoryInterface.php+++ b/backend/app/Repository/Interfaces/PromoCodeRepositoryInterface.php@@ -2,10 +2,10 @@namespace HiEvents\Repository\Interfaces;-use Illuminate\Contracts\Pagination\LengthAwarePaginator;use HiEvents\DomainObjects\PromoCodeDomainObject;use HiEvents\Http\DTO\QueryParamsDTO;use HiEvents\Repository\Eloquent\BaseRepository;+use Illuminate\Contracts\Pagination\LengthAwarePaginator;/*** @extends BaseRepository<PromoCodeDomainObject>diff --git a/backend/app/Repository/Interfaces/QuestionRepositoryInterface.php b/backend/app/Repository/Interfaces/QuestionRepositoryInterface.phpindex 958a57ac4..6a5438de1 100644--- a/backend/app/Repository/Interfaces/QuestionRepositoryInterface.php+++ b/backend/app/Repository/Interfaces/QuestionRepositoryInterface.php@@ -2,9 +2,9 @@namespace HiEvents\Repository\Interfaces;-use Illuminate\Support\Collection;use HiEvents\DomainObjects\QuestionDomainObject;use HiEvents\Repository\Eloquent\BaseRepository;+use Illuminate\Support\Collection;/*** @extends BaseRepository<QuestionDomainObject>diff --git a/backend/app/Repository/Interfaces/RepositoryInterface.php b/backend/app/Repository/Interfaces/RepositoryInterface.phpindex 0baa2bcc4..5481dbc8b 100644--- a/backend/app/Repository/Interfaces/RepositoryInterface.php+++ b/backend/app/Repository/Interfaces/RepositoryInterface.php@@ -3,11 +3,11 @@namespace HiEvents\Repository\Interfaces;use Exception;+use HiEvents\DomainObjects\Interfaces\DomainObjectInterface;use Illuminate\Contracts\Pagination\Paginator;use Illuminate\Database\Eloquent\Relations\Relation;use Illuminate\Pagination\LengthAwarePaginator;use Illuminate\Support\Collection;-use HiEvents\DomainObjects\Interfaces\DomainObjectInterface;/*** @template Tdiff --git a/backend/app/Repository/Interfaces/UserRepositoryInterface.php b/backend/app/Repository/Interfaces/UserRepositoryInterface.phpindex 42e308a5d..61cae602c 100644--- a/backend/app/Repository/Interfaces/UserRepositoryInterface.php+++ b/backend/app/Repository/Interfaces/UserRepositoryInterface.php@@ -4,9 +4,9 @@ declare(strict_types=1);namespace HiEvents\Repository\Interfaces;-use Illuminate\Support\Collection;use HiEvents\DomainObjects\UserDomainObject;use HiEvents\Repository\Eloquent\BaseRepository;+use Illuminate\Support\Collection;/*** @extends BaseRepository<UserDomainObject>diff --git a/backend/app/Resources/Account/AccountResource.php b/backend/app/Resources/Account/AccountResource.phpindex 16899df90..1e7f1229f 100644--- a/backend/app/Resources/Account/AccountResource.php+++ b/backend/app/Resources/Account/AccountResource.php@@ -2,9 +2,9 @@namespace HiEvents\Resources\Account;+use HiEvents\DomainObjects\AccountDomainObject;use Illuminate\Http\Request;use Illuminate\Http\Resources\Json\JsonResource;-use HiEvents\DomainObjects\AccountDomainObject;/*** @mixin AccountDomainObjectdiff --git a/backend/app/Resources/Account/Stripe/StripeConnectAccountResponseResource.php b/backend/app/Resources/Account/Stripe/StripeConnectAccountResponseResource.phpindex 416740943..1f006d9da 100644--- a/backend/app/Resources/Account/Stripe/StripeConnectAccountResponseResource.php+++ b/backend/app/Resources/Account/Stripe/StripeConnectAccountResponseResource.php@@ -2,9 +2,9 @@namespace HiEvents\Resources\Account\Stripe;-use Illuminate\Http\Resources\Json\JsonResource;use HiEvents\Resources\Account\AccountResource;use HiEvents\Services\Handlers\Account\Payment\Stripe\DTO\CreateStripeConnectAccountResponse;+use Illuminate\Http\Resources\Json\JsonResource;/*** @mixin CreateStripeConnectAccountResponsediff --git a/backend/app/Resources/BaseResource.php b/backend/app/Resources/BaseResource.phpindex e4978b85f..00c36f6da 100644--- a/backend/app/Resources/BaseResource.php+++ b/backend/app/Resources/BaseResource.php@@ -2,7 +2,6 @@namespace HiEvents\Resources;-use Illuminate\Http\Request;use Illuminate\Http\Resources\Json\JsonResource;abstract class BaseResource extends JsonResourcediff --git a/backend/app/Resources/Event/EventResource.php b/backend/app/Resources/Event/EventResource.phpindex 970cf3e74..2d01e9a40 100644--- a/backend/app/Resources/Event/EventResource.php+++ b/backend/app/Resources/Event/EventResource.php@@ -2,12 +2,12 @@namespace HiEvents\Resources\Event;-use Illuminate\Http\Request;use HiEvents\DomainObjects\EventDomainObject;use HiEvents\Resources\BaseResource;use HiEvents\Resources\Image\ImageResource;use HiEvents\Resources\Organizer\OrganizerResource;use HiEvents\Resources\Ticket\TicketResource;+use Illuminate\Http\Request;/*** @mixin EventDomainObjectdiff --git a/backend/app/Resources/Event/EventSettingsResource.php b/backend/app/Resources/Event/EventSettingsResource.phpindex 61c899da6..1886a27a2 100644--- a/backend/app/Resources/Event/EventSettingsResource.php+++ b/backend/app/Resources/Event/EventSettingsResource.php@@ -2,8 +2,8 @@namespace HiEvents\Resources\Event;-use Illuminate\Http\Resources\Json\JsonResource;use HiEvents\DomainObjects\EventSettingDomainObject;+use Illuminate\Http\Resources\Json\JsonResource;/*** @mixin EventSettingDomainObjectdiff --git a/backend/app/Resources/Event/EventSettingsResourcePublic.php b/backend/app/Resources/Event/EventSettingsResourcePublic.phpindex fd6ede2a7..1a2c5cfaf 100644--- a/backend/app/Resources/Event/EventSettingsResourcePublic.php+++ b/backend/app/Resources/Event/EventSettingsResourcePublic.php@@ -2,8 +2,8 @@namespace HiEvents\Resources\Event;-use Illuminate\Http\Resources\Json\JsonResource;use HiEvents\DomainObjects\EventSettingDomainObject;+use Illuminate\Http\Resources\Json\JsonResource;/*** @mixin EventSettingDomainObjectdiff --git a/backend/app/Resources/Message/MessageResource.php b/backend/app/Resources/Message/MessageResource.phpindex 62a297600..75dc30d67 100644--- a/backend/app/Resources/Message/MessageResource.php+++ b/backend/app/Resources/Message/MessageResource.php@@ -2,10 +2,10 @@namespace HiEvents\Resources\Message;-use Illuminate\Http\Request;-use Illuminate\Http\Resources\Json\JsonResource;use HiEvents\DomainObjects\MessageDomainObject;use HiEvents\Resources\User\UserResource;+use Illuminate\Http\Request;+use Illuminate\Http\Resources\Json\JsonResource;/*** @mixin MessageDomainObjectdiff --git a/backend/app/Resources/Order/OrderItemResource.php b/backend/app/Resources/Order/OrderItemResource.phpindex 70f3c9717..18e415594 100644--- a/backend/app/Resources/Order/OrderItemResource.php+++ b/backend/app/Resources/Order/OrderItemResource.php@@ -2,9 +2,9 @@namespace HiEvents\Resources\Order;-use Illuminate\Http\Request;use HiEvents\DomainObjects\OrderItemDomainObject;use HiEvents\Resources\BaseResource;+use Illuminate\Http\Request;/*** @mixin OrderItemDomainObjectdiff --git a/backend/app/Resources/Order/OrderItemResourcePublic.php b/backend/app/Resources/Order/OrderItemResourcePublic.phpindex fe1b117a9..471f762f0 100644--- a/backend/app/Resources/Order/OrderItemResourcePublic.php+++ b/backend/app/Resources/Order/OrderItemResourcePublic.php@@ -2,10 +2,10 @@namespace HiEvents\Resources\Order;-use Illuminate\Http\Request;use HiEvents\DomainObjects\OrderItemDomainObject;use HiEvents\Resources\BaseResource;use HiEvents\Resources\Ticket\TicketResourcePublic;+use Illuminate\Http\Request;/*** @mixin OrderItemDomainObjectdiff --git a/backend/app/Resources/Order/OrderResourcePublic.php b/backend/app/Resources/Order/OrderResourcePublic.phpindex 714d23364..5d31b67b1 100644--- a/backend/app/Resources/Order/OrderResourcePublic.php+++ b/backend/app/Resources/Order/OrderResourcePublic.php@@ -3,10 +3,10 @@namespace HiEvents\Resources\Order;use Carbon\Carbon;-use Illuminate\Http\Request;use HiEvents\DomainObjects\OrderDomainObject;use HiEvents\Resources\Attendee\AttendeeResourcePublic;use HiEvents\Resources\BaseResource;+use Illuminate\Http\Request;/*** @mixin OrderDomainObjectdiff --git a/backend/app/Resources/PromoCode/PromoCodeResource.php b/backend/app/Resources/PromoCode/PromoCodeResource.phpindex eac2149a7..0aa9d80a5 100644--- a/backend/app/Resources/PromoCode/PromoCodeResource.php+++ b/backend/app/Resources/PromoCode/PromoCodeResource.php@@ -2,9 +2,9 @@namespace HiEvents\Resources\PromoCode;+use HiEvents\DomainObjects\PromoCodeDomainObject;use Illuminate\Http\Request;use Illuminate\Http\Resources\Json\JsonResource;-use HiEvents\DomainObjects\PromoCodeDomainObject;/*** @mixin PromoCodeDomainObjectdiff --git a/backend/app/Resources/Question/QuestionResource.php b/backend/app/Resources/Question/QuestionResource.phpindex 2e43904ad..7f0591dde 100644--- a/backend/app/Resources/Question/QuestionResource.php+++ b/backend/app/Resources/Question/QuestionResource.php@@ -2,10 +2,9 @@namespace HiEvents\Resources\Question;-use Illuminate\Http\Request;use HiEvents\DomainObjects\QuestionDomainObject;use HiEvents\Resources\BaseResource;-use HiEvents\Resources\Ticket\TicketResource;+use Illuminate\Http\Request;/*** @mixin QuestionDomainObjectdiff --git a/backend/app/Resources/Ticket/TicketPriceResource.php b/backend/app/Resources/Ticket/TicketPriceResource.phpindex c941f00f4..7a4844e39 100644--- a/backend/app/Resources/Ticket/TicketPriceResource.php+++ b/backend/app/Resources/Ticket/TicketPriceResource.php@@ -2,9 +2,9 @@namespace HiEvents\Resources\Ticket;-use Illuminate\Http\Request;use HiEvents\DomainObjects\TicketPriceDomainObject;use HiEvents\Resources\BaseResource;+use Illuminate\Http\Request;/*** @mixin TicketPriceDomainObjectdiff --git a/backend/app/Resources/Ticket/TicketPriceResourcePublic.php b/backend/app/Resources/Ticket/TicketPriceResourcePublic.phpindex a510d64d2..46df118d2 100644--- a/backend/app/Resources/Ticket/TicketPriceResourcePublic.php+++ b/backend/app/Resources/Ticket/TicketPriceResourcePublic.php@@ -2,9 +2,9 @@namespace HiEvents\Resources\Ticket;-use Illuminate\Http\Request;use HiEvents\DomainObjects\TicketPriceDomainObject;use HiEvents\Resources\BaseResource;+use Illuminate\Http\Request;/*** @mixin TicketPriceDomainObjectdiff --git a/backend/app/Resources/Ticket/TicketResource.php b/backend/app/Resources/Ticket/TicketResource.phpindex f6ab3c884..b547d3b56 100644--- a/backend/app/Resources/Ticket/TicketResource.php+++ b/backend/app/Resources/Ticket/TicketResource.php@@ -2,11 +2,11 @@namespace HiEvents\Resources\Ticket;-use Illuminate\Http\Request;-use Illuminate\Http\Resources\Json\JsonResource;use HiEvents\DomainObjects\Enums\TicketType;use HiEvents\DomainObjects\TicketDomainObject;use HiEvents\Resources\Tax\TaxAndFeeResource;+use Illuminate\Http\Request;+use Illuminate\Http\Resources\Json\JsonResource;/*** @mixin TicketDomainObjectdiff --git a/backend/app/Resources/Ticket/TicketResourcePublic.php b/backend/app/Resources/Ticket/TicketResourcePublic.phpindex c61eda51a..decf05050 100644--- a/backend/app/Resources/Ticket/TicketResourcePublic.php+++ b/backend/app/Resources/Ticket/TicketResourcePublic.php@@ -2,10 +2,10 @@namespace HiEvents\Resources\Ticket;-use Illuminate\Http\Request;-use Illuminate\Http\Resources\Json\JsonResource;use HiEvents\DomainObjects\TicketDomainObject;use HiEvents\Resources\Tax\TaxAndFeeResource;+use Illuminate\Http\Request;+use Illuminate\Http\Resources\Json\JsonResource;/*** @mixin TicketDomainObjectdiff --git a/backend/app/Services/Domain/CheckInList/CreateCheckInListService.php b/backend/app/Services/Domain/CheckInList/CreateCheckInListService.phpindex fffe72c4c..93aa2938d 100644--- a/backend/app/Services/Domain/CheckInList/CreateCheckInListService.php+++ b/backend/app/Services/Domain/CheckInList/CreateCheckInListService.php@@ -11,7 +11,6 @@ use HiEvents\Repository\Interfaces\EventRepositoryInterface;use HiEvents\Services\Domain\Ticket\EventTicketValidationService;use HiEvents\Services\Domain\Ticket\Exception\UnrecognizedTicketIdException;use Illuminate\Database\DatabaseManager;-use Illuminate\Support\Str;class CreateCheckInListService{diff --git a/backend/app/Services/Domain/Order/OrderManagementService.php b/backend/app/Services/Domain/Order/OrderManagementService.phpindex f1d0833cf..66a4ff1ce 100644--- a/backend/app/Services/Domain/Order/OrderManagementService.php+++ b/backend/app/Services/Domain/Order/OrderManagementService.php@@ -13,7 +13,6 @@ use HiEvents\Helper\IdHelper;use HiEvents\Repository\Interfaces\OrderRepositoryInterface;use HiEvents\Services\Domain\Tax\TaxAndFeeOrderRollupService;use Illuminate\Support\Collection;-use Illuminate\Support\Str;class OrderManagementService{diff --git a/backend/app/Services/Domain/Payment/Stripe/EventHandlers/AccountUpdateHandler.php b/backend/app/Services/Domain/Payment/Stripe/EventHandlers/AccountUpdateHandler.phpindex a5aa01f7e..b76395f34 100644--- a/backend/app/Services/Domain/Payment/Stripe/EventHandlers/AccountUpdateHandler.php+++ b/backend/app/Services/Domain/Payment/Stripe/EventHandlers/AccountUpdateHandler.php@@ -2,10 +2,10 @@namespace HiEvents\Services\Domain\Payment\Stripe\EventHandlers;+use HiEvents\Repository\Interfaces\AccountRepositoryInterface;use Psr\Log\LoggerInterface;use Stripe\Account;use Symfony\Component\Routing\Exception\ResourceNotFoundException;-use HiEvents\Repository\Interfaces\AccountRepositoryInterface;readonly class AccountUpdateHandler{diff --git a/backend/app/Services/Domain/Payment/Stripe/EventHandlers/PaymentIntentFailedHandler.php b/backend/app/Services/Domain/Payment/Stripe/EventHandlers/PaymentIntentFailedHandler.phpindex c0b19778c..72f6b30ca 100644--- a/backend/app/Services/Domain/Payment/Stripe/EventHandlers/PaymentIntentFailedHandler.php+++ b/backend/app/Services/Domain/Payment/Stripe/EventHandlers/PaymentIntentFailedHandler.php@@ -2,9 +2,6 @@namespace HiEvents\Services\Domain\Payment\Stripe\EventHandlers;-use Illuminate\Database\DatabaseManager;-use Stripe\PaymentIntent;-use Throwable;use HiEvents\DomainObjects\Generated\OrderDomainObjectAbstract;use HiEvents\DomainObjects\Generated\StripePaymentDomainObjectAbstract;use HiEvents\DomainObjects\OrderDomainObject;@@ -15,6 +12,9 @@ use HiEvents\Repository\Eloquent\StripePaymentsRepository;use HiEvents\Repository\Eloquent\Value\Relationship;use HiEvents\Repository\Interfaces\OrderRepositoryInterface;use HiEvents\Services\Domain\Payment\Stripe\StripePaymentUpdateFromPaymentIntentService;+use Illuminate\Database\DatabaseManager;+use Stripe\PaymentIntent;+use Throwable;readonly class PaymentIntentFailedHandler{diff --git a/backend/app/Services/Domain/Payment/Stripe/StripePaymentIntentRefundService.php b/backend/app/Services/Domain/Payment/Stripe/StripePaymentIntentRefundService.phpindex c28299a3f..108b8cb97 100644--- a/backend/app/Services/Domain/Payment/Stripe/StripePaymentIntentRefundService.php+++ b/backend/app/Services/Domain/Payment/Stripe/StripePaymentIntentRefundService.php@@ -3,13 +3,13 @@namespace HiEvents\Services\Domain\Payment\Stripe;use Brick\Math\Exception\MathException;+use HiEvents\DomainObjects\StripePaymentDomainObject;+use HiEvents\Values\MoneyValue;use Illuminate\Config\Repository;use RuntimeException;use Stripe\Exception\ApiErrorException;use Stripe\Refund;use Stripe\StripeClient;-use HiEvents\DomainObjects\StripePaymentDomainObject;-use HiEvents\Values\MoneyValue;readonly class StripePaymentIntentRefundService{diff --git a/backend/app/Services/Domain/Payment/Stripe/StripePaymentUpdateFromPaymentIntentService.php b/backend/app/Services/Domain/Payment/Stripe/StripePaymentUpdateFromPaymentIntentService.phpindex 7ec107db6..c8af9fe91 100644--- a/backend/app/Services/Domain/Payment/Stripe/StripePaymentUpdateFromPaymentIntentService.php+++ b/backend/app/Services/Domain/Payment/Stripe/StripePaymentUpdateFromPaymentIntentService.php@@ -2,9 +2,9 @@namespace HiEvents\Services\Domain\Payment\Stripe;-use Stripe\PaymentIntent;use HiEvents\DomainObjects\Generated\StripePaymentDomainObjectAbstract;use HiEvents\Repository\Eloquent\StripePaymentsRepository;+use Stripe\PaymentIntent;readonly class StripePaymentUpdateFromPaymentIntentService{diff --git a/backend/app/Services/Domain/Tax/TaxAndFeeCalculationService.php b/backend/app/Services/Domain/Tax/TaxAndFeeCalculationService.phpindex 0a0248a4b..641ad7d9a 100644--- a/backend/app/Services/Domain/Tax/TaxAndFeeCalculationService.php+++ b/backend/app/Services/Domain/Tax/TaxAndFeeCalculationService.php@@ -2,13 +2,12 @@namespace HiEvents\Services\Domain\Tax;-use InvalidArgumentException;use HiEvents\DomainObjects\Enums\TaxCalculationType;-use HiEvents\DomainObjects\Enums\TicketType;use HiEvents\DomainObjects\TaxAndFeesDomainObject;use HiEvents\DomainObjects\TicketDomainObject;use HiEvents\DomainObjects\TicketPriceDomainObject;use HiEvents\Services\Domain\Tax\DTO\TaxCalculationResponse;+use InvalidArgumentException;class TaxAndFeeCalculationService{diff --git a/backend/app/Services/Domain/Tax/TaxAndFeeRollupService.php b/backend/app/Services/Domain/Tax/TaxAndFeeRollupService.phpindex 3cb8b7898..be52cef40 100644--- a/backend/app/Services/Domain/Tax/TaxAndFeeRollupService.php+++ b/backend/app/Services/Domain/Tax/TaxAndFeeRollupService.php@@ -4,8 +4,8 @@ namespace HiEvents\Services\Domain\Tax;namespace HiEvents\Services\Domain\Tax;-use Illuminate\Support\Str;use HiEvents\DomainObjects\TaxAndFeesDomainObject;+use Illuminate\Support\Str;class TaxAndFeeRollupService{diff --git a/backend/app/Services/Domain/Tax/TaxAndTicketAssociationService.php b/backend/app/Services/Domain/Tax/TaxAndTicketAssociationService.phpindex 1f5b643f2..f59431faa 100644--- a/backend/app/Services/Domain/Tax/TaxAndTicketAssociationService.php+++ b/backend/app/Services/Domain/Tax/TaxAndTicketAssociationService.php@@ -3,11 +3,11 @@namespace HiEvents\Services\Domain\Tax;use Exception;-use Illuminate\Support\Collection;use HiEvents\Exceptions\InvalidTaxOrFeeIdException;use HiEvents\Repository\Interfaces\TaxAndFeeRepositoryInterface;use HiEvents\Repository\Interfaces\TicketRepositoryInterface;use HiEvents\Services\Domain\Tax\DTO\TaxAndTicketAssociateParams;+use Illuminate\Support\Collection;readonly class TaxAndTicketAssociationService{diff --git a/backend/app/Services/Handlers/Attendee/CreateAttendeeHandler.php b/backend/app/Services/Handlers/Attendee/CreateAttendeeHandler.phpindex af23fbb33..8202210ac 100644--- a/backend/app/Services/Handlers/Attendee/CreateAttendeeHandler.php+++ b/backend/app/Services/Handlers/Attendee/CreateAttendeeHandler.php@@ -3,7 +3,6 @@namespace HiEvents\Services\Handlers\Attendee;use Brick\Money\Money;-use Faker\Generator;use HiEvents\DomainObjects\AttendeeDomainObject;use HiEvents\DomainObjects\Generated\AttendeeDomainObjectAbstract;use HiEvents\DomainObjects\Generated\OrderDomainObjectAbstract;@@ -32,7 +31,6 @@ use HiEvents\Services\Handlers\Attendee\DTO\CreateAttendeeDTO;use HiEvents\Services\Handlers\Attendee\DTO\CreateAttendeeTaxAndFeeDTO;use Illuminate\Database\DatabaseManager;use Illuminate\Support\Collection;-use Illuminate\Support\Str;use RuntimeException;use Throwable;diff --git a/backend/app/Services/Handlers/Event/GetEventsHandler.php b/backend/app/Services/Handlers/Event/GetEventsHandler.phpindex fe79ada05..3fd0956f7 100644--- a/backend/app/Services/Handlers/Event/GetEventsHandler.php+++ b/backend/app/Services/Handlers/Event/GetEventsHandler.php@@ -9,8 +9,6 @@ use HiEvents\Repository\Eloquent\Value\Relationship;use HiEvents\Repository\Interfaces\EventRepositoryInterface;use HiEvents\Services\Handlers\Event\DTO\GetEventsDTO;use Illuminate\Pagination\LengthAwarePaginator;-use Illuminate\Support\Facades\DB;-class GetEventsHandler{diff --git a/backend/app/Services/Handlers/Question/DeleteQuestionHandler.php b/backend/app/Services/Handlers/Question/DeleteQuestionHandler.phpindex ffb1d8dbd..9dd284280 100644--- a/backend/app/Services/Handlers/Question/DeleteQuestionHandler.php+++ b/backend/app/Services/Handlers/Question/DeleteQuestionHandler.php@@ -2,11 +2,11 @@namespace HiEvents\Services\Handlers\Question;-use Illuminate\Database\DatabaseManager;-use Throwable;use HiEvents\Exceptions\CannotDeleteEntityException;use HiEvents\Repository\Interfaces\QuestionAnswerRepositoryInterface;use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;+use Illuminate\Database\DatabaseManager;+use Throwable;readonly class DeleteQuestionHandler{diff --git a/backend/app/Services/Handlers/Question/SortQuestionsHandler.php b/backend/app/Services/Handlers/Question/SortQuestionsHandler.phpindex 5f4914cfd..379271f9e 100644--- a/backend/app/Services/Handlers/Question/SortQuestionsHandler.php+++ b/backend/app/Services/Handlers/Question/SortQuestionsHandler.php@@ -2,8 +2,8 @@namespace HiEvents\Services\Handlers\Question;-use Symfony\Component\Routing\Exception\ResourceNotFoundException;use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;+use Symfony\Component\Routing\Exception\ResourceNotFoundException;readonly class SortQuestionsHandler{diff --git a/backend/app/Services/Handlers/Ticket/CreateTicketHandler.php b/backend/app/Services/Handlers/Ticket/CreateTicketHandler.phpindex eaf261be3..d8edb7e32 100644--- a/backend/app/Services/Handlers/Ticket/CreateTicketHandler.php+++ b/backend/app/Services/Handlers/Ticket/CreateTicketHandler.php@@ -8,8 +8,8 @@ use HiEvents\DomainObjects\Enums\TicketType;use HiEvents\DomainObjects\Generated\TicketPriceDomainObjectAbstract;use HiEvents\DomainObjects\TicketDomainObject;use HiEvents\DomainObjects\TicketPriceDomainObject;-use HiEvents\Services\Domain\Ticket\DTO\TicketPriceDTO;use HiEvents\Services\Domain\Ticket\CreateTicketService;+use HiEvents\Services\Domain\Ticket\DTO\TicketPriceDTO;use HiEvents\Services\Handlers\Ticket\DTO\UpsertTicketDTO;use Throwable;diff --git a/backend/app/Services/Handlers/Ticket/DeleteTicketHandler.php b/backend/app/Services/Handlers/Ticket/DeleteTicketHandler.phpindex 9ca8445fb..14dd581bc 100644--- a/backend/app/Services/Handlers/Ticket/DeleteTicketHandler.php+++ b/backend/app/Services/Handlers/Ticket/DeleteTicketHandler.php@@ -2,9 +2,6 @@namespace HiEvents\Services\Handlers\Ticket;-use Illuminate\Database\DatabaseManager;-use Psr\Log\LoggerInterface;-use Throwable;use HiEvents\DomainObjects\Generated\AttendeeDomainObjectAbstract;use HiEvents\DomainObjects\Generated\TicketDomainObjectAbstract;use HiEvents\DomainObjects\Generated\TicketPriceDomainObjectAbstract;@@ -12,6 +9,9 @@ use HiEvents\Exceptions\CannotDeleteEntityException;use HiEvents\Repository\Interfaces\AttendeeRepositoryInterface;use HiEvents\Repository\Interfaces\TicketPriceRepositoryInterface;use HiEvents\Repository\Interfaces\TicketRepositoryInterface;+use Illuminate\Database\DatabaseManager;+use Psr\Log\LoggerInterface;+use Throwable;readonly class DeleteTicketHandler{diff --git a/backend/app/Validators/CompleteOrderValidator.php b/backend/app/Validators/CompleteOrderValidator.phpindex 98d6a2abd..6b8ffc5b9 100644--- a/backend/app/Validators/CompleteOrderValidator.php+++ b/backend/app/Validators/CompleteOrderValidator.php@@ -4,7 +4,6 @@ declare(strict_types=1);namespace HiEvents\Validators;-use Illuminate\Routing\Route;use HiEvents\DomainObjects\Enums\QuestionBelongsTo;use HiEvents\DomainObjects\Generated\QuestionDomainObjectAbstract;use HiEvents\DomainObjects\Generated\TicketDomainObjectAbstract;@@ -16,6 +15,7 @@ use HiEvents\Repository\Interfaces\QuestionRepositoryInterface;use HiEvents\Repository\Interfaces\TicketRepositoryInterface;use HiEvents\Validators\Rules\AttendeeQuestionRule;use HiEvents\Validators\Rules\OrderQuestionRule;+use Illuminate\Routing\Route;class CompleteOrderValidator extends BaseValidator{diff --git a/backend/app/Validators/Rules/BaseQuestionRule.php b/backend/app/Validators/Rules/BaseQuestionRule.phpindex 7f7d06402..7571bf133 100644--- a/backend/app/Validators/Rules/BaseQuestionRule.php+++ b/backend/app/Validators/Rules/BaseQuestionRule.php@@ -3,15 +3,15 @@namespace HiEvents\Validators\Rules;use Closure;+use HiEvents\DomainObjects\Enums\QuestionTypeEnum;+use HiEvents\DomainObjects\QuestionDomainObject;+use HiEvents\DomainObjects\TicketDomainObject;+use HiEvents\DomainObjects\TicketPriceDomainObject;use Illuminate\Contracts\Validation\DataAwareRule;use Illuminate\Contracts\Validation\ValidationRule;use Illuminate\Contracts\Validation\ValidatorAwareRule;use Illuminate\Support\Collection;use Illuminate\Validation\Validator;-use HiEvents\DomainObjects\Enums\QuestionTypeEnum;-use HiEvents\DomainObjects\QuestionDomainObject;-use HiEvents\DomainObjects\TicketDomainObject;-use HiEvents\DomainObjects\TicketPriceDomainObject;abstract class BaseQuestionRule implements ValidationRule, DataAwareRule, ValidatorAwareRule{diff --git a/backend/app/Validators/Rules/OrderQuestionRule.php b/backend/app/Validators/Rules/OrderQuestionRule.phpindex 9e78e097b..7d80557a2 100644--- a/backend/app/Validators/Rules/OrderQuestionRule.php+++ b/backend/app/Validators/Rules/OrderQuestionRule.php@@ -2,9 +2,9 @@namespace HiEvents\Validators\Rules;+use HiEvents\DomainObjects\QuestionDomainObject;use Illuminate\Support\Collection;use Illuminate\Validation\ValidationException;-use HiEvents\DomainObjects\QuestionDomainObject;class OrderQuestionRule extends BaseQuestionRule{