From d357194ae5b00693c3313b168267c65b1461768b Mon Sep 17 00:00:00 2001 From: robert Date: Thu, 14 Mar 2024 12:38:20 +0100 Subject: [PATCH] Remove phpcs needless comments --- src/Controller/Router.php | 4 ---- src/Cron/Feed.php | 5 ----- src/Model/Export/BasicAuth.php | 4 ---- src/Model/Export/Catalog/AttributeValuesExtractor.php | 4 ---- src/Model/Export/Catalog/DataProvider.php | 4 ---- src/Model/Export/Catalog/ExportPreviewDataProvider.php | 4 ---- src/Model/Export/Catalog/ExportPreviewProducts.php | 4 ---- src/Model/Export/Catalog/FieldProvider.php | 4 ---- src/Model/Export/Catalog/ProductField/GenericField.php | 4 ---- src/Model/Export/Catalog/ProductField/ProductImage.php | 4 ---- src/Model/Export/Catalog/ProductType/SimpleDataProvider.php | 4 ---- src/Model/Export/Catalog/Products.php | 4 ---- src/Model/Export/Category/Categories.php | 4 ---- src/Model/Export/Category/Category.php | 4 ---- src/Model/Export/Category/DataProvider.php | 4 ---- src/Model/Export/Category/Field/ParentCategory.php | 4 ---- src/Model/Export/Cms/DataProvider.php | 4 ---- src/Model/Export/Cms/Field/Content.php | 4 ---- src/Model/Export/Cms/Field/Deeplink.php | 4 ---- src/Model/Export/Cms/Field/Image.php | 4 ---- src/Model/Export/Cms/Page.php | 4 ---- src/Model/Export/Cms/Pages.php | 4 ---- src/Model/Export/Feed.php | 4 ---- src/Model/Export/FeedFactory.php | 4 ---- src/Model/Exporter.php | 4 ---- src/Model/FieldRoles.php | 4 ---- src/Model/Filesystem/Io/SftpPublicKeyAuth.php | 4 ---- src/Model/Formatter/CategoryPathFormatter.php | 4 ---- src/Model/SessionData.php | 4 ---- src/Model/Ssr/PriceFormatter.php | 4 ---- src/Model/Ssr/SearchAdapter.php | 4 ---- src/Model/Ssr/Template/Engine.php | 4 ---- src/Model/Ssr/Template/Filter.php | 4 ---- src/Model/Ssr/Template/Loader.php | 4 ---- src/Model/Stream/Csv.php | 4 ---- src/Model/Stream/Stdout.php | 4 ---- src/Observer/CategoryView.php | 4 ---- src/Observer/ExportAuthentication.php | 4 ---- src/Observer/RedirectSearch.php | 4 ---- src/Observer/Ssr.php | 4 ---- src/Plugin/AnonymizeUserId.php | 4 ---- src/Plugin/LogExceptions.php | 4 ---- src/Plugin/MapFieldRoles.php | 4 ---- src/Service/FeedFileService.php | 4 ---- src/Utilities/Validator/ExportPreviewValidator.php | 4 ---- src/ViewModel/Cart.php | 4 ---- src/ViewModel/CategoryPath.php | 4 ---- src/ViewModel/Order.php | 4 ---- src/ViewModel/ProductBasedComponent.php | 4 ---- src/ViewModel/ProductsPerPage.php | 4 ---- 50 files changed, 201 deletions(-) diff --git a/src/Controller/Router.php b/src/Controller/Router.php index d83eb579..77a0bba6 100644 --- a/src/Controller/Router.php +++ b/src/Controller/Router.php @@ -13,10 +13,6 @@ class Router implements RouterInterface { public const FRONT_NAME = 'fact-finder'; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly ActionFactory $actionFactory) { } diff --git a/src/Cron/Feed.php b/src/Cron/Feed.php index b800fe6b..35a2e744 100644 --- a/src/Cron/Feed.php +++ b/src/Cron/Feed.php @@ -18,11 +18,6 @@ class Feed { private const PATH_CONFIGURABLE_CRON_IS_ENABLED = 'factfinder/configurable_cron/ff_cron_enabled'; - /** - * @SuppressWarnings(PHPMD.ExcessiveParameterList) - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ScopeConfigInterface $scopeConfig, private readonly StoreManagerInterface $storeManager, diff --git a/src/Model/Export/BasicAuth.php b/src/Model/Export/BasicAuth.php index 36a373b7..21e013d5 100644 --- a/src/Model/Export/BasicAuth.php +++ b/src/Model/Export/BasicAuth.php @@ -12,10 +12,6 @@ class BasicAuth private const CONFIG_PATH_USERNAME = 'factfinder/basic_auth_data_transfer/ff_upload_url_user'; private const CONFIG_PATH_PASSWORD = 'factfinder/basic_auth_data_transfer/ff_upload_url_password'; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly ScopeConfigInterface $scopeConfig) { } diff --git a/src/Model/Export/Catalog/AttributeValuesExtractor.php b/src/Model/Export/Catalog/AttributeValuesExtractor.php index 26082539..a4b4757c 100644 --- a/src/Model/Export/Catalog/AttributeValuesExtractor.php +++ b/src/Model/Export/Catalog/AttributeValuesExtractor.php @@ -13,10 +13,6 @@ class AttributeValuesExtractor { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly FilterInterface $filter, private readonly NumberFormatter $numberFormatter, diff --git a/src/Model/Export/Catalog/DataProvider.php b/src/Model/Export/Catalog/DataProvider.php index 922b2fc4..c156b032 100644 --- a/src/Model/Export/Catalog/DataProvider.php +++ b/src/Model/Export/Catalog/DataProvider.php @@ -12,10 +12,6 @@ class DataProvider implements DataProviderInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Products $products, private readonly ObjectManagerInterface $objectManager, diff --git a/src/Model/Export/Catalog/ExportPreviewDataProvider.php b/src/Model/Export/Catalog/ExportPreviewDataProvider.php index ef727f54..7a6e42bc 100644 --- a/src/Model/Export/Catalog/ExportPreviewDataProvider.php +++ b/src/Model/Export/Catalog/ExportPreviewDataProvider.php @@ -12,10 +12,6 @@ class ExportPreviewDataProvider implements DataProviderInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ExportPreviewProducts $products, private readonly ObjectManagerInterface $objectManager, diff --git a/src/Model/Export/Catalog/ExportPreviewProducts.php b/src/Model/Export/Catalog/ExportPreviewProducts.php index 4d311579..03a6a5aa 100644 --- a/src/Model/Export/Catalog/ExportPreviewProducts.php +++ b/src/Model/Export/Catalog/ExportPreviewProducts.php @@ -13,10 +13,6 @@ #[AllowDynamicProperties] class ExportPreviewProducts implements \IteratorAggregate { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ProductRepositoryInterface $productRepository, private readonly RequestInterface $request, diff --git a/src/Model/Export/Catalog/FieldProvider.php b/src/Model/Export/Catalog/FieldProvider.php index 26d725ce..670e599d 100644 --- a/src/Model/Export/Catalog/FieldProvider.php +++ b/src/Model/Export/Catalog/FieldProvider.php @@ -13,10 +13,6 @@ class FieldProvider implements FieldProviderInterface private ?array $cachedFields; private ?array $cachedVariantFields; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ExportConfig $config, private readonly GenericFieldFactory $fieldFactory, diff --git a/src/Model/Export/Catalog/ProductField/GenericField.php b/src/Model/Export/Catalog/ProductField/GenericField.php index f0b13d1c..9990768c 100644 --- a/src/Model/Export/Catalog/ProductField/GenericField.php +++ b/src/Model/Export/Catalog/ProductField/GenericField.php @@ -15,10 +15,6 @@ #[AllowDynamicProperties] class GenericField implements FieldInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ProductAttributeRepositoryInterface $attributeRepository, private readonly AttributeValuesExtractor $valuesExtractor, diff --git a/src/Model/Export/Catalog/ProductField/ProductImage.php b/src/Model/Export/Catalog/ProductField/ProductImage.php index e26aac3b..25987927 100644 --- a/src/Model/Export/Catalog/ProductField/ProductImage.php +++ b/src/Model/Export/Catalog/ProductField/ProductImage.php @@ -10,10 +10,6 @@ class ProductImage implements FieldInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ImageHelper $imageHelper, private readonly string $imageId = 'ff_export_image_url', diff --git a/src/Model/Export/Catalog/ProductType/SimpleDataProvider.php b/src/Model/Export/Catalog/ProductType/SimpleDataProvider.php index 4731aa9e..63e444db 100644 --- a/src/Model/Export/Catalog/ProductType/SimpleDataProvider.php +++ b/src/Model/Export/Catalog/ProductType/SimpleDataProvider.php @@ -12,10 +12,6 @@ class SimpleDataProvider implements DataProviderInterface, ExportEntityInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( protected Product $product, protected NumberFormatter $numberFormatter, diff --git a/src/Model/Export/Catalog/Products.php b/src/Model/Export/Catalog/Products.php index 201ad283..9f211d40 100644 --- a/src/Model/Export/Catalog/Products.php +++ b/src/Model/Export/Catalog/Products.php @@ -14,10 +14,6 @@ class Products implements \IteratorAggregate { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ProductRepositoryInterface $productRepository, private readonly SearchCriteriaBuilder $searchCriteriaBuilder, diff --git a/src/Model/Export/Category/Categories.php b/src/Model/Export/Category/Categories.php index d392d53a..1ada3ade 100644 --- a/src/Model/Export/Category/Categories.php +++ b/src/Model/Export/Category/Categories.php @@ -14,10 +14,6 @@ class Categories implements IteratorAggregate { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly SearchCriteriaBuilder $searchCriteriaBuilder, private readonly StoreManagerInterface $storeManager, diff --git a/src/Model/Export/Category/Category.php b/src/Model/Export/Category/Category.php index 3e2090cb..8f94b058 100644 --- a/src/Model/Export/Category/Category.php +++ b/src/Model/Export/Category/Category.php @@ -10,10 +10,6 @@ class Category implements ExportEntityInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly CategoryInterface $category, private readonly array $categoryFields, diff --git a/src/Model/Export/Category/DataProvider.php b/src/Model/Export/Category/DataProvider.php index aea841a8..66577c3c 100644 --- a/src/Model/Export/Category/DataProvider.php +++ b/src/Model/Export/Category/DataProvider.php @@ -8,10 +8,6 @@ class DataProvider implements DataProviderInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Categories $categories, private readonly CategoryFactory $categoryFactory, diff --git a/src/Model/Export/Category/Field/ParentCategory.php b/src/Model/Export/Category/Field/ParentCategory.php index c5de0d34..8ae17dce 100644 --- a/src/Model/Export/Category/Field/ParentCategory.php +++ b/src/Model/Export/Category/Field/ParentCategory.php @@ -10,10 +10,6 @@ class ParentCategory implements FieldInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly CategoryPathFormatter $categoryPathFormatter) { } diff --git a/src/Model/Export/Cms/DataProvider.php b/src/Model/Export/Cms/DataProvider.php index 8738a6e4..c65e2de3 100644 --- a/src/Model/Export/Cms/DataProvider.php +++ b/src/Model/Export/Cms/DataProvider.php @@ -9,10 +9,6 @@ class DataProvider implements DataProviderInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Pages $pages, private readonly PageFactory $pageFactory, diff --git a/src/Model/Export/Cms/Field/Content.php b/src/Model/Export/Cms/Field/Content.php index 7fd0e377..0e22309d 100644 --- a/src/Model/Export/Cms/Field/Content.php +++ b/src/Model/Export/Cms/Field/Content.php @@ -11,10 +11,6 @@ class Content implements FieldInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly Filter $filter) { } diff --git a/src/Model/Export/Cms/Field/Deeplink.php b/src/Model/Export/Cms/Field/Deeplink.php index d70de5a7..336783d7 100644 --- a/src/Model/Export/Cms/Field/Deeplink.php +++ b/src/Model/Export/Cms/Field/Deeplink.php @@ -12,10 +12,6 @@ class Deeplink implements FieldInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly UrlInterface $urlBuilder, private readonly StoreManagerInterface $storeManager, diff --git a/src/Model/Export/Cms/Field/Image.php b/src/Model/Export/Cms/Field/Image.php index 2cd1aba5..6cb7f900 100644 --- a/src/Model/Export/Cms/Field/Image.php +++ b/src/Model/Export/Cms/Field/Image.php @@ -11,10 +11,6 @@ class Image implements FieldInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly Filter $filter) { } diff --git a/src/Model/Export/Cms/Page.php b/src/Model/Export/Cms/Page.php index ca3d7f56..921ab65d 100644 --- a/src/Model/Export/Cms/Page.php +++ b/src/Model/Export/Cms/Page.php @@ -10,10 +10,6 @@ class Page implements ExportEntityInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly PageInterface $page, private readonly array $pageFields = [], diff --git a/src/Model/Export/Cms/Pages.php b/src/Model/Export/Cms/Pages.php index 8865893b..15ed5d61 100644 --- a/src/Model/Export/Cms/Pages.php +++ b/src/Model/Export/Cms/Pages.php @@ -15,10 +15,6 @@ class Pages implements \IteratorAggregate { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly PageRepositoryInterface $pageRepository, private readonly SearchCriteriaBuilder $searchCriteriaBuilder, diff --git a/src/Model/Export/Feed.php b/src/Model/Export/Feed.php index bd8095a4..3196f60d 100644 --- a/src/Model/Export/Feed.php +++ b/src/Model/Export/Feed.php @@ -14,10 +14,6 @@ */ class Feed { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ExporterInterface $exporter, private readonly DataProviderInterface $dataProvider, diff --git a/src/Model/Export/FeedFactory.php b/src/Model/Export/FeedFactory.php index 07894d0d..fb6e1d30 100644 --- a/src/Model/Export/FeedFactory.php +++ b/src/Model/Export/FeedFactory.php @@ -10,10 +10,6 @@ class FeedFactory { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ObjectManagerInterface $objectManager, private readonly array $feedPool diff --git a/src/Model/Exporter.php b/src/Model/Exporter.php index c91cebda..e89f5fd9 100644 --- a/src/Model/Exporter.php +++ b/src/Model/Exporter.php @@ -11,10 +11,6 @@ class Exporter implements ExporterInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly FilterInterface $filter) { } diff --git a/src/Model/FieldRoles.php b/src/Model/FieldRoles.php index c5f78245..5484dce3 100644 --- a/src/Model/FieldRoles.php +++ b/src/Model/FieldRoles.php @@ -14,10 +14,6 @@ class FieldRoles { private const PATH_PRODUCT_FIELD_ROLE = 'factfinder/general/tracking_product_number_field_role'; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly SerializerInterface $serializer, private readonly ScopeConfigInterface $scopeConfig, diff --git a/src/Model/Filesystem/Io/SftpPublicKeyAuth.php b/src/Model/Filesystem/Io/SftpPublicKeyAuth.php index 722d4c06..c3338d12 100644 --- a/src/Model/Filesystem/Io/SftpPublicKeyAuth.php +++ b/src/Model/Filesystem/Io/SftpPublicKeyAuth.php @@ -16,10 +16,6 @@ class SftpPublicKeyAuth extends SftpBase { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Filesystem $fileSystem, private readonly FtpConfig $uploadConfig, diff --git a/src/Model/Formatter/CategoryPathFormatter.php b/src/Model/Formatter/CategoryPathFormatter.php index 15fac0cf..fde5aaf0 100644 --- a/src/Model/Formatter/CategoryPathFormatter.php +++ b/src/Model/Formatter/CategoryPathFormatter.php @@ -11,10 +11,6 @@ class CategoryPathFormatter { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly CategoryRepositoryInterface $categoryRepository) { } diff --git a/src/Model/SessionData.php b/src/Model/SessionData.php index 1cfec1c0..20914571 100644 --- a/src/Model/SessionData.php +++ b/src/Model/SessionData.php @@ -12,10 +12,6 @@ class SessionData implements SectionSourceInterface, ParametersSourceInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly CustomerSession $customerSession, private readonly ScopeConfigInterface $scopeConfig, diff --git a/src/Model/Ssr/PriceFormatter.php b/src/Model/Ssr/PriceFormatter.php index 74dc7e36..f4a328eb 100644 --- a/src/Model/Ssr/PriceFormatter.php +++ b/src/Model/Ssr/PriceFormatter.php @@ -11,10 +11,6 @@ class PriceFormatter { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly CommunicationConfig $communicationConfig, private readonly PriceCurrencyInterface $priceCurrency, diff --git a/src/Model/Ssr/SearchAdapter.php b/src/Model/Ssr/SearchAdapter.php index 1107968f..41fcc185 100644 --- a/src/Model/Ssr/SearchAdapter.php +++ b/src/Model/Ssr/SearchAdapter.php @@ -13,10 +13,6 @@ class SearchAdapter { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ClientBuilder $clientBuilder, private readonly CommunicationConfig $communicationConfig, diff --git a/src/Model/Ssr/Template/Engine.php b/src/Model/Ssr/Template/Engine.php index da40090c..ac38e39e 100644 --- a/src/Model/Ssr/Template/Engine.php +++ b/src/Model/Ssr/Template/Engine.php @@ -10,10 +10,6 @@ class Engine implements TemplateEngineInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly Mustache $engine) { } diff --git a/src/Model/Ssr/Template/Filter.php b/src/Model/Ssr/Template/Filter.php index 0ed4f4c5..b85e5b1c 100644 --- a/src/Model/Ssr/Template/Filter.php +++ b/src/Model/Ssr/Template/Filter.php @@ -9,10 +9,6 @@ class Filter implements FilterInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly FieldRoles $fieldRoles) { } diff --git a/src/Model/Ssr/Template/Loader.php b/src/Model/Ssr/Template/Loader.php index 25e23644..4c8a4280 100644 --- a/src/Model/Ssr/Template/Loader.php +++ b/src/Model/Ssr/Template/Loader.php @@ -10,10 +10,6 @@ class Loader implements Mustache_Loader { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Mustache_Loader $loader, private readonly FilterInterface $filter, diff --git a/src/Model/Stream/Csv.php b/src/Model/Stream/Csv.php index 3857fb75..85513879 100644 --- a/src/Model/Stream/Csv.php +++ b/src/Model/Stream/Csv.php @@ -15,10 +15,6 @@ class Csv implements StreamInterface { private ?WriteInterface $stream; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Filesystem $filesystem, private readonly string $filename = 'factfinder/export.csv' diff --git a/src/Model/Stream/Stdout.php b/src/Model/Stream/Stdout.php index 1784afcf..231673df 100644 --- a/src/Model/Stream/Stdout.php +++ b/src/Model/Stream/Stdout.php @@ -10,10 +10,6 @@ class Stdout implements StreamInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly DriverInterface $file) { } diff --git a/src/Observer/CategoryView.php b/src/Observer/CategoryView.php index a1a64292..bdfc2394 100644 --- a/src/Observer/CategoryView.php +++ b/src/Observer/CategoryView.php @@ -12,10 +12,6 @@ class CategoryView implements ObserverInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Registry $registry, private readonly FeatureConfig $config, diff --git a/src/Observer/ExportAuthentication.php b/src/Observer/ExportAuthentication.php index c567de88..843ec270 100644 --- a/src/Observer/ExportAuthentication.php +++ b/src/Observer/ExportAuthentication.php @@ -16,10 +16,6 @@ */ class ExportAuthentication implements ObserverInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ActionFlag $actionFlag, private readonly Authentication $authentication, diff --git a/src/Observer/RedirectSearch.php b/src/Observer/RedirectSearch.php index 80157086..c791245f 100644 --- a/src/Observer/RedirectSearch.php +++ b/src/Observer/RedirectSearch.php @@ -13,10 +13,6 @@ class RedirectSearch implements ObserverInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly RedirectInterface $redirect, private readonly ResponseInterface $response, diff --git a/src/Observer/Ssr.php b/src/Observer/Ssr.php index 72ed85e6..73aa5c39 100644 --- a/src/Observer/Ssr.php +++ b/src/Observer/Ssr.php @@ -11,10 +11,6 @@ class Ssr implements ObserverInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ScopeConfigInterface $scopeConfig, private readonly array $useForHandles = ['factfinder_result_index', 'factfinder_category_view'], diff --git a/src/Plugin/AnonymizeUserId.php b/src/Plugin/AnonymizeUserId.php index e1e1b61d..8c9a6563 100644 --- a/src/Plugin/AnonymizeUserId.php +++ b/src/Plugin/AnonymizeUserId.php @@ -12,10 +12,6 @@ class AnonymizeUserId { private const PATH_ANONYMIZE_USER_ID = 'factfinder/advanced/anonymize_user_id'; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly ScopeConfigInterface $scopeConfig) { } diff --git a/src/Plugin/LogExceptions.php b/src/Plugin/LogExceptions.php index b4689e97..c3af1d81 100644 --- a/src/Plugin/LogExceptions.php +++ b/src/Plugin/LogExceptions.php @@ -12,10 +12,6 @@ class LogExceptions { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ScopeConfigInterface $scopeConfig, private readonly LoggerInterface $logger, diff --git a/src/Plugin/MapFieldRoles.php b/src/Plugin/MapFieldRoles.php index 5de69e67..aa8f0457 100644 --- a/src/Plugin/MapFieldRoles.php +++ b/src/Plugin/MapFieldRoles.php @@ -10,10 +10,6 @@ class MapFieldRoles { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly CommunicationConfig $communicationConfig) { } diff --git a/src/Service/FeedFileService.php b/src/Service/FeedFileService.php index d5cda1bf..ab88ab8a 100644 --- a/src/Service/FeedFileService.php +++ b/src/Service/FeedFileService.php @@ -12,10 +12,6 @@ class FeedFileService { private const FEED_FILENAME_PATTERN = 'export.%type%.%channel%.csv'; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly Filesystem $fileSystem) { } diff --git a/src/Utilities/Validator/ExportPreviewValidator.php b/src/Utilities/Validator/ExportPreviewValidator.php index dca248d7..403835d8 100644 --- a/src/Utilities/Validator/ExportPreviewValidator.php +++ b/src/Utilities/Validator/ExportPreviewValidator.php @@ -13,10 +13,6 @@ class ExportPreviewValidator implements ValidatorInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ProductRepositoryInterface $productRepository, private readonly ConfigurableType $configurableType, diff --git a/src/ViewModel/Cart.php b/src/ViewModel/Cart.php index 2929e222..b2903d30 100644 --- a/src/ViewModel/Cart.php +++ b/src/ViewModel/Cart.php @@ -11,10 +11,6 @@ class Cart implements ArgumentInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct(private readonly Session $checkoutSession) { } diff --git a/src/ViewModel/CategoryPath.php b/src/ViewModel/CategoryPath.php index 5a1bfaf3..0f59034a 100644 --- a/src/ViewModel/CategoryPath.php +++ b/src/ViewModel/CategoryPath.php @@ -12,10 +12,6 @@ class CategoryPath implements ArgumentInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Registry $registry, private readonly CommunicationConfig $communicationConfig, diff --git a/src/ViewModel/Order.php b/src/ViewModel/Order.php index 1523f317..2ec7487c 100644 --- a/src/ViewModel/Order.php +++ b/src/ViewModel/Order.php @@ -12,10 +12,6 @@ class Order implements ArgumentInterface { - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Session $checkoutSession, private readonly CommunicationConfig $communicationConfig, diff --git a/src/ViewModel/ProductBasedComponent.php b/src/ViewModel/ProductBasedComponent.php index 4de3c4f7..95ed48e8 100644 --- a/src/ViewModel/ProductBasedComponent.php +++ b/src/ViewModel/ProductBasedComponent.php @@ -16,10 +16,6 @@ class ProductBasedComponent implements ArgumentInterface private const PATH_SHOW_ADD_TO_CART_BUTTON = 'factfinder/general/show_add_to_cart_button'; private const PATH_MAX_RESULT = 'factfinder/components_options/max_results_'; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly Image $imageHelper, private readonly ScopeConfigInterface $scopeConfig, diff --git a/src/ViewModel/ProductsPerPage.php b/src/ViewModel/ProductsPerPage.php index 54a27232..fa3a4a4e 100644 --- a/src/ViewModel/ProductsPerPage.php +++ b/src/ViewModel/ProductsPerPage.php @@ -12,10 +12,6 @@ class ProductsPerPage implements ArgumentInterface { private const PRODUCT_PER_PAGE_CONFIG_PATH = 'factfinder/components_options/products_per_page'; - /** - * phpcs:disable Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore - * phpcs:disable Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine - */ public function __construct( private readonly ScopeConfigInterface $scopeConfig, private readonly Json $serializer