Skip to content

Commit 620170f

Browse files
authored
Merge pull request #38 from adobe-commerce-tier-4/ACP2E-3863-Bundle2
ACP2E-3863: [Bundle 2] Update copyrights for MSI and fix static errors.
2 parents 6b4676e + c88c97e commit 620170f

File tree

22 files changed

+53
-51
lines changed

22 files changed

+53
-51
lines changed

InventoryAdvancedCheckout/Plugin/Model/AreProductsSalablePlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2020 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

InventoryAdvancedCheckout/registration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2019 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

InventoryConfigurableProductFrontendUi/Plugin/ConfigurableProduct/Block/Product/View/Type/AddAdditionalInfo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2020 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

InventoryConfigurableProductFrontendUi/registration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2020 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

InventoryConfigurableProductFrontendUi/view/frontend/requirejs-config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* Copyright © Magento, Inc. All rights reserved.
3-
* See COPYING.txt for license details.
2+
* Copyright 2020 Adobe
3+
* All Rights Reserved.
44
*/
55

66
var config = {
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2020 Adobe
4+
* All Rights Reserved.
55
*/
6+
7+
/** @var \Magento\Framework\Escaper $escaper */
68
?>
7-
<div class="availability only configurable-variation-qty" title="<?= $block->escapeHtmlAttr(__('Qty')) ?>">
9+
<div class="availability only configurable-variation-qty" title="<?= $escaper->escapeHtmlAttr(__('Qty')) ?>">
810
<?= /* @noEscape */ __('Only %1 left', "<strong>%1</strong>") ?>
911
</div>

InventoryConfigurableProductFrontendUi/view/frontend/web/js/configurable-variation-qty.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* Copyright © Magento, Inc. All rights reserved.
3-
* See COPYING.txt for license details.
2+
* Copyright 2020 Adobe
3+
* All Rights Reserved.
44
*/
55

66
/**
@@ -11,7 +11,7 @@ define([
1111
'underscore',
1212
'mage/url'
1313
], function ($, _, urlBuilder) {
14-
'use strict';
14+
'use strict'; //eslint-disable-line
1515

1616
return function (productSku, salesChannel, salesChannelCode) {
1717
var selectorInfoStockSkuQty = '.availability.only',

InventoryConfigurableProductFrontendUi/view/frontend/web/js/configurable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/**
2-
* Copyright © Magento, Inc. All rights reserved.
3-
* See COPYING.txt for license details.
2+
* Copyright 2020 Adobe
3+
* All Rights Reserved.
44
*/
55
define([
66
'jquery',
77
'configurableVariationQty',
88
'jquery-ui-modules/widget'
99
], function ($, configurableVariationQty) {
10-
'use strict';
10+
'use strict'; //eslint-disable-line
1111

1212
return function (configurable) {
1313
$.widget('mage.configurable', configurable, {

InventoryExportStockApi/Api/Data/ExportStockSalableQtySearchResultInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2019 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

@@ -16,7 +16,7 @@
1616
interface ExportStockSalableQtySearchResultInterface extends SearchResultsInterface
1717
{
1818
/**
19-
* {@inheritdoc}
19+
* @inheritdoc
2020
*/
2121
public function getItems();
2222

InventoryExportStockApi/Api/Data/ProductStockIndexDataInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2019 Adobe
4+
* All Rights Reserved.
55
*/
66
declare(strict_types=1);
77

@@ -36,6 +36,7 @@ public function getQty(): float;
3636
* Provides product is salable flag
3737
*
3838
* @return bool
39+
* @SuppressWarnings(PHPMD.BooleanGetMethodName)
3940
*/
4041
public function getIsSalable(): bool;
4142

@@ -62,5 +63,4 @@ public function setQty(float $qty): void;
6263
* @return void
6364
*/
6465
public function setIsSalable(bool $isSalable): void;
65-
6666
}

0 commit comments

Comments
 (0)