diff --git a/Classes/Event/Listener/AfterCacheableContentIsGeneratedListener.php b/Classes/Event/Listener/AfterCacheableContentIsGeneratedListener.php index ec4aefd3..7150ec62 100644 --- a/Classes/Event/Listener/AfterCacheableContentIsGeneratedListener.php +++ b/Classes/Event/Listener/AfterCacheableContentIsGeneratedListener.php @@ -20,9 +20,7 @@ class AfterCacheableContentIsGeneratedListener { - public function __construct(private readonly JsonEncoder $encoder) - { - } + public function __construct(private readonly JsonEncoder $encoder) {} public function __invoke(AfterCacheableContentIsGeneratedEvent $event) { diff --git a/Classes/Event/Listener/AfterLinkIsGeneratedListener.php b/Classes/Event/Listener/AfterLinkIsGeneratedListener.php index 3fcb887b..4e1a8150 100644 --- a/Classes/Event/Listener/AfterLinkIsGeneratedListener.php +++ b/Classes/Event/Listener/AfterLinkIsGeneratedListener.php @@ -21,8 +21,7 @@ final class AfterLinkIsGeneratedListener public function __construct( private readonly HeadlessFrontendUrlInterface $urlUtility, private readonly LinkService $linkService - ) { - } + ) {} public function __invoke(AfterLinkIsGeneratedEvent $event): void { diff --git a/Classes/Event/Listener/AfterPagePreviewUriGeneratedListener.php b/Classes/Event/Listener/AfterPagePreviewUriGeneratedListener.php index 6a3b9d6e..0a59044a 100644 --- a/Classes/Event/Listener/AfterPagePreviewUriGeneratedListener.php +++ b/Classes/Event/Listener/AfterPagePreviewUriGeneratedListener.php @@ -17,9 +17,7 @@ final class AfterPagePreviewUriGeneratedListener { - public function __construct(private readonly HeadlessFrontendUrlInterface $urlUtility) - { - } + public function __construct(private readonly HeadlessFrontendUrlInterface $urlUtility) {} public function __invoke(AfterPagePreviewUriGeneratedEvent $event): void { diff --git a/Classes/Form/Decorator/FormDefinitionDecorator.php b/Classes/Form/Decorator/FormDefinitionDecorator.php index ff4f3b62..068f9e44 100644 --- a/Classes/Form/Decorator/FormDefinitionDecorator.php +++ b/Classes/Form/Decorator/FormDefinitionDecorator.php @@ -11,6 +11,4 @@ namespace FriendsOfTYPO3\Headless\Form\Decorator; -class FormDefinitionDecorator extends AbstractFormDefinitionDecorator -{ -} +class FormDefinitionDecorator extends AbstractFormDefinitionDecorator {} diff --git a/Classes/ViewHelpers/DomainViewHelper.php b/Classes/ViewHelpers/DomainViewHelper.php index 58156de6..fa66be2f 100644 --- a/Classes/ViewHelpers/DomainViewHelper.php +++ b/Classes/ViewHelpers/DomainViewHelper.php @@ -38,7 +38,7 @@ public static function renderStatic( case 'frontendBase': return $urlUtility->getFrontendUrl(); case 'proxyUrl': - return $urlUtility->getProxyUrl(); + return $urlUtility->getProxyUrl(); case 'storageProxyUrl': return $urlUtility->getStorageProxyUrl(); } diff --git a/Tests/Unit/ContentObject/DataProcessingExample.php b/Tests/Unit/ContentObject/DataProcessingExample.php index 269bb055..8f190c7a 100644 --- a/Tests/Unit/ContentObject/DataProcessingExample.php +++ b/Tests/Unit/ContentObject/DataProcessingExample.php @@ -34,6 +34,6 @@ public function process( $processedData[$targetVariableName] = ['SomeCustomProcessing']; - return $processedData; + return $processedData; } } diff --git a/Tests/Unit/ContentObject/EmptyDataProcessingExample.php b/Tests/Unit/ContentObject/EmptyDataProcessingExample.php index af99f6a1..f163a1d3 100644 --- a/Tests/Unit/ContentObject/EmptyDataProcessingExample.php +++ b/Tests/Unit/ContentObject/EmptyDataProcessingExample.php @@ -33,6 +33,6 @@ public function process( $processedData[$targetVariableName] = [null]; - return $processedData; + return $processedData; } } diff --git a/Tests/Unit/DataProcessing/RootSiteProcessing/TestSiteProvider.php b/Tests/Unit/DataProcessing/RootSiteProcessing/TestSiteProvider.php index bc86ea3d..9b1b67a5 100644 --- a/Tests/Unit/DataProcessing/RootSiteProcessing/TestSiteProvider.php +++ b/Tests/Unit/DataProcessing/RootSiteProcessing/TestSiteProvider.php @@ -16,9 +16,7 @@ class TestSiteProvider implements SiteProviderInterface { - public function prepare(array $config, int $siteUid) - { - } + public function prepare(array $config, int $siteUid) {} public function getSites(): array { diff --git a/composer.json b/composer.json index 20b05ae0..83df2a32 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "ext-json": "*", "typo3/cms-core": "^12.4", "typo3/cms-install": "^12.4", - "typo3/coding-standards": "^0.7.1" + "typo3/coding-standards": "dev-main" }, "require-dev": { "ergebnis/composer-normalize": "^2.15.0",