Skip to content

Commit b9bd8d0

Browse files
committed
AC-12715::fixed the static test
1 parent 45b0a2b commit b9bd8d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/code/Magento/Bundle/Test/Unit/Model/Product/TypeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,6 +1364,7 @@ public function testPrepareForCartAdvancedParentClassReturnString(): void
13641364

13651365
/**
13661366
* @return void
1367+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
13671368
*/
13681369
public function testPrepareForCartAdvancedAllRequiredOption(): void
13691370
{

dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Event/TransactionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ protected function _imitateTransactionStartRequest($eventName)
5757
};
5858
$this->_eventManager
5959
->method('fireEvent')
60-
->willReturnCallback(function() use ($callback) {
60+
->willReturnCallback(function () use ($callback) {
6161
return $callback;
6262
});
6363
}
@@ -84,7 +84,7 @@ protected function _imitateTransactionRollbackRequest($eventName)
8484
};
8585
$this->_eventManager
8686
->method('fireEvent')
87-
->willReturnCallback(function() use ($callback) {
87+
->willReturnCallback(function () use ($callback) {
8888
return $callback;
8989
});
9090
}

0 commit comments

Comments
 (0)