Skip to content

Commit 569e29e

Browse files
committed
MAGETWO-70141-PR-9358: Merge branch 'Fix_coding_standard_in_Framework-Code' of git://github.com/dverkade/magento2 into MAGETWO-70141-PR-9358
Conflicts: lib/internal/Magento/Framework/Code/Test/Unit/Validator/_files/ClassesForContextAggregation.php
2 parents 10c6ffa + 0f6e72e commit 569e29e

File tree

8 files changed

+8
-24
lines changed

8 files changed

+8
-24
lines changed

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

119
use Magento\Framework\Code\Generator;

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

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

8-
// @codingStandardsIgnoreFile
9-
108
class ClassWithAllArgumentTypes
119
{
1210
const DEFAULT_VALUE = 'Const Value';

lib/internal/Magento/Framework/Code/Test/Unit/Validator/ConstructorArgumentTypesTest.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\Code\Test\Unit\Validator;
108

119
class ConstructorArgumentTypesTest extends \PHPUnit_Framework_TestCase

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

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

8-
// @codingStandardsIgnoreFile
9-
108
namespace ArgumentSequence;
119

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

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

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

8-
// @codingStandardsIgnoreFile
9-
108
class ClassA
119
{
1210
}
@@ -16,16 +14,16 @@ class ClassB
1614
class ClassC
1715
{
1816
}
19-
interface InterfaceA
17+
interface FirstInterface
2018
{
2119
}
22-
class ImplementationOfInterfaceA implements InterfaceA
20+
class ImplementationOfFirstInterface implements FirstInterface
2321
{
2422
}
25-
interface InterfaceB
23+
interface SecondInterface
2624
{
2725
}
28-
class ImplementationOfInterfaceB implements InterfaceB
26+
class ImplementationOfSecondInterface implements SecondInterface
2927
{
3028
}
3129
class Context implements \Magento\Framework\ObjectManager\ContextInterface
@@ -46,21 +44,21 @@ class Context implements \Magento\Framework\ObjectManager\ContextInterface
4644
protected $_exC;
4745

4846
/**
49-
* @var InterfaceA
47+
* @var FirstInterface
5048
*/
5149
protected $_interfaceA;
5250

5351
/**
54-
* @var ImplementationOfInterfaceB
52+
* @var ImplementationOfSecondInterface
5553
*/
5654
protected $_implOfBInterface;
5755

5856
public function __construct(
5957
\ClassA $exA,
6058
\ClassB $exB,
6159
\ClassC $exC,
62-
\InterfaceA $interfaceA,
63-
\ImplementationOfInterfaceB $implOfBInterface
60+
\FirstInterface $interfaceA,
61+
\ImplementationOfSecondInterface $implOfBInterface
6462
) {
6563
$this->_exA = $exA;
6664
$this->_exB = $exB;

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

Whitespace-only changes.

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

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

8-
// @codingStandardsIgnoreFile
9-
108
namespace TypeDuplication;
119

1210
interface ArgumentInterface

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

Lines changed: 0 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\SomeModule\Model;
108

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

4543
public function testMethod3();
46-
47-
4844
}

0 commit comments

Comments
 (0)