From dbb3d66a2857c805f23d7080c248484ddd4143d3 Mon Sep 17 00:00:00 2001 From: Simon Praetorius Date: Thu, 28 Sep 2023 10:39:27 +0200 Subject: [PATCH] [TASK] Adjust code style to new PER 2.0 --- Classes/Configuration/VitePlaceholderProcessor.php | 3 +-- Classes/Exception/ViteException.php | 4 +--- Classes/Service/ViteService.php | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Classes/Configuration/VitePlaceholderProcessor.php b/Classes/Configuration/VitePlaceholderProcessor.php index 7b02971..65634d0 100644 --- a/Classes/Configuration/VitePlaceholderProcessor.php +++ b/Classes/Configuration/VitePlaceholderProcessor.php @@ -26,8 +26,7 @@ final class VitePlaceholderProcessor implements PlaceholderProcessorInterface public function __construct( private readonly ExtensionConfiguration $extensionConfiguration, private readonly ViteService $viteService - ) { - } + ) {} public function canProcess(string $placeholder, array $referenceArray): bool { diff --git a/Classes/Exception/ViteException.php b/Classes/Exception/ViteException.php index 6ab5d99..21fe5c9 100644 --- a/Classes/Exception/ViteException.php +++ b/Classes/Exception/ViteException.php @@ -4,6 +4,4 @@ namespace Praetorius\ViteAssetCollector\Exception; -class ViteException extends \Exception -{ -} +class ViteException extends \Exception {} diff --git a/Classes/Service/ViteService.php b/Classes/Service/ViteService.php index cbcd6f8..ab455e3 100644 --- a/Classes/Service/ViteService.php +++ b/Classes/Service/ViteService.php @@ -22,8 +22,7 @@ public function __construct( private readonly FrontendInterface $cache, protected AssetCollector $assetCollector, protected PackageManager $packageManager - ) { - } + ) {} public function determineDevServer(ServerRequestInterface $request): UriInterface {