Skip to content

Commit

Permalink
Merge branch 'v1-develop' into v1
Browse files Browse the repository at this point in the history
  • Loading branch information
hostep committed Mar 16, 2023
2 parents 6b3f9de + c47930b commit 0cc21c6
Show file tree
Hide file tree
Showing 10 changed files with 152 additions and 128 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ check: checkstyle checkquality test

.PHONY: checkstyle
checkstyle:
PHP_CS_FIXER_IGNORE_ENV=1 vendor-bin/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff --stop-on-violation --allow-risky=yes
vendor-bin/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff --stop-on-violation --allow-risky=yes
vendor-bin/phpcs/vendor/bin/phpcs -s --standard=Magento2 --exclude=Magento2.Security.InsecureFunction,Magento2.Commenting.ClassPropertyPHPDocFormatting,Magento2.Annotation.MethodAnnotationStructure,Magento2.Annotation.MethodArguments,PSR12.Properties.ConstantVisibility --ignore=./vendor/,./vendor-bin/ .
vendor-bin/phpcs/vendor/bin/phpcs -s --standard=PHPCompatibility --runtime-set testVersion 7.0- --ignore=./vendor/,./vendor-bin/,./Test/ .
vendor-bin/phpcs/vendor/bin/phpcs -s --standard=PHPCompatibility --runtime-set testVersion 7.1- ./Test/
Expand Down
2 changes: 1 addition & 1 deletion Updater/Catalog/Category/UrlKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function refresh(string $initiator): array
$storageIdentifier = UrlKeyChecker::STORAGE_IDENTIFIER;

if ($this->metaStorage->isRefreshing($storageIdentifier)) {
$errorMsg = __('We are already refreshing the category url key\'s, just have a little patience 🙂');
$errorMsg = __('We are already refreshing the category url key\'s, just have a little patience');

$this->metaStorage->setErrorMessage($storageIdentifier, (string) $errorMsg);
throw new AlreadyRefreshingException($errorMsg);
Expand Down
2 changes: 1 addition & 1 deletion Updater/Catalog/Category/UrlPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function refresh(string $initiator): array
$storageIdentifier = UrlPathChecker::STORAGE_IDENTIFIER;

if ($this->metaStorage->isRefreshing($storageIdentifier)) {
$errorMsg = __('We are already refreshing the category url path\'s, just have a little patience 🙂');
$errorMsg = __('We are already refreshing the category url path\'s, just have a little patience');

$this->metaStorage->setErrorMessage($storageIdentifier, (string) $errorMsg);
throw new AlreadyRefreshingException($errorMsg);
Expand Down
2 changes: 1 addition & 1 deletion Updater/Catalog/Product/UrlKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function refresh(string $initiator): array
$storageIdentifier = UrlKeyChecker::STORAGE_IDENTIFIER;

if ($this->metaStorage->isRefreshing($storageIdentifier)) {
$errorMsg = __('We are already refreshing the product url key\'s, just have a little patience 🙂');
$errorMsg = __('We are already refreshing the product url key\'s, just have a little patience');

$this->metaStorage->setErrorMessage($storageIdentifier, (string) $errorMsg);
throw new AlreadyRefreshingException($errorMsg);
Expand Down
2 changes: 1 addition & 1 deletion Updater/Catalog/Product/UrlPath.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function refresh(string $initiator): array
$storageIdentifier = UrlPathChecker::STORAGE_IDENTIFIER;

if ($this->metaStorage->isRefreshing($storageIdentifier)) {
$errorMsg = __('We are already refreshing the product url path\'s, just have a little patience 🙂');
$errorMsg = __('We are already refreshing the product url path\'s, just have a little patience');

$this->metaStorage->setErrorMessage($storageIdentifier, (string) $errorMsg);
throw new AlreadyRefreshingException($errorMsg);
Expand Down
Loading

0 comments on commit 0cc21c6

Please sign in to comment.