Skip to content

Commit

Permalink
Merge branch 'master' into task/typoscript-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszuznanski authored Oct 2, 2023
2 parents e3482b5 + ce569b6 commit c92a109
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
3 changes: 1 addition & 2 deletions Classes/Event/Listener/AfterLinkIsGeneratedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ final class AfterLinkIsGeneratedListener
public function __construct(
private readonly HeadlessFrontendUrlInterface $urlUtility,
private readonly LinkService $linkService
) {
}
) {}

public function __invoke(AfterLinkIsGeneratedEvent $event): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
4 changes: 1 addition & 3 deletions Classes/Form/Decorator/FormDefinitionDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@

namespace FriendsOfTYPO3\Headless\Form\Decorator;

class FormDefinitionDecorator extends AbstractFormDefinitionDecorator
{
}
class FormDefinitionDecorator extends AbstractFormDefinitionDecorator {}
2 changes: 1 addition & 1 deletion Classes/ViewHelpers/DomainViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
2 changes: 1 addition & 1 deletion Tests/Unit/ContentObject/DataProcessingExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ public function process(

$processedData[$targetVariableName] = ['SomeCustomProcessing'];

return $processedData;
return $processedData;
}
}
2 changes: 1 addition & 1 deletion Tests/Unit/ContentObject/EmptyDataProcessingExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ public function process(

$processedData[$targetVariableName] = [null];

return $processedData;
return $processedData;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c92a109

Please sign in to comment.