diff --git a/Classes/Controller/AdminModuleController.php b/Classes/Controller/AdminModuleController.php index 8f3b43a..929c808 100644 --- a/Classes/Controller/AdminModuleController.php +++ b/Classes/Controller/AdminModuleController.php @@ -32,8 +32,7 @@ public function __construct( protected readonly ModuleTemplateFactory $moduleTemplateFactory, protected readonly IconFactory $iconFactory, // ... - ) { - } + ) {} public function handleRequest(ServerRequestInterface $request): ResponseInterface { diff --git a/Classes/Controller/Haiku/DetailController.php b/Classes/Controller/Haiku/DetailController.php index b9d32f7..f0f29ab 100644 --- a/Classes/Controller/Haiku/DetailController.php +++ b/Classes/Controller/Haiku/DetailController.php @@ -37,8 +37,7 @@ public function __construct( private readonly HaikuRepository $haikuRepository, private readonly FlexFormSettingsService $flexFormSettingsService, private readonly StandaloneViewService $viewService, - ) { - } + ) {} /** * This setter is called when the plugin is called from UserContentObject (USER) diff --git a/Classes/Controller/Haiku/ListController.php b/Classes/Controller/Haiku/ListController.php index 7b1034c..8ee7bf7 100644 --- a/Classes/Controller/Haiku/ListController.php +++ b/Classes/Controller/Haiku/ListController.php @@ -33,8 +33,7 @@ public function __construct( private readonly HaikuRepository $haikuRepository, private readonly FlexFormSettingsService $flexFormSettingsService, private readonly StandaloneViewService $viewService, - ) { - } + ) {} public function main(string $content, array $conf, ServerRequestInterface $request): string { diff --git a/Classes/Controller/ModuleController.php b/Classes/Controller/ModuleController.php index 1418c44..de137de 100644 --- a/Classes/Controller/ModuleController.php +++ b/Classes/Controller/ModuleController.php @@ -63,8 +63,7 @@ public function __construct( protected readonly ConnectionPool $connectionPool, protected readonly DataHandler $dataHandler, protected readonly TableInformationService $tableInformationService, - ) { - } + ) {} /** * Renders the list of all possible flash messages diff --git a/Classes/EventListener/LinkValidator/CheckExternalLinksToLocalPagesEventListener.php b/Classes/EventListener/LinkValidator/CheckExternalLinksToLocalPagesEventListener.php index 396c036..ea0b190 100644 --- a/Classes/EventListener/LinkValidator/CheckExternalLinksToLocalPagesEventListener.php +++ b/Classes/EventListener/LinkValidator/CheckExternalLinksToLocalPagesEventListener.php @@ -30,8 +30,7 @@ final class CheckExternalLinksToLocalPagesEventListener public function __construct( private readonly BrokenLinkRepository $brokenLinkRepository, private readonly SoftReferenceParserFactory $softReferenceParserFactory, - ) { - } + ) {} public function __invoke(BeforeRecordIsAnalyzedEvent $event): void { diff --git a/Classes/Exception/InvalidWizardException.php b/Classes/Exception/InvalidWizardException.php index 3bec52c..1e3f199 100644 --- a/Classes/Exception/InvalidWizardException.php +++ b/Classes/Exception/InvalidWizardException.php @@ -20,6 +20,4 @@ /** * Exception thrown if an invalid wizard is requested */ -class InvalidWizardException extends \InvalidArgumentException -{ -} +class InvalidWizardException extends \InvalidArgumentException {} diff --git a/Classes/Exception/NoSuchHaikuException.php b/Classes/Exception/NoSuchHaikuException.php index a731d42..2d27623 100644 --- a/Classes/Exception/NoSuchHaikuException.php +++ b/Classes/Exception/NoSuchHaikuException.php @@ -20,6 +20,4 @@ /** * Exception thrown if a haiku record was not found */ -class NoSuchHaikuException extends \RuntimeException -{ -} +class NoSuchHaikuException extends \RuntimeException {} diff --git a/Classes/Http/MeowInformationRequester.php b/Classes/Http/MeowInformationRequester.php index 3683559..8985cda 100644 --- a/Classes/Http/MeowInformationRequester.php +++ b/Classes/Http/MeowInformationRequester.php @@ -27,8 +27,7 @@ final class MeowInformationRequester // so we inject it into the class using constructor injection. public function __construct( private readonly RequestFactory $requestFactory, - ) { - } + ) {} /** * @throws \JsonException diff --git a/Classes/LinkHandler/GitHubLinkHandler.php b/Classes/LinkHandler/GitHubLinkHandler.php index c4c2251..80543e2 100644 --- a/Classes/LinkHandler/GitHubLinkHandler.php +++ b/Classes/LinkHandler/GitHubLinkHandler.php @@ -39,8 +39,7 @@ class GitHubLinkHandler implements LinkHandlerInterface public function __construct( // The page renderer is needed to register the JavaScript private readonly PageRenderer $pageRenderer, - ) { - } + ) {} /** * Initialize the handler diff --git a/Classes/Middleware/HaikuSeasonList.php b/Classes/Middleware/HaikuSeasonList.php index a19517b..db4d2fc 100644 --- a/Classes/Middleware/HaikuSeasonList.php +++ b/Classes/Middleware/HaikuSeasonList.php @@ -43,8 +43,7 @@ public function __construct( private readonly LanguageServiceFactory $languageServiceFactory, private readonly ResponseFactoryInterface $responseFactory, private readonly StreamFactoryInterface $streamFactory - ) { - } + ) {} public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface { diff --git a/Classes/Reaction/ExampleReactionType.php b/Classes/Reaction/ExampleReactionType.php index 0d3bb4e..7ed0554 100644 --- a/Classes/Reaction/ExampleReactionType.php +++ b/Classes/Reaction/ExampleReactionType.php @@ -33,8 +33,7 @@ public function __construct( private readonly Registry $registry, private readonly ResponseFactoryInterface $responseFactory, private readonly StreamFactoryInterface $streamFactory, - ) { - } + ) {} public static function getType(): string { diff --git a/Classes/Service/FlexFormSettingsService.php b/Classes/Service/FlexFormSettingsService.php index 418c569..216f49a 100644 --- a/Classes/Service/FlexFormSettingsService.php +++ b/Classes/Service/FlexFormSettingsService.php @@ -21,8 +21,7 @@ class FlexFormSettingsService { public function __construct( protected readonly FlexFormService $flexFormService, - ) { - } + ) {} public function combineSettings(mixed $settings, string $flexFormString): array { diff --git a/Classes/Service/TableInformationService.php b/Classes/Service/TableInformationService.php index be50d05..dec7c35 100644 --- a/Classes/Service/TableInformationService.php +++ b/Classes/Service/TableInformationService.php @@ -23,8 +23,7 @@ class TableInformationService { public function __construct( protected readonly ConnectionPool $connectionPool, - ) { - } + ) {} /** * Returns the count of available records from any table */