-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4e944da
commit 6fdbe57
Showing
3 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
31 changes: 10 additions & 21 deletions
31
dev/phpunit/unit/resources/checks/ClassPreferencePhp/vendor.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,12 @@ | ||
diff -ur -N vendor_orig/magento/module-weee/Model/Total/Quote/Weee.php vendor/magento/module-weee/Model/Total/Quote/Weee.php | ||
--- vendor_orig/magento/module-weee/Model/Total/Quote/Weee.php 2020-04-13 17:35:44.000000000 +0000 | ||
+++ vendor/magento/module-weee/Model/Total/Quote/Weee.php 2022-07-21 08:45:10.000000000 +0000 | ||
@@ -7,10 +7,19 @@ | ||
namespace Magento\Weee\Model\Total\Quote; | ||
|
||
use Magento\Framework\Pricing\PriceCurrencyInterface; | ||
+use Magento\Quote\Api\Data\ShippingAssignmentInterface; | ||
+use Magento\Quote\Model\Quote; | ||
+use Magento\Quote\Model\Quote\Address; | ||
+use Magento\Quote\Model\Quote\Address\Total; | ||
use Magento\Quote\Model\Quote\Address\Total\AbstractTotal; | ||
+use Magento\Quote\Model\Quote\Item\AbstractItem; | ||
use Magento\Store\Model\Store; | ||
use Magento\Tax\Model\Sales\Total\Quote\CommonTaxCollector; | ||
+use Magento\Weee\Helper\Data as WeeHelper; | ||
|
||
+/** | ||
+ * Calculate totals for Quote | ||
+ */ | ||
class Weee extends AbstractTotal | ||
--- vendor_orig/magento/module-weee/Model/Total/Quote/Weee.php 2023-08-04 10:41:06 | ||
+++ vendor/magento/module-weee/Model/Total/Quote/Weee.php 2023-08-04 10:41:38 | ||
@@ -3,7 +3,7 @@ | ||
|
||
class Weee | ||
{ | ||
/** | ||
- public function __construct() | ||
+ public function __construct($someNewParam = 123) | ||
{ | ||
// do stuff | ||
} |
11 changes: 10 additions & 1 deletion
11
...resources/checks/ClassPreferencePhp/vendor/magento/module-weee/Model/Total/Quote/Weee.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
<?php | ||
<?php | ||
namespace Magento\Weee\Model\Total\Quote; | ||
|
||
class Weee | ||
{ | ||
public function __construct($someNewParam = 123) | ||
{ | ||
// do stuff | ||
} | ||
} |
11 changes: 10 additions & 1 deletion
11
...rces/checks/ClassPreferencePhp/vendor_orig/magento/module-weee/Model/Total/Quote/Weee.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
<?php | ||
<?php | ||
namespace Magento\Weee\Model\Total\Quote; | ||
|
||
class Weee | ||
{ | ||
public function __construct() | ||
{ | ||
// do stuff | ||
} | ||
} |