Skip to content

Commit 0cc45dd

Browse files
author
Oleksii Korshenko
authored
MAGETWO-67588: Fixed coding standard violations in the Framework\Autoload, Framework\Session & Framework\Webapi namespaces #9321
2 parents c1b3580 + b13ce50 commit 0cc45dd

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

lib/internal/Magento/Framework/Autoload/Test/Unit/ClassLoaderWrapperTest.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\Autoload\Test\Unit;
108

119
use Composer\Autoload\ClassLoader;
@@ -32,7 +30,8 @@ class ClassLoaderWrapperTest extends \PHPUnit_Framework_TestCase
3230
protected function setUp()
3331
{
3432
$this->autoloaderMock = $this->getMock(\Composer\Autoload\ClassLoader::class);
35-
$this->model = (new ObjectManager($this))->getObject(\Magento\Framework\Autoload\ClassLoaderWrapper::class,
33+
$this->model = (new ObjectManager($this))->getObject(
34+
\Magento\Framework\Autoload\ClassLoaderWrapper::class,
3635
[
3736
'autoloader' => $this->autoloaderMock
3837
]

lib/internal/Magento/Framework/Session/Test/Unit/ConfigTest.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
/**
108
* Test class for \Magento\Framework\Session\Config
119
*/

lib/internal/Magento/Framework/Webapi/Test/Unit/ServiceInputProcessorTest.php

Lines changed: 3 additions & 4 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\Webapi\Test\Unit;
108

119
use Magento\Framework\Serialize\SerializerInterface;
@@ -68,7 +66,8 @@ function ($className) use ($objectManager) {
6866
$cache->expects($this->any())->method('load')->willReturn(false);
6967

7068
$this->customAttributeTypeLocator = $this->getMockBuilder(
71-
\Magento\Eav\Model\EavCustomAttributeTypeLocator::class)
69+
\Magento\Eav\Model\EavCustomAttributeTypeLocator::class
70+
)
7271
->disableOriginalConstructor()
7372
->getMock();
7473

@@ -472,7 +471,7 @@ protected function getObjectWithCustomAttributes($type, $value = [])
472471
{
473472
$objectManager = new \Magento\Framework\TestFramework\Unit\Helper\ObjectManager($this);
474473
$customAttributeValue = null;
475-
switch($type) {
474+
switch ($type) {
476475
case 'integer':
477476
$customAttributeValue = $value;
478477
break;

0 commit comments

Comments
 (0)