Skip to content

Commit ca1a5de

Browse files
author
Oleksii Korshenko
authored
Merge pull request #1994 from magento-architects/php-72-pr
Task: - MAGETWO-87141 - [GitHub PR] Removed "Object" usage as class name
2 parents 0dce94d + 6cffd06 commit ca1a5de

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dev/tests/integration/testsuite/Magento/Framework/Code/Reader/SourceArgumentsReaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public function getConstructorArgumentTypesDataProvider()
4141
'\Imported\Name\Space\One',
4242
'\Imported\Name\Space\AnotherTest\Extended',
4343
'\Imported\Name\Space\Test',
44-
'\Imported\Name\Space\Object\Under\Test',
45-
'\Imported\Name\Space\Object',
44+
'\Imported\Name\Space\ClassName\Under\Test',
45+
'\Imported\Name\Space\ClassName',
4646
'\Some\Testing\Name\Space\Test',
4747
'array',
4848
''

dev/tests/integration/testsuite/Magento/Framework/Code/Reader/_files/SourceArgumentsReaderTest.php.sample

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace Some\Testing\Name\Space;
77

88
use Imported\Name\Space\One as FirstImport;
9-
use Imported\Name\Space\Object;
9+
use Imported\Name\Space\ClassName;
1010
use Imported\Name\Space\Test as Testing, \Imported\Name\Space\AnotherTest ;
1111

1212
class AnotherSimpleClass
@@ -16,8 +16,8 @@ class AnotherSimpleClass
1616
FirstImport $itemTwo,
1717
AnotherTest\Extended $itemThree,
1818
Testing $itemFour,
19-
Object\Under\Test $itemFive,
20-
Object $itemSix,
19+
ClassName\Under\Test $itemFive,
20+
ClassName $itemSix,
2121
Test $itemSeven,
2222
array $itemEight = [],
2323
$itemNine = 'test'

0 commit comments

Comments
 (0)