Symfony从2.1更新到2.2作曲​​家错误

我正在尝试将我的项目从symfony 2.1更新到2.2.我尝试逐包更新它.当我输入composer.phar update symfony / symfony时,我收到以下错误
Problem 1
- Conclusion: don't install symfony/symfony 2.2.x-dev
- Conclusion: don't install symfony/symfony v2.2.0
- Conclusion: don't install symfony/symfony v2.2.0-RC3
- Conclusion: don't install symfony/symfony v2.2.0-RC2
- Installation request for symfony/monolog-bundle == 2.1.9999999.9999999-dev -> satisfiable by symfony/monolog-bundle 2.1.x-dev.
- Conclusion: don't install symfony/symfony v2.2.0-RC1
- Conclusion: don't install symfony/symfony v2.2.0-BETA2
- doctrine/doctrine-bundle v1.2.0-beta1 requires symfony/framework-bundle >=2.2.0-beta2,<2.3-dev -> satisfiable by symfony/symfony 2.2.x-dev,symfony/symfony v2.2.0,symfony/symfony v2.2.0-BETA2,symfony/symfony v2.2.0-RC1,symfony/symfony v2.2.0-RC2,symfony/symfony v2.2.0-RC3,symfony/framework-bundle 2.2.x-dev,symfony/framework-bundle v2.2.0,symfony/framework-bundle v2.2.0-BETA2,symfony/framework-bundle v2.2.0-RC1,symfony/framework-bundle v2.2.0-RC2,symfony/framework-bundle v2.2.0-RC3.
- doctrine/doctrine-bundle 1.2.x-dev requires symfony/framework-bundle >=2.2.0-beta2,symfony/framework-bundle v2.2.0-RC3.
- don't install symfony/framework-bundle 2.2.x-dev|don't install symfony/symfony v2.2.0-BETA1
- don't install symfony/framework-bundle v2.2.0|don't install symfony/symfony v2.2.0-BETA1
- don't install symfony/framework-bundle v2.2.0-BETA2|don't install symfony/symfony v2.2.0-BETA1
- don't install symfony/framework-bundle v2.2.0-RC1|don't install symfony/symfony v2.2.0-BETA1
- don't install symfony/framework-bundle v2.2.0-RC2|don't install symfony/symfony v2.2.0-BETA1
- don't install symfony/framework-bundle v2.2.0-RC3|don't install symfony/symfony v2.2.0-BETA1
- Installation request for symfony/symfony 2.2.* -> satisfiable by symfony/symfony 2.2.x-dev,symfony/symfony v2.2.0-BETA1,symfony/symfony v2.2.0-RC3.
- Installation request for doctrine/doctrine-bundle 1.2.* -> satisfiable by doctrine/doctrine-bundle 1.2.x-dev,doctrine/doctrine-bundle v1.2.0-beta1.

我的composer.json:

{
    "name": "symfony/framework-standard-edition","description": "The \"Symfony Standard Edition\" distribution","autoload": {
        "psr-0": { "": "src/" }
    },"require": {
        "PHP": ">=5.3.3","symfony/symfony": "2.2.*","doctrine/orm": "~2.2,>=2.2.3","doctrine/doctrine-bundle": "1.2.*","twig/extensions": "1.0.*","symfony/assetic-bundle": "2.1.*","symfony/swiftmailer-bundle": "2.2.*","symfony/monolog-bundle": "2.2.*","sensio/distribution-bundle": "2.2.*","sensio/framework-extra-bundle": "2.2.*","sensio/generator-bundle": "2.2.*","jms/security-extra-bundle": "1.4.*","jms/di-extra-bundle": "1.3.*","friendsofsymfony/rest": "0.7.0","friendsofsymfony/rest-bundle": "0.9.0","jms/serializer-bundle": "0.9.0","friendsofsymfony/jsrouting-bundle": "1.0.3","friendsofsymfony/user-bundle": "v1.3.0","knplabs/knp-menu-bundle": "dev-master","knplabs/knp-paginator-bundle": "v2.3","guzzle/guzzle": "dev-master"
    },"scripts": {
        "post-install-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap","Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache","Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets","Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ],"post-update-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap","Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ]
    },"config": {
        "bin-dir": "bin"
    },"minimum-stability": "dev","extra": {
        "symfony-app-dir": "app","symfony-web-dir": "web","branch-alias": {
            "dev-master": "2.3-dev"
        }
    }
}
您将某些第三方捆绑包锁定到某个标记/版本.
"friendsofsymfony/user-bundle": "v1.3.0",

this bundle only supports Symfony 2.1.*的v1.3.0标签.

您必须浏览每个第三方软件包,并确保使用正确的标签/版本.

上面的行应该是这样的

"friendsofsymfony/user-bundle": "v1.3.1",

您可以在composer.json of the bundle中查看v1.3.1标记的要求.

您也可以使用dev-master标记,但如果您不打算定期升级Symfony,则可能会导致问题.

相关文章

Hessian开源的远程通讯,采用二进制 RPC的协议,基于 HTTP 传输。可以实现PHP调用Java,Python,C#等多语...
初识Mongodb的一些总结,在Mac Os X下真实搭建mongodb环境,以及分享个Mongodb管理工具,学习期间一些总结...
边看边操作,这样才能记得牢,实践是检验真理的唯一标准.光看不练假把式,光练不看傻把式,边看边练真把式....
在php中,结果输出一共有两种方式:echo和print,下面将对两种方式做一个比较。 echo与print的区别: (...
在安装好wampServer后,一直没有使用phpMyAdmin,今天用了一下,phpMyAdmin显示错误:The mbstring exte...
变量是用于存储数据的容器,与代数相似,可以给变量赋予某个确定的值(例如:$x=3)或者是赋予其它的变...