Bug #45386
Package::buildArrayOfClassFiles tries to determine class names from file paths
Status: | New | Start date: | 2013-02-11 | |
---|---|---|---|---|
Priority: | Could have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | (any) |
Description
This is a problem if you try to include composer packages that are not namespaced (probably for everything that is not PSR-0 compatible). Because with that a possibly existing folder structure cannot be mapped to namespaces for classes.
If we want to support it (not sure if needed in the long run) we would need a setting per package that switches in a "Extbase" style of determining class names, so instead of converting folders to namespace parts it would create a single class name from the folders separated by underscores. That would work for the simplepie package that I currently try to get working...