Skip to content

Commit 7d5f1b0

Browse files
Merge pull request #4612 from magento-engcom/2.3-develop-fast-lane-prs
[Magento Community Engineering] Community Contributions - 2.3-develop expedited
2 parents 8df06c9 + 62a42eb commit 7d5f1b0

File tree

243 files changed

+355
-173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

243 files changed

+355
-173
lines changed

app/code/Magento/Backend/Test/Unit/Model/Config/SessionLifetime/BackendModelTest.php

100755100644
File mode changed.

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AdminClearFiltersActionGroup.xml

100755100644
File mode changed.

app/code/Magento/Catalog/Test/Mftf/Test/AdminCreateAndSwitchProductType.xml

100755100644
File mode changed.

app/code/Magento/Catalog/Test/Unit/Ui/DataProvider/Product/Form/Modifier/EavTest.php

100755100644
File mode changed.

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ protected function getProductOptionTypes()
11531153

11541154
if (count($group['optgroup'])) {
11551155
$options[] = $group;
1156-
$groupIndex += 1;
1156+
$groupIndex++;
11571157
}
11581158
}
11591159

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/Eav.php

100755100644
File mode changed.

app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/General.php

100755100644
Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
67
namespace Magento\Catalog\Ui\DataProvider\Product\Form\Modifier;
78

89
use Magento\Catalog\Api\Data\ProductAttributeInterface;
910
use Magento\Catalog\Model\Locator\LocatorInterface;
1011
use Magento\Eav\Api\AttributeRepositoryInterface;
11-
use Magento\Ui\Component\Form;
1212
use Magento\Framework\Stdlib\ArrayManager;
13+
use Magento\Ui\Component\Form;
1314

1415
/**
1516
* Data provider for main panel of product page
@@ -60,10 +61,10 @@ public function __construct(
6061
/**
6162
* Customize number fields for advanced price and weight fields.
6263
*
63-
* @since 101.0.0
6464
* @param array $data
6565
* @return array
6666
* @throws \Magento\Framework\Exception\NoSuchEntityException
67+
* @since 101.0.0
6768
*/
6869
public function modifyData(array $data)
6970
{
@@ -125,7 +126,7 @@ protected function customizeAdvancedPriceFormat(array $data)
125126
$value[ProductAttributeInterface::CODE_TIER_PRICE_FIELD_PRICE] =
126127
$this->formatPrice($value[ProductAttributeInterface::CODE_TIER_PRICE_FIELD_PRICE]);
127128
$value[ProductAttributeInterface::CODE_TIER_PRICE_FIELD_PRICE_QTY] =
128-
(float) $value[ProductAttributeInterface::CODE_TIER_PRICE_FIELD_PRICE_QTY];
129+
(float)$value[ProductAttributeInterface::CODE_TIER_PRICE_FIELD_PRICE_QTY];
129130
}
130131
}
131132

@@ -135,9 +136,9 @@ protected function customizeAdvancedPriceFormat(array $data)
135136
/**
136137
* Customize product form fields.
137138
*
138-
* @since 101.0.0
139139
* @param array $meta
140140
* @return array
141+
* @since 101.0.0
141142
*/
142143
public function modifyMeta(array $meta)
143144
{
@@ -234,9 +235,13 @@ protected function customizeWeightField(array $meta)
234235
null,
235236
'children'
236237
);
237-
$meta = $this->arrayManager->merge($containerPath . static::META_CONFIG_PATH, $meta, [
238-
'component' => 'Magento_Ui/js/form/components/group',
239-
]);
238+
$meta = $this->arrayManager->merge(
239+
$containerPath . static::META_CONFIG_PATH,
240+
$meta,
241+
[
242+
'component' => 'Magento_Ui/js/form/components/group',
243+
]
244+
);
240245

241246
$hasWeightPath = $this->arrayManager->slicePath($weightPath, 0, -1) . '/'
242247
. ProductAttributeInterface::CODE_HAS_WEIGHT;
@@ -438,8 +443,13 @@ protected function formatNumber($value)
438443
$precision = strlen(substr(strrchr($value, "."), 1));
439444
$store = $this->locator->getStore();
440445
$currency = $this->getLocaleCurrency()->getCurrency($store->getBaseCurrencyCode());
441-
$value = $currency->toCurrency($value, ['display' => \Magento\Framework\Currency::NO_SYMBOL,
442-
'precision' => $precision]);
446+
$value = $currency->toCurrency(
447+
$value,
448+
[
449+
'display' => \Magento\Framework\Currency::NO_SYMBOL,
450+
'precision' => $precision
451+
]
452+
);
443453

444454
return $value;
445455
}

app/code/Magento/Catalog/i18n/en_US.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,3 +812,4 @@ Details,Details
812812
"Edit Product Design","Edit Product Design"
813813
"Edit Category Design","Edit Category Design"
814814
"A total of %1 record(s) haven't been deleted. Please see server logs for more details.","A total of %1 record(s) haven't been deleted. Please see server logs for more details."
815+
"Are you sure you want to delete this category?","Are you sure you want to delete this category?"

app/code/Magento/Catalog/view/adminhtml/layout/catalog_product_attribute_edit_popup.xml

100755100644
File mode changed.

app/code/Magento/Catalog/view/frontend/layout/catalog_product_gallery.xml

100755100644
File mode changed.

0 commit comments

Comments
 (0)