File tree 8 files changed +30
-33
lines changed
Test/Unit/Block/Adminhtml/Order/Create/Items
Model/Api/SearchCriteria/JoinProcessor
lib/internal/Magento/Framework
Setup/Declaration/Schema/DataSavior
View/Element/Template/File
8 files changed +30
-33
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2016 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Sales \Model \Order \Creditmemo ;
7
7
@@ -27,7 +27,7 @@ public function __construct(array $senders = [])
27
27
}
28
28
29
29
/**
30
- * { @inheritdoc}
30
+ * @inheritdoc
31
31
* @since 100.1.3
32
32
*/
33
33
public function notify (
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2015 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
@@ -89,19 +89,16 @@ protected function setUp(): void
89
89
$ taxData = $ this ->getMockBuilder (Data::class)
90
90
->disableOriginalConstructor ()
91
91
->getMock ();
92
- $ this ->priceCurrency = $ this ->getMockBuilder (
93
- PriceCurrencyInterface::class
94
- )->getMock ();
92
+ $ this ->priceCurrency = $ this ->getMockBuilder (PriceCurrencyInterface::class)
93
+ ->getMock ();
95
94
$ sessionMock = $ this ->getMockBuilder (Quote::class)
96
95
->disableOriginalConstructor ()
97
96
->onlyMethods (['getQuote ' ])
98
97
->getMock ();
99
-
100
98
$ quoteMock = $ this ->getMockBuilder (\Magento \Quote \Model \Quote::class)
101
99
->disableOriginalConstructor ()
102
100
->onlyMethods (['getStore ' ])
103
101
->getMock ();
104
-
105
102
$ storeMock = $ this ->getMockBuilder (Store::class)
106
103
->disableOriginalConstructor ()
107
104
->getMock ();
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2014 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Tax \Block \Item \Price ;
7
7
18
18
* Item price render block
19
19
*
20
20
* @api
21
- * @author Magento Core Team <core@magentocommerce.com>
22
21
* @since 100.0.2
23
22
*/
24
23
class Renderer extends \Magento \Framework \View \Element \Template
@@ -106,6 +105,8 @@ public function setZone($zone)
106
105
}
107
106
108
107
/**
108
+ * Get store id
109
+ *
109
110
* @return int|null|string
110
111
*/
111
112
public function getStoreId ()
@@ -201,8 +202,7 @@ public function formatPrice($price)
201
202
}
202
203
203
204
/**
204
- * Get item price in display currency or order currency depending
205
- * on item type
205
+ * Get item price in display currency or order currency depending on item type
206
206
*
207
207
* @return float
208
208
*/
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2016 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Tax \Model \Api \SearchCriteria \JoinProcessor ;
7
7
8
8
use Magento \Framework \Api \SearchCriteria \CollectionProcessor \JoinProcessor \CustomJoinInterface ;
9
9
use Magento \Framework \Data \Collection \AbstractDb ;
10
10
11
- /**
12
- * Class CalculationData
13
- * @package Magento\Tax\Model\Api\SearchCriteria\JoinProcessor
14
- */
15
11
class CalculationData implements CustomJoinInterface
16
12
{
17
13
/** Alias of table, that will be joined */
18
- const CALCULATION_DATA_ALIAS = "cd " ;
14
+ public const CALCULATION_DATA_ALIAS = "cd " ;
19
15
20
16
/**
17
+ * Apply join to collection
18
+ *
21
19
* @param \Magento\Tax\Model\ResourceModel\Calculation\Rule\Collection $collection
22
20
* @return bool
23
21
*/
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2018 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
namespace Magento \Framework \Setup \Declaration \Schema \DataSavior ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2015 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Framework \View \Element \Template \File ;
7
7
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2015 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Setup \Model ;
7
7
13
13
*/
14
14
class BasePackageInfo
15
15
{
16
- const MAGENTO_BASE_PACKAGE_COMPOSER_JSON_FILE = 'magento/magento2-base/composer.json ' ;
16
+ public const MAGENTO_BASE_PACKAGE_COMPOSER_JSON_FILE = 'magento/magento2-base/composer.json ' ;
17
17
18
- const COMPOSER_KEY_EXTRA = 'extra ' ;
18
+ public const COMPOSER_KEY_EXTRA = 'extra ' ;
19
19
20
- const COMPOSER_KEY_MAP = 'map ' ;
20
+ public const COMPOSER_KEY_MAP = 'map ' ;
21
21
22
22
/**
23
23
* @var \Magento\Framework\Filesystem\Directory\ReadInterface $reader
@@ -44,6 +44,8 @@ public function getPaths()
44
44
{
45
45
// Locate composer.json for magento2-base module
46
46
$ filesPathList = [];
47
+
48
+ // phpcs:ignore Magento2.Security.IncludeFile.FoundIncludeFile
47
49
$ vendorDir = require VENDOR_PATH ;
48
50
$ basePackageComposerFilePath = $ vendorDir . '/ ' . self ::MAGENTO_BASE_PACKAGE_COMPOSER_JSON_FILE ;
49
51
if (!$ this ->reader ->isExist ($ basePackageComposerFilePath )) {
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2016 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
You can’t perform that action at this time.
0 commit comments