mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix classmap generator over anonymous classes extending/implementing something, fixes #5239
This commit is contained in:
parent
ec933398c4
commit
f0d67923a5
3 changed files with 52 additions and 0 deletions
|
@ -87,6 +87,11 @@ class ClassMapGeneratorTest extends TestCase
|
|||
'Foo\\CBar' => __DIR__.'/Fixtures/php5.4/traits.php',
|
||||
));
|
||||
}
|
||||
if (PHP_VERSION_ID >= 70000) {
|
||||
$data[] = array(__DIR__.'/Fixtures/php7.0', array(
|
||||
'Dummy\Test\AnonClassHolder' => __DIR__.'/Fixtures/php7.0/anonclass.php',
|
||||
));
|
||||
}
|
||||
if (defined('HHVM_VERSION') && version_compare(HHVM_VERSION, '3.3', '>=')) {
|
||||
$data[] = array(__DIR__.'/Fixtures/hhvm3.3', array(
|
||||
'FooEnum' => __DIR__.'/Fixtures/hhvm3.3/HackEnum.php',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue