Skip to content

Commit a192bc3

Browse files
committed
WIP - failing generator test with global ns collision
refs symfony#1479 symfony#1480
1 parent bbb7949 commit a192bc3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/GeneratorTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,13 @@ public function getClassNameDetailsTests(): \Generator
100100
'Symfony\\Bundle\\MakerBundle\\Tests\\GeneratorTest',
101101
'Symfony\\Bundle\\MakerBundle\\Tests\\GeneratorTest',
102102
];
103+
104+
yield 'class_with_global_ns_collision' => [
105+
'Locale',
106+
'\\Entity',
107+
'',
108+
'App\\Entity\\Locale',
109+
'Locale',
110+
];
103111
}
104112
}

0 commit comments

Comments
 (0)