Skip to content

Commit e266d15

Browse files
committed
PHPUnit 10 Static test fixes
1 parent dbcf34d commit e266d15

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

app/code/Magento/Bundle/Model/Product/Type.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,8 @@ public function processBuyRequest($product, $buyRequest)
11621162
*/
11631163
public function canConfigure($product)
11641164
{
1165-
return $product instanceof \Magento\Catalog\Model\Product && $product->isAvailable() && parent::canConfigure(
1165+
return $product instanceof \Magento\Catalog\Model\Product && $product->isAvailable() &&
1166+
parent::canConfigure(
11661167
$product
11671168
);
11681169
}

app/code/Magento/CatalogGraphQl/Test/Unit/DataProvider/Product/SearchCriteriaBuilderTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
/**
2828
* Build search criteria
29+
*
30+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
2931
*/
3032
class SearchCriteriaBuilderTest extends TestCase
3133
{

0 commit comments

Comments
 (0)