Skip to content

Commit

Permalink
TE-10081 CS code sniffer fixes for future compatibility. (#8817)
Browse files Browse the repository at this point in the history
* TE-10081 CS code sniffer fixes for future compatibility.

* Fix non defined array usage.

* Readd PHP73+ call commas.
  • Loading branch information
dereuromark authored Oct 20, 2021
1 parent fee04a3 commit d3f522a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class ProductListRestrictionValidator implements ProductListRestrictionValidator
* @var string
*/
protected const MESSAGE_PARAM_SKU = '%sku%';

/**
* @var string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class RestrictedItemsFilter implements RestrictedItemsFilterInterface
* @var string
*/
protected const MESSAGE_PARAM_SKU = '%sku%';

/**
* @var string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Spryker/Zed/ProductList/ProductListDependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ class ProductListDependencyProvider extends AbstractBundleDependencyProvider
* @var string
*/
public const FACADE_MESSENGER = 'FACADE_MESSENGER';

/**
* @var string
*/
Expand All @@ -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
*/
Expand Down

0 comments on commit d3f522a

Please sign in to comment.