Skip to content

Commit cec4bf4

Browse files
🔃 [EngCom] Public Pull Requests - 2.3-develop
Accepted Public Pull Requests: - #14333: Registry deprecation (by @vkublytskyi) - #14304: Resolves PHPdoc issue in ticket #13992 (by @cream-julian) - #14266: Remove VarienForm as it no longer appears to be included or used. (by @jonathanKingston) Fixed GitHub Issues: - #13992: Incorrect phpdoc should be Shipment\Item not Invoice\Item (reported by @ThisIsRuddy) has been fixed in #14304 by @cream-julian in 2.3-develop branch Related commits: 1. 79c1b4f
2 parents fe17868 + dc7b241 commit cec4bf4

File tree

4 files changed

+11
-412
lines changed

4 files changed

+11
-412
lines changed

app/code/Magento/Sales/Model/Order/Shipment/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public function getOrderItem()
144144
* Declare qty
145145
*
146146
* @param float $qty
147-
* @return \Magento\Sales\Model\Order\Invoice\Item
147+
* @return \Magento\Sales\Model\Order\Shipment\Item
148148
* @throws \Magento\Framework\Exception\LocalizedException
149149
*/
150150
public function setQty($qty)

dev/tests/static/testsuite/Magento/Test/Js/_files/blacklist/magento.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ lib/web/mage/adminhtml/tools.js
2525
lib/web/mage/adminhtml/varienLoader.js
2626
lib/web/magnifier/magnifier.js
2727
lib/web/magnifier/magnify.js
28-
lib/web/varien/form.js
2928
lib/web/varien/js.js

lib/internal/Magento/Framework/Registry.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
/**
99
* Registry model. Used to manage values in registry
1010
*
11+
* Registry usage as a shared service introduces temporal, hard to detect coupling into system.
12+
* It's usage should be avoid. Use service classes or data providers instead.
13+
*
1114
* @api
15+
* @deprecated
1216
*/
1317
class Registry
1418
{
@@ -24,6 +28,8 @@ class Registry
2428
*
2529
* @param string $key
2630
* @return mixed
31+
*
32+
* @deprecated
2733
*/
2834
public function registry($key)
2935
{
@@ -41,6 +47,8 @@ public function registry($key)
4147
* @param bool $graceful
4248
* @return void
4349
* @throws \RuntimeException
50+
*
51+
* @deprecated
4452
*/
4553
public function register($key, $value, $graceful = false)
4654
{
@@ -58,6 +66,8 @@ public function register($key, $value, $graceful = false)
5866
*
5967
* @param string $key
6068
* @return void
69+
*
70+
* @deprecated
6171
*/
6272
public function unregister($key)
6373
{

0 commit comments

Comments
 (0)