From d3f522a985e54dd012867c2b1620ab689e528f0c Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Wed, 20 Oct 2021 18:01:30 +0200 Subject: [PATCH] TE-10081 CS code sniffer fixes for future compatibility. (#8817) * TE-10081 CS code sniffer fixes for future compatibility. * Fix non defined array usage. * Readd PHP73+ call commas. --- .../ProductListRestrictionValidator.php | 1 + .../Business/RestrictedItemsFilter/RestrictedItemsFilter.php | 1 + .../Zed/ProductList/Persistence/ProductListRepository.php | 3 +++ src/Spryker/Zed/ProductList/ProductListDependencyProvider.php | 3 +++ 4 files changed, 8 insertions(+) diff --git a/src/Spryker/Zed/ProductList/Business/ProductListRestrictionValidator/ProductListRestrictionValidator.php b/src/Spryker/Zed/ProductList/Business/ProductListRestrictionValidator/ProductListRestrictionValidator.php index 3be6842..466e171 100644 --- a/src/Spryker/Zed/ProductList/Business/ProductListRestrictionValidator/ProductListRestrictionValidator.php +++ b/src/Spryker/Zed/ProductList/Business/ProductListRestrictionValidator/ProductListRestrictionValidator.php @@ -19,6 +19,7 @@ class ProductListRestrictionValidator implements ProductListRestrictionValidator * @var string */ protected const MESSAGE_PARAM_SKU = '%sku%'; + /** * @var string */ diff --git a/src/Spryker/Zed/ProductList/Business/RestrictedItemsFilter/RestrictedItemsFilter.php b/src/Spryker/Zed/ProductList/Business/RestrictedItemsFilter/RestrictedItemsFilter.php index 6146043..de97466 100644 --- a/src/Spryker/Zed/ProductList/Business/RestrictedItemsFilter/RestrictedItemsFilter.php +++ b/src/Spryker/Zed/ProductList/Business/RestrictedItemsFilter/RestrictedItemsFilter.php @@ -19,6 +19,7 @@ class RestrictedItemsFilter implements RestrictedItemsFilterInterface * @var string */ protected const MESSAGE_PARAM_SKU = '%sku%'; + /** * @var string */ diff --git a/src/Spryker/Zed/ProductList/Persistence/ProductListRepository.php b/src/Spryker/Zed/ProductList/Persistence/ProductListRepository.php index 3126180..4ffac9b 100644 --- a/src/Spryker/Zed/ProductList/Persistence/ProductListRepository.php +++ b/src/Spryker/Zed/ProductList/Persistence/ProductListRepository.php @@ -28,14 +28,17 @@ class ProductListRepository extends AbstractRepository implements ProductListRep * @var string */ public const COL_CONCRETE_PRODUCT_COUNT = 'concrete_product_count'; + /** * @var string */ public const COL_ID_PRODUCT_ABSTRACT = 'col_id_product_abstract'; + /** * @var string */ public const COL_TYPE = 'col_type'; + /** * @var string */ diff --git a/src/Spryker/Zed/ProductList/ProductListDependencyProvider.php b/src/Spryker/Zed/ProductList/ProductListDependencyProvider.php index 05b6d83..644b68b 100644 --- a/src/Spryker/Zed/ProductList/ProductListDependencyProvider.php +++ b/src/Spryker/Zed/ProductList/ProductListDependencyProvider.php @@ -27,6 +27,7 @@ class ProductListDependencyProvider extends AbstractBundleDependencyProvider * @var string */ public const FACADE_MESSENGER = 'FACADE_MESSENGER'; + /** * @var string */ @@ -36,10 +37,12 @@ class ProductListDependencyProvider extends AbstractBundleDependencyProvider * @var string */ public const PLUGINS_PRODUCT_LIST_PRE_CREATE = 'PLUGINS_PRODUCT_LIST_PRE_CREATE'; + /** * @var string */ public const PLUGINS_PRODUCT_LIST_PRE_UPDATE = 'PLUGINS_PRODUCT_LIST_PRE_UPDATE'; + /** * @var string */