1
0
Fork 0

Fix PSR warnings for optimized autoloader, refs #8397, refs #8403

pull/8406/head
Jordi Boggiano 2019-11-01 16:18:42 +01:00
parent 502b68967a
commit d059d90ecf
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 1 deletions

View File

@ -110,7 +110,8 @@ class ClassMapGenerator
foreach ($classes as $class) {
// skip classes not within the given namespace prefix
if (null === $autoloadType && null !== $namespace && 0 !== strpos($class, $namespace)) {
// TODO enable in Composer v1.11 or 2.0 whichever comes first
if (/* null === $autoloadType && */ null !== $namespace && 0 !== strpos($class, $namespace)) {
continue;
}