Closed gchokeen closed 11 years ago
You just can't require the framework-bundle dev-master together with symfony 2.1 since framework-bundle is included in symfony, and dev-master is 2.2 not 2.1. Removing the framework bundle requirement should fix it.
and doctrine/doctrine-bundle dev-master is for Symfony 2.2 now (which is why you have an issue). Use 1.1.*
for Symfony 2.1
Thank you so much for your explanation i just removed framework-bundle part from the composer. I downgrade the doctrine/doctrine-bundle to 1.1.x-dev.
"symfony/framework-bundle": "dev-master",
"symfony/dependency-injection": "dev-master",
"symfony/doctrine-bridge": "dev-master",
"symfony/config": "dev-master",
"symfony/event-dispatcher": "dev-master",
"symfony/http-kernel": "dev-master",
"symfony/filesystem": "dev-master",
"symfony/routing": "dev-master",
"symfony/templating": "dev-master",
"symfony/http-foundation": "dev-master",
"symfony/translation": "dev-master",
"symfony/stopwatch": "dev-master",
Now I getting
Problem 1
- Installation request for phpcr/phpcr 2.1.0-beta8 -> satisfiable by phpcr/phpcr 2.1.0-beta8.
- symfony-cmf/core-bundle 1.0.x-dev requires phpcr/phpcr dev-master -> satisfiable by phpcr/phpcr dev-master.
- Can only install one of: phpcr/phpcr 2.1.0-beta8, phpcr/phpcr dev-master.
- Installation request for symfony-cmf/core-bundle 1.0.* -> satisfiable by symfony-cmf/core-bundle 1.0.x-dev.
Should I downgrade all dev-master version to some stable version. What is the best practice. Because each update is slowing down my development progress.
I think you just shouldn't specify all dependencies. I doubt you need phpcr/phpcr in there, it's already required by the cmf bundles so let them take care of that, that way you avoid conflicts in versions.
After downgrading
"symfony-cmf/core-bundle": "1.0.x-dev",
"phpcr/phpcr": "2.1.0-beta8",
update works with some error like
PHP Fatal error: Declaration of Jackalope\Session::getNode() must be compatible with that of PHPCR\SessionInterface::getNode() in /var/www/contest/vendor/jackalope/jackalope/src/Jackalope/Session.php on line 39
I will check that. Probably needs to downgrade some other package.
I tried to install symfony/framework-bundle bundle because "doctrine/doctrine-bundle": "dev-master", required framework-bundle. But while update the composer it failed and throw below message.
My Composer.json
I don't know this is right place to raise this question, There is no issue or support on symfony/framework-bundle on git. So help me out.