Skip to content

Commit 3eacbb2

Browse files
committed
ACP2E-3863: Update copyrights for MSI and fix static errors.
Modules: InventoryAdvancedCheckout, InventoryConfigurableProductFrontendUi, InventorySourceSelection, InventoryExportStockApi, InventorySetupFixtureGenerator,
1 parent 997162d commit 3eacbb2

File tree

22 files changed

+48
-48
lines changed

22 files changed

+48
-48
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 = {

InventoryConfigurableProductFrontendUi/view/frontend/templates/product/view/stockQty.phtml

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
?>
77
<div class="availability only configurable-variation-qty" title="<?= $block->escapeHtmlAttr(__('Qty')) ?>">

InventoryConfigurableProductFrontendUi/view/frontend/web/js/configurable-variation-qty.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
/**

InventoryConfigurableProductFrontendUi/view/frontend/web/js/configurable.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
define([
66
'jquery',

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)