Skip to content

Commit

Permalink
Test #106
Browse files Browse the repository at this point in the history
  • Loading branch information
convenient committed Aug 4, 2023
1 parent 4e944da commit 6fdbe57
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 23 deletions.
31 changes: 10 additions & 21 deletions dev/phpunit/unit/resources/checks/ClassPreferencePhp/vendor.patch
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
}
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
}
}
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
}
}

0 comments on commit 6fdbe57

Please sign in to comment.