Skip to content

Commit 4b56264

Browse files
author
Oleksii Korshenko
committed
MAGETWO-71174: Update doc block information in php classes with @deprecated and @SInCE tags
- replaced release version with package version in @SInCE and @depreacated tags - removed @SInCE tag from private properties/methods and non @api classes
1 parent 4e4039f commit 4b56264

File tree

2,772 files changed

+2943
-13756
lines changed

Some content is hidden

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

2,772 files changed

+2943
-13756
lines changed

app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Magento\Store\Model\Store;
1010

1111
/**
12-
* @deprecated 2.1.0
12+
* @deprecated 100.1.0
1313
*/
1414
class Baseurl implements \Magento\Framework\Notification\MessageInterface
1515
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/**
1212
* @api
13-
* @since 2.2.0
13+
* @since 100.2.0
1414
*/
1515
class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider
1616
{
@@ -22,7 +22,7 @@ class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider
2222
* @param SynchronizedFactory $messageCollectionFactory
2323
* @param array $meta
2424
* @param array $data
25-
* @since 2.2.0
25+
* @since 100.2.0
2626
*/
2727
public function __construct(
2828
$name,

app/code/Magento/AdvancedPricingImportExport/Model/Export/AdvancedPricing.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ protected function correctExportData($exportData)
329329
*
330330
* @param string $tierPricePercentage
331331
* @return string
332-
* @since 2.2.0
333332
*/
334333
private function tierPriceTypeValue($tierPricePercentage)
335334
{

app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ class AdvancedPricing extends \Magento\ImportExport\Model\Import\Entity\Abstract
163163
* Product entity link field
164164
*
165165
* @var string
166-
* @since 2.1.0
167166
*/
168167
private $productEntityLinkField;
169168

@@ -620,7 +619,6 @@ protected function processCountNewPrices(array $tierPrices)
620619
* Get product entity link field
621620
*
622621
* @return string
623-
* @since 2.1.0
624622
*/
625623
private function getProductEntityLinkField()
626624
{

app/code/Magento/AdvancedPricingImportExport/Model/Import/AdvancedPricing/Validator/TierPriceType.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@
1111

1212
/**
1313
* Class TierPriceType validates tier price type.
14-
* @since 2.2.0
1514
*/
1615
class TierPriceType extends \Magento\CatalogImportExport\Model\Import\Product\Validator\AbstractImportValidator
1716
{
1817
/**
1918
* {@inheritdoc}
20-
* @since 2.2.0
2119
*/
2220
public function init($context)
2321
{
@@ -29,7 +27,6 @@ public function init($context)
2927
*
3028
* @param array $value
3129
* @return bool
32-
* @since 2.2.0
3330
*/
3431
public function isValid($value)
3532
{

app/code/Magento/Analytics/Api/Data/LinkInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,16 @@
99
* Interface LinkInterface
1010
*
1111
* Represents link with collected data and initialized vector for decryption.
12-
* @since 2.2.0
1312
*/
1413
interface LinkInterface
1514
{
1615
/**
1716
* @return string
18-
* @since 2.2.0
1917
*/
2018
public function getUrl();
2119

2220
/**
2321
* @return string
24-
* @since 2.2.0
2522
*/
2623
public function getInitializationVector();
2724
}

app/code/Magento/Analytics/Api/LinkProviderInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@
77

88
/**
99
* Provides link to file with collected report data.
10-
* @since 2.2.0
1110
*/
1211
interface LinkProviderInterface
1312
{
1413
/**
1514
* @return \Magento\Analytics\Api\Data\LinkInterface
16-
* @since 2.2.0
1715
*/
1816
public function get();
1917
}

app/code/Magento/Analytics/Block/Adminhtml/System/Config/AdditionalComment.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@
77

88
/**
99
* Provides field with additional information
10-
* @since 2.2.0
1110
*/
1211
class AdditionalComment extends \Magento\Config\Block\System\Config\Form\Field
1312
{
1413
/**
1514
* @param \Magento\Framework\Data\Form\Element\AbstractElement $element
1615
* @return string
17-
* @since 2.2.0
1816
*/
1917
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
2018
{
@@ -27,7 +25,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele
2725
* @param \Magento\Framework\Data\Form\Element\AbstractElement $element
2826
* @param string $html
2927
* @return string
30-
* @since 2.2.0
3128
*/
3229
private function decorateRowHtml(\Magento\Framework\Data\Form\Element\AbstractElement $element, $html)
3330
{

app/code/Magento/Analytics/Block/Adminhtml/System/Config/CollectionTimeLabel.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
/**
99
* Provides label with default Time Zone
10-
* @since 2.2.0
1110
*/
1211
class CollectionTimeLabel extends \Magento\Config\Block\System\Config\Form\Field
1312
{
@@ -16,7 +15,6 @@ class CollectionTimeLabel extends \Magento\Config\Block\System\Config\Form\Field
1615
*
1716
* @param \Magento\Framework\Data\Form\Element\AbstractElement $element
1817
* @return string
19-
* @since 2.2.0
2018
*/
2119
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
2220
{

app/code/Magento/Analytics/Block/Adminhtml/System/Config/SubscriptionStatusLabel.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@
1313
*
1414
* Provides labels for subscription status
1515
* Status can be reviewed in System Configuration
16-
* @since 2.2.0
1716
*/
1817
class SubscriptionStatusLabel extends \Magento\Config\Block\System\Config\Form\Field
1918
{
2019
/**
2120
* @var SubscriptionStatusProvider
22-
* @since 2.2.0
2321
*/
2422
private $subscriptionStatusProvider;
2523

@@ -29,7 +27,6 @@ class SubscriptionStatusLabel extends \Magento\Config\Block\System\Config\Form\F
2927
* @param Context $context
3028
* @param SubscriptionStatusProvider $labelStatusProvider
3129
* @param array $data
32-
* @since 2.2.0
3330
*/
3431
public function __construct(
3532
Context $context,
@@ -45,7 +42,6 @@ public function __construct(
4542
*
4643
* @param \Magento\Framework\Data\Form\Element\AbstractElement $element
4744
* @return string
48-
* @since 2.2.0
4945
*/
5046
public function render(\Magento\Framework\Data\Form\Element\AbstractElement $element)
5147
{
@@ -60,7 +56,6 @@ public function render(\Magento\Framework\Data\Form\Element\AbstractElement $ele
6056
* Prepare label for subscription status
6157
*
6258
* @return string
63-
* @since 2.2.0
6459
*/
6560
private function prepareLabelValue()
6661
{

0 commit comments

Comments
 (0)