Skip to content

Commit f61fa59

Browse files
author
Oleksii Korshenko
authored
MAGETWO-67586: Fixed coding standard violations in the Framework\Api namespace #9319
2 parents 627164d + ee61d4a commit f61fa59

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

lib/internal/Magento/Framework/Api/Test/Unit/Api/ImageContentValidatorTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
// @codingStandardsIgnoreFile
8-
97
namespace Magento\Framework\Api\Test\Unit\Api;
108

119
/**

lib/internal/Magento/Framework/Api/Test/Unit/Api/ImageProcessorTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
// @codingStandardsIgnoreFile
8-
97
namespace Magento\Framework\Api\Test\Unit\Api;
108

119
/**
@@ -67,7 +65,8 @@ protected function setUp()
6765
->method('getDirectoryWrite')
6866
->willReturn($this->directoryWriteMock);
6967
$this->contentValidatorMock = $this->getMockBuilder(
70-
\Magento\Framework\Api\ImageContentValidatorInterface::class)
68+
\Magento\Framework\Api\ImageContentValidatorInterface::class
69+
)
7170
->disableOriginalConstructor()
7271
->getMock();
7372
$this->dataObjectHelperMock = $this->getMockBuilder(\Magento\Framework\Api\DataObjectHelper::class)

lib/internal/Magento/Framework/Api/Test/Unit/Code/Generator/ExtensionAttributesGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
// @codingStandardsIgnoreFile
6+
77
namespace Magento\Framework\Api\Test\Unit\Code\Generator;
88

99
use Magento\Framework\Api\ExtensionAttribute\Config\Converter;

lib/internal/Magento/Framework/Api/Test/Unit/Code/Generator/ExtensionAttributesInterfaceGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6-
// @codingStandardsIgnoreFile
6+
77
namespace Magento\Framework\Api\Test\Unit\Code\Generator;
88

99
use Magento\Framework\Api\ExtensionAttribute\Config\Converter;

lib/internal/Magento/Framework/Api/Test/Unit/DataObjectHelperTest.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
// @codingStandardsIgnoreFile
8-
97
namespace Magento\Framework\Api\Test\Unit;
108

119
use Magento\Framework\Api\CustomAttributesDataInterface;
@@ -144,7 +142,8 @@ public function testPopulateWithArrayWithSimpleAttributes()
144142

145143
$this->dataObjectHelper->populateWithArray(
146144
$addressDataObject,
147-
$data, \Magento\Customer\Api\Data\AddressInterface::class
145+
$data,
146+
\Magento\Customer\Api\Data\AddressInterface::class
148147
);
149148

150149
$this->assertEquals($id, $addressDataObject->getId());
@@ -198,7 +197,8 @@ public function testPopulateWithArrayWithCustomAttribute()
198197
->willReturn($customAttribute);
199198
$this->dataObjectHelper->populateWithArray(
200199
$addressDataObject,
201-
$data, \Magento\Customer\Api\Data\AddressInterface::class
200+
$data,
201+
\Magento\Customer\Api\Data\AddressInterface::class
202202
);
203203

204204
$this->assertEquals($id, $addressDataObject->getId());
@@ -260,7 +260,8 @@ public function testPopulateWithArrayWithCustomAttributes()
260260
->willReturn($customAttribute);
261261
$this->dataObjectHelper->populateWithArray(
262262
$addressDataObject,
263-
$data, \Magento\Customer\Api\Data\AddressInterface::class
263+
$data,
264+
\Magento\Customer\Api\Data\AddressInterface::class
264265
);
265266

266267
$this->assertEquals($id, $addressDataObject->getId());

0 commit comments

Comments
 (0)