Skip to content

Commit eeadf6f

Browse files
committed
MC-15295: Fix static tests
1 parent d5237c3 commit eeadf6f

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

dev/tests/static/testsuite/Magento/Test/Php/_files/phpcpd/blacklist/common.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,3 +217,4 @@ Magento/Config/App/Config/Type
217217
Magento/InventoryReservationCli/Test/Integration
218218
Magento/InventoryAdminUi/Controller/Adminhtml
219219
Magento/Newsletter/Model/Queue/TransportBuilder
220+
Magento/Framework/Mail/Template/TransportBuilder

lib/internal/Magento/Framework/Mail/EmailMessage.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ class EmailMessage implements EmailMessageInterface
5050
*
5151
* @throws MailException
5252
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
53+
* @SuppressWarnings(PHPMD.NPathComplexity)
54+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
5355
*/
5456
public function __construct(
5557
MimeMessageInterface $body,

lib/internal/Magento/Framework/Mail/Test/Unit/Template/TransportBuilderTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ class TransportBuilderTest extends \PHPUnit\Framework\TestCase
6060
* @var \Magento\Framework\Mail\EmailMessageInterface|\PHPUnit\Framework\MockObject\MockObject
6161
*/
6262
private $emailMessageMock;
63-
/**
64-
* @var \PHPUnit\Framework\MockObject\MockObject
65-
*/
66-
private $mimePartFactoryMock;
6763

6864
/**
6965
* @return void

0 commit comments

Comments
 (0)