Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"The type * cannot be resolved" for some common packages (like symfony/console: ~2.5) #116

Open
ghost opened this issue Aug 10, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 10, 2014

I've encountered this issue multiple times, and it is rather annoying. For some packages (the one I always encounter it with is symfony/console: ~2.5) the build-path seems to be wrong and broken beyond repair. Judging from the differences between those packages that work (e.g. cilex/cilex: ~1.1) and those that don't I would say the package folder structure is at fault, cilex follows the usual:

"autoload":{
    "psr-0":{ "Cilex": "src/" }
}

while symfony console does not use a src folder and does:

"autoload": {
    "psr-0": { "Symfony\\Component\\Console\\": "" }
}
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants