Skip to content

Commit 02fdf96

Browse files
author
Alex Paliarush
committed
MAGETWO-75523: Run tool for setting deprecated tag versions
1 parent 09d662e commit 02fdf96

File tree

32 files changed

+88
-100
lines changed

32 files changed

+88
-100
lines changed

app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ protected function _getSelectedOptions()
165165
* @param \Magento\Bundle\Model\Option $option
166166
* @param mixed $selectionId
167167
* @return void
168+
* @since 100.2.0
168169
*/
169170
protected function assignSelection(\Magento\Bundle\Model\Option $option, $selectionId)
170171
{

app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle/Option/Multi.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class Multi extends \Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Optio
2020

2121
/**
2222
* @inheritdoc
23+
* @since 100.2.0
2324
*/
2425
protected function assignSelection(\Magento\Bundle\Model\Option $option, $selectionId)
2526
{

app/code/Magento/Catalog/Model/Indexer/Product/Price/UpdateIndexInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
* Defines strategy for updating price index
1212
*
1313
* @api
14+
* @since 101.1.0
1415
*/
1516
interface UpdateIndexInterface
1617
{
@@ -20,6 +21,7 @@ interface UpdateIndexInterface
2021
* @param GroupInterface $group
2122
* @param bool $isGroupNew
2223
* @return void
24+
* @since 101.1.0
2325
*/
2426
public function update(GroupInterface $group, $isGroupNew);
2527
}

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/BatchSizeCalculator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ class BatchSizeCalculator
2323

2424
/**
2525
* @var \Magento\Catalog\Model\ResourceModel\Product\Indexer\Price\CompositeProductBatchSizeAdjusterInterface[]
26-
* @since 2.2.0
2726
*/
2827
private $batchSizeAdjusters;
2928

@@ -32,7 +31,6 @@ class BatchSizeCalculator
3231
* @param array $batchRowsCount
3332
* @param array $estimators
3433
* @param array $batchSizeAdjusters
35-
* @since 2.2.0
3634
*/
3735
public function __construct(array $batchRowsCount, array $estimators, array $batchSizeAdjusters)
3836
{

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/CompositeProductBatchSizeAdjusterInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/**
1010
* Correct batch size according to number of composite related items.
1111
* @api
12+
* @since 101.1.0
1213
*/
1314
interface CompositeProductBatchSizeAdjusterInterface
1415
{
@@ -17,6 +18,7 @@ interface CompositeProductBatchSizeAdjusterInterface
1718
*
1819
* @param int $batchSize
1920
* @return int
21+
* @since 101.1.0
2022
*/
2123
public function adjust($batchSize);
2224
}

app/code/Magento/Catalog/Model/ResourceModel/Product/Indexer/Price/CompositeProductRowSizeEstimator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ class CompositeProductRowSizeEstimator implements IndexTableRowSizeEstimatorInte
3232

3333
/**
3434
* @var CompositeProductRelationsCalculator
35-
* @since 2.2.0
3635
*/
3736
private $compositeProductRelationsCalculator;
3837

3938
/**
4039
* @param WebsiteManagementInterface $websiteManagement
4140
* @param CollectionFactory $collectionFactory
4241
* @param CompositeProductRelationsCalculator $compositeProductRelationsCalculator
43-
* @since 2.2.0
4442
*/
4543
public function __construct(
4644
WebsiteManagementInterface $websiteManagement,

app/code/Magento/Catalog/Pricing/Price/TierPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class TierPrice extends AbstractPrice implements TierPriceInterface, BasePricePr
3131

3232
/**
3333
* @var Session
34-
* @deprecated
34+
* @deprecated 101.1.0
3535
*/
3636
protected $customerSession;
3737

app/code/Magento/CatalogImportExport/Model/Export/Product.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity
161161
* Header columns for export file
162162
*
163163
* @var array
164-
* @deprecated
164+
* @deprecated 100.2.0
165165
*/
166166
protected $_headerColumns = [];
167167

@@ -699,7 +699,7 @@ public function _getHeaderColumns()
699699
* @param array $customOptionsData
700700
* @param array $stockItemRows
701701
* @return void
702-
* @deprecated Logic will be moved to _getHeaderColumns in future release
702+
* @deprecated 100.2.0 Logic will be moved to _getHeaderColumns in future release
703703
*
704704
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
705705
*/

app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class StockItemRepository implements StockItemRepositoryInterface
7777

7878
/**
7979
* @var Processor
80-
* @deprecated
80+
* @deprecated 100.2.0
8181
*/
8282
protected $indexProcessor;
8383

app/code/Magento/Cms/Ui/Component/DataProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function __construct(
5757
}
5858

5959
/**
60-
* @deprecated 101.1.0
60+
* @deprecated 101.0.7
6161
* @return AuthorizationInterface|mixed
6262
*/
6363
private function getAuthorizationInstance()

app/code/Magento/Cms/Ui/Component/Listing/Column/BlockActions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function prepareDataSource(array $dataSource)
100100
/**
101101
* Get instance of escaper
102102
* @return Escaper
103-
* @deprecated 101.1.0
103+
* @deprecated 101.0.7
104104
*/
105105
private function getEscaper()
106106
{

app/code/Magento/Cms/Ui/Component/Listing/Column/PageActions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function prepareDataSource(array $dataSource)
111111
/**
112112
* Get instance of escaper
113113
* @return Escaper
114-
* @deprecated 101.1.0
114+
* @deprecated 101.0.7
115115
*/
116116
private function getEscaper()
117117
{

app/code/Magento/ConfigurableProduct/Block/Product/View/Type/Configurable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Configurable extends \Magento\Catalog\Block\Product\View\AbstractView
3232
/**
3333
* Current customer
3434
*
35-
* @deprecated, as unused property
35+
* @deprecated 100.2.0, as unused property
3636
* @var CurrentCustomer
3737
*/
3838
protected $currentCustomer;

app/code/Magento/Customer/Model/Account/Redirect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class Redirect
5454
protected $customerUrl;
5555

5656
/**
57-
* @deprecated 100.2.0
57+
* @deprecated 100.1.8
5858
* @var UrlInterface
5959
*/
6060
protected $url;

app/code/Magento/Customer/Model/Group/RetrieverInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
* Interface for getting current customer group from session.
1010
*
1111
* @api
12+
* @since 100.2.0
1213
*/
1314
interface RetrieverInterface
1415
{
1516
/**
1617
* Retrieve customer group id.
1718
*
1819
* @return int
20+
* @since 100.2.0
1921
*/
2022
public function getCustomerGroupId();
2123
}

app/code/Magento/CustomerImportExport/Model/Export/Address.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ class Address extends \Magento\ImportExport\Model\Export\Entity\AbstractEav
6969
* Attributes with index (not label) value
7070
*
7171
* @var string[]
72+
* @since 100.2.0
7273
*/
7374
protected $_indexValueAttributes = [self::COLUMN_COUNTRY_ID];
7475

app/code/Magento/CustomerImportExport/Model/Import/AbstractCustomer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ public function getCustomerStorage()
256256
* @param array $attributeParameters Parameters of an attribute
257257
* @param int|string $value A value of an attribute
258258
* @return int An option id of attribute
259+
* @since 100.2.0
259260
*/
260261
protected function getSelectAttrIdByValue(array $attributeParameters, $value)
261262
{
@@ -268,6 +269,7 @@ protected function getSelectAttrIdByValue(array $attributeParameters, $value)
268269
* Returns multiple value separator
269270
*
270271
* @return string
272+
* @since 100.2.0
271273
*/
272274
protected function getMultipleValueSeparator()
273275
{

app/code/Magento/Email/Model/Template/Filter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class Filter extends \Magento\Framework\Filter\Template
150150

151151
/**
152152
* @var \Pelago\Emogrifier
153-
* @deprecated
153+
* @deprecated 100.2.0
154154
*/
155155
protected $emogrifier;
156156

app/code/Magento/ImportExport/Model/Export/Entity/AbstractEav.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ abstract class AbstractEav extends \Magento\ImportExport\Model\Export\AbstractEn
3232
* Attribute code to its types. Only attributes with options
3333
*
3434
* @var array
35+
* @since 100.2.0
3536
*/
3637
protected $attributeTypes = [];
3738

@@ -100,6 +101,7 @@ protected function _initAttributeValues()
100101
* Initializes attribute types
101102
*
102103
* @return $this
104+
* @since 100.2.0
103105
*/
104106
protected function _initAttributeTypes()
105107
{

app/code/Magento/Indexer/Model/Indexer/Collection.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function getItems()
102102

103103
/**
104104
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
105-
* @deprecated Should not be used in the current implementation.
105+
* @deprecated 100.2.0 Should not be used in the current implementation.
106106
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
107107
*/
108108
public function getColumnValues($colName)
@@ -112,7 +112,7 @@ public function getColumnValues($colName)
112112

113113
/**
114114
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
115-
* @deprecated Should not be used in the current implementation.
115+
* @deprecated 100.2.0 Should not be used in the current implementation.
116116
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
117117
*/
118118
public function getItemsByColumnValue($column, $value)
@@ -122,7 +122,7 @@ public function getItemsByColumnValue($column, $value)
122122

123123
/**
124124
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
125-
* @deprecated Should not be used in the current implementation.
125+
* @deprecated 100.2.0 Should not be used in the current implementation.
126126
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
127127
*/
128128
public function getItemByColumnValue($column, $value)
@@ -132,7 +132,7 @@ public function getItemByColumnValue($column, $value)
132132

133133
/**
134134
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
135-
* @deprecated Should not be used in the current implementation.
135+
* @deprecated 100.2.0 Should not be used in the current implementation.
136136
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
137137
*/
138138
public function setDataToAll($key, $value = null)
@@ -142,7 +142,7 @@ public function setDataToAll($key, $value = null)
142142

143143
/**
144144
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
145-
* @deprecated Should not be used in the current implementation.
145+
* @deprecated 100.2.0 Should not be used in the current implementation.
146146
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
147147
*/
148148
public function setItemObjectClass($className)
@@ -152,7 +152,7 @@ public function setItemObjectClass($className)
152152

153153
/**
154154
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
155-
* @deprecated Should not be used in the current implementation.
155+
* @deprecated 100.2.0 Should not be used in the current implementation.
156156
*/
157157
public function toXml()
158158
{
@@ -161,7 +161,7 @@ public function toXml()
161161

162162
/**
163163
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
164-
* @deprecated Should not be used in the current implementation.
164+
* @deprecated 100.2.0 Should not be used in the current implementation.
165165
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
166166
*/
167167
public function toArray($arrRequiredFields = [])
@@ -171,7 +171,7 @@ public function toArray($arrRequiredFields = [])
171171

172172
/**
173173
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
174-
* @deprecated Should not be used in the current implementation.
174+
* @deprecated 100.2.0 Should not be used in the current implementation.
175175
*/
176176
public function toOptionArray()
177177
{
@@ -180,7 +180,7 @@ public function toOptionArray()
180180

181181
/**
182182
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
183-
* @deprecated Should not be used in the current implementation.
183+
* @deprecated 100.2.0 Should not be used in the current implementation.
184184
*/
185185
public function toOptionHash()
186186
{
@@ -189,7 +189,7 @@ public function toOptionHash()
189189

190190
/**
191191
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
192-
* @deprecated Should not be used in the current implementation.
192+
* @deprecated 100.2.0 Should not be used in the current implementation.
193193
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
194194
*/
195195
protected function _toOptionArray($valueField = 'id', $labelField = 'name', $additional = [])
@@ -199,7 +199,7 @@ protected function _toOptionArray($valueField = 'id', $labelField = 'name', $add
199199

200200
/**
201201
* {@inheritdoc} Prevents handle collection items as DataObject class instances.
202-
* @deprecated Should not be used in the current implementation.
202+
* @deprecated 100.2.0 Should not be used in the current implementation.
203203
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
204204
*/
205205
protected function _toOptionHash($valueField = 'id', $labelField = 'name')

0 commit comments

Comments
 (0)