Skip to content

Commit c7ac740

Browse files
merge magento/2.3.5-develop into magento-borg/MC-30925
2 parents 5b5c688 + d52efeb commit c7ac740

File tree

2,087 files changed

+26757
-7851
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,087 files changed

+26757
-7851
lines changed

CHANGELOG.md

Lines changed: 723 additions & 0 deletions
Large diffs are not rendered by default.

app/code/Magento/AdminAnalytics/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,3 @@
2626
}
2727
}
2828
}
29-

app/code/Magento/AdminNotification/Block/System/Messages.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Messages extends \Magento\Backend\Block\Template
1616

1717
/**
1818
* @var \Magento\Framework\Json\Helper\Data
19-
* @deprecated
19+
* @deprecated 100.3.0
2020
*/
2121
protected $jsonHelper;
2222

app/code/Magento/AdminNotification/Controller/Adminhtml/System/Message/ListAction.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
@@ -17,7 +16,7 @@ class ListAction extends \Magento\Backend\App\AbstractAction
1716

1817
/**
1918
* @var \Magento\Framework\Json\Helper\Data
20-
* @deprecated
19+
* @deprecated 100.3.0
2120
*/
2221
protected $jsonHelper;
2322

@@ -44,6 +43,8 @@ public function __construct(
4443
}
4544

4645
/**
46+
* System message list action
47+
*
4748
* @return \Magento\Framework\Controller\Result\Json
4849
*/
4950
public function execute()

app/code/Magento/AdminNotification/view/adminhtml/templates/system/messages.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@
2626

2727
<?php if ($block->getCriticalCount()) : ?>
2828
<div class="message message-warning error">
29-
<a class="message-link" href="#" title="<?= $block->escapeHtml(__('Critical System Messages')) ?>">
29+
<a class="message-link" href="#" title="<?= $block->escapeHtmlAttr(__('Critical System Messages')) ?>">
3030
<?= (int) $block->getCriticalCount() ?>
3131
</a>
3232
</div>
3333
<?php endif; ?>
3434

3535
<?php if ($block->getMajorCount()) : ?>
3636
<div class="message message-warning warning">
37-
<a class="message-link" href="#" title="<?= $block->escapeHtml(__('Major System Messages')) ?>">
37+
<a class="message-link" href="#" title="<?= $block->escapeHtmlAttr(__('Major System Messages')) ?>">
3838
<?= (int) $block->getMajorCount() ?>
3939
</a>
4040
</div>
4141
<?php endif; ?>
4242
</div>
43-
<div id="message-system-all" title="<?= $block->escapeHtml(__('System messages')) ?>" data-mage-init='<?= $block->escapeHtml($block->getSystemMessageDialogJson()) ?>'></div>
43+
<div id="message-system-all" title="<?= $block->escapeHtmlAttr(__('System messages')) ?>" data-mage-init='<?= $block->escapeHtmlAttr($block->getSystemMessageDialogJson()) ?>'></div>
4444
</div>
4545
</div>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ private function prepareExportData(
381381
* @param array $exportData
382382
* @return array
383383
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
384-
* @deprecated
384+
* @deprecated 100.3.0
385385
* @see prepareExportData
386386
*/
387387
protected function correctExportData($exportData)
@@ -510,7 +510,7 @@ private function fetchTierPrices(array $productIds): array
510510
* @return array|bool
511511
* @SuppressWarnings(PHPMD.NPathComplexity)
512512
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
513-
* @deprecated
513+
* @deprecated 100.3.0
514514
* @see fetchTierPrices
515515
*/
516516
protected function getTierPrices(array $listSku, $table)

app/code/Magento/AdvancedSearch/Model/Client/ClientResolver.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ClientResolver
1919
*
2020
* @var ScopeConfigInterface
2121
* @since 100.1.0
22-
* @deprecated since it is not used anymore
22+
* @deprecated 100.3.0 since it is not used anymore
2323
*/
2424
protected $scopeConfig;
2525

@@ -55,14 +55,14 @@ class ClientResolver
5555
*
5656
* @var string
5757
* @since 100.1.0
58-
* @deprecated since it is not used anymore
58+
* @deprecated 100.3.0 since it is not used anymore
5959
*/
6060
protected $path;
6161

6262
/**
6363
* Config Scope
6464
* @since 100.1.0
65-
* @deprecated since it is not used anymore
65+
* @deprecated 100.3.0 since it is not used anymore
6666
*/
6767
protected $scope;
6868

app/code/Magento/AdvancedSearch/view/adminhtml/templates/system/config/testconnection.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
* See COPYING.txt for license details.
55
*/
66
?>
7-
<button class="scalable" type="button" id="<?= $block->getHtmlId() ?>" data-mage-init='{"testConnection":{
7+
<button class="scalable" type="button" id="<?= /* @noEscape */ $block->getHtmlId() ?>" data-mage-init='{"testConnection":{
88
"url": "<?= $block->escapeUrl($block->getAjaxUrl()) ?>",
9-
"elementId": "<?= $block->getHtmlId() ?>",
9+
"elementId": "<?= /* @noEscape */ $block->getHtmlId() ?>",
1010
"successText": "<?= $block->escapeHtmlAttr(__('Successful! Test again?')) ?>",
1111
"failedText": "<?= $block->escapeHtmlAttr(__('Connection failed! Test again?')) ?>",
1212
"fieldMapping": "<?= /* @noEscape */ $block->getFieldMapping() ?>"}, "validation": {}}'>
13-
<span id="<?= $block->getHtmlId() ?>_result"><?= $block->escapeHtml($block->getButtonLabel()) ?></span>
13+
<span id="<?= /* @noEscape */ $block->getHtmlId() ?>_result"><?= $block->escapeHtml($block->getButtonLabel()) ?></span>
1414
</button>

app/code/Magento/Analytics/Model/Connector/Http/ConverterInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,35 @@
99
* Represents converter interface for http request and response body.
1010
*
1111
* @api
12+
* @since 100.2.0
1213
*/
1314
interface ConverterInterface
1415
{
1516
/**
1617
* @param string $body
1718
*
1819
* @return array
20+
* @since 100.2.0
1921
*/
2022
public function fromBody($body);
2123

2224
/**
2325
* @param array $data
2426
*
2527
* @return string
28+
* @since 100.2.0
2629
*/
2730
public function toBody(array $data);
2831

2932
/**
3033
* @return string
34+
* @since 100.2.0
3135
*/
3236
public function getContentTypeHeader();
3337

3438
/**
3539
* @return string
40+
* @since 100.3.0
3641
*/
3742
public function getContentMediaType(): string;
3843
}

app/code/Magento/Analytics/ReportXml/Query.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ public function __construct(
5353
}
5454

5555
/**
56+
* Get select
57+
*
5658
* @return Select
5759
*/
5860
public function getSelect()
@@ -61,6 +63,8 @@ public function getSelect()
6163
}
6264

6365
/**
66+
* Get connection name
67+
*
6468
* @return string
6569
*/
6670
public function getConnectionName()
@@ -69,6 +73,8 @@ public function getConnectionName()
6973
}
7074

7175
/**
76+
* Get config
77+
*
7278
* @return array
7379
*/
7480
public function getConfig()
@@ -78,10 +84,10 @@ public function getConfig()
7884

7985
/**
8086
* Specify data which should be serialized to JSON
87+
*
8188
* @link http://php.net/manual/en/jsonserializable.jsonserialize.php
8289
* @return mixed data which can be serialized by <b>json_encode</b>,
8390
* which is a value of any type other than a resource.
84-
* @since 5.4.0
8591
*/
8692
public function jsonSerialize()
8793
{

0 commit comments

Comments
 (0)