1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Skip invalid PSR-0/4 classes from optimized autoloader, fixes #8403

This commit is contained in:
Jordi Boggiano 2020-03-10 15:40:45 +01:00
parent 94e6cfc521
commit 24a5a0dacb
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
2 changed files with 6 additions and 13 deletions

View file

@ -604,8 +604,6 @@ class AutoloadGeneratorTest extends TestCase
{
$package = new Package('a', '1.0', '1.0');
$this->markTestSkipped('Skipped until ClassMapGenerator ignoring of invalid PSR-x classes is enabled');
$package->setAutoload(array(
'psr-0' => array('psr0_' => 'psr0/'),
'psr-4' => array('psr4\\' => 'psr4/'),