Skip to content

Commit 8b9ad5c

Browse files
committed
MAGETWO-70141: Fixed coding standard violations in the Framework\Code namespace #9358
1 parent 04446f2 commit 8b9ad5c

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed

lib/internal/Magento/Framework/Code/Test/Unit/Reader/_files/ClassesForArgumentsReader.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
76

7+
/**
8+
* @codingStandardsIgnoreFile
9+
* Coding Standards have to be ignored in this file, as it is just a data source for tests.
10+
*/
11+
812
class ClassWithAllArgumentTypes
913
{
1014
const DEFAULT_VALUE = 'Const Value';

lib/internal/Magento/Framework/Code/Test/Unit/Validator/_files/ClassesForArgumentSequence.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
76

7+
/**
8+
* @codingStandardsIgnoreFile
9+
* Coding Standards have to be ignored in this file, as it is just a data source for tests.
10+
*/
11+
812
namespace ArgumentSequence;
913

1014
class ContextObject implements \Magento\Framework\ObjectManager\ContextInterface

lib/internal/Magento/Framework/Code/Test/Unit/Validator/_files/ClassesForConstructorIntegrity.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
76

7+
/**
8+
* @codingStandardsIgnoreFile
9+
* Coding Standards have to be ignored in this file, as it is just a data source for tests.
10+
*/
11+
812
class ClassA
913
{
1014
}

lib/internal/Magento/Framework/Code/Test/Unit/Validator/_files/ClassesForTypeDuplication.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<?php
22
/**
3-
*
43
* Copyright © Magento, Inc. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
76

7+
/**
8+
* @codingStandardsIgnoreFile
9+
* Coding Standards have to be ignored in this file, as it is just a data source for tests.
10+
*/
11+
812
namespace TypeDuplication;
913

1014
interface ArgumentInterface

lib/internal/Magento/Framework/Code/Test/Unit/_files/app/code/Magento/SomeModule/Model/SevenInterface.php

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

7+
/**
8+
* @codingStandardsIgnoreFile
9+
* Coding Standards have to be ignored in this file, as it is just a data source for tests.
10+
*/
11+
712
namespace Magento\SomeModule\Model;
813

914
use Magento\SomeModule\Model\Two\Test as TestTwo;
@@ -41,4 +46,6 @@ public static function testMethod1(array &$data = array());
4146
public function testMethod2($data = 'test_default', $flag = true);
4247

4348
public function testMethod3();
49+
50+
4451
}

0 commit comments

Comments
 (0)