Skip to content

Commit 8a87635

Browse files
#23085: Static test fix.
1 parent 742784a commit 8a87635

File tree

1 file changed

+3
-0
lines changed
  • app/code/Magento/CustomerImportExport/Model/Import

1 file changed

+3
-0
lines changed

app/code/Magento/CustomerImportExport/Model/Import/Address.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,7 @@ protected function _saveCustomerDefaults(array $defaults)
761761
{
762762
foreach ($defaults as $tableName => $data) {
763763
foreach ($data as $customerId => $defaultsData) {
764+
// phpcs:ignore Magento2.Performance.ForeachArrayMerge
764765
$data = array_merge(
765766
['entity_id' => $customerId],
766767
$defaultsData
@@ -801,11 +802,13 @@ public function getEntityTypeCode()
801802
*
802803
* @static
803804
* @return array
805+
* phpcs:disable Magento2.Functions.StaticFunction
804806
*/
805807
public static function getDefaultAddressAttributeMapping()
806808
{
807809
return self::$_defaultAddressAttributeMapping;
808810
}
811+
// phpcs:enable
809812

810813
/**
811814
* Check if address for import is empty (for customer composite mode)

0 commit comments

Comments
 (0)