Skip to content

Commit 281fb3b

Browse files
Merge remote-tracking branch 'remotes/github/MAGETWO-65232' into EPAM-PR-45
2 parents 63b568c + fde1788 commit 281fb3b

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

app/code/Magento/Sales/Model/Order/Pdf/Items/Creditmemo/DefaultCreditmemo.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ public function draw()
7070
// draw Product name
7171
$lines[0] = [
7272
[
73+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
7374
'text' => $this->string->split(html_entity_decode($item->getName()), 35, true, true),
7475
'feed' => 35
7576
]
7677
];
7778

7879
// draw SKU
7980
$lines[0][] = [
81+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
8082
'text' => $this->string->split(html_entity_decode($this->getSku($item)), 17),
8183
'feed' => 255,
8284
'align' => 'right',

app/code/Magento/Sales/Model/Order/Pdf/Items/Invoice/DefaultInvoice.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ public function draw()
7070
// draw Product name
7171
$lines[0] = [
7272
[
73+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
7374
'text' => $this->string->split(html_entity_decode($item->getName()), 35, true, true),
7475
'feed' => 35
7576
]
7677
];
7778

7879
// draw SKU
7980
$lines[0][] = [
81+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
8082
'text' => $this->string->split(html_entity_decode($this->getSku($item)), 17),
8183
'feed' => 290,
8284
'align' => 'right',

app/code/Magento/Sales/Model/Order/Pdf/Items/Shipment/DefaultShipment.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public function draw()
6969
// draw Product name
7070
$lines[0] = [
7171
[
72+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
7273
'text' => $this->string->split(html_entity_decode($item->getName()), 60, true, true),
7374
'feed' => 100
7475
]
@@ -79,6 +80,7 @@ public function draw()
7980

8081
// draw SKU
8182
$lines[0][] = [
83+
// phpcs:ignore Magento2.Functions.DiscouragedFunction
8284
'text' => $this->string->split(html_entity_decode($this->getSku($item)), 25),
8385
'feed' => 565,
8486
'align' => 'right',

0 commit comments

Comments
 (0)