作曲家 奏鸣曲束的原型



>我有一个项目,它有一个固定在捆绑包的特定提交或开发大师版本的捆绑包上。 我想修复这个项目的依赖关系,我决定修复我的大部分捆绑包,但我找不到奏鸣曲捆绑包版本的良好组合。当我在开发大师版本修复奏鸣曲捆绑包时,我遇到了此错误。

>   Problem 1
>     - Installation request for sonata-project/doctrine-orm-admin-bundle dev-master -> satisfiable by
> sonata-project/doctrine-orm-admin-bundle[dev-master].
>     - sonata-project/user-bundle dev-master conflicts with sonata-project/doctrine-orm-admin-bundle[dev-master].
>     - Installation request for sonata-project/user-bundle dev-master -> satisfiable by sonata-project/user-bundle[dev-master].

这是我的作曲家配置:

>   "require": {
>     "php": ">=5.3.9",
>     "symfony/symfony": "2.7.7",
>     "doctrine/orm": "2.4.8",
>     "doctrine/doctrine-bundle": "1.6.2",
>     "symfony/assetic-bundle": "2.8.0",
>     "symfony/swiftmailer-bundle": "2.3.11",
>     "symfony/monolog-bundle": "2.10.0",
>     "sensio/distribution-bundle": "4.0.5",
>     "sensio/framework-extra-bundle": "3.0.14",
>     "incenteev/composer-parameter-handler": "2.1.2",
>     "sonata-project/admin-bundle": "dev-master",
>     "sonata-project/doctrine-orm-admin-bundle": "dev-master",
>     "sonata-project/user-bundle": "dev-master",
>     "sonata-project/easy-extends-bundle": "dev-master",
>     "sonata-project/datagrid-bundle": "dev-master",
>     "sonata-project/classification-bundle": "dev-master",
>     "sonata-project/intl-bundle": "dev-master",
>     "sonata-project/media-bundle": "dev-master",
>     "jms/serializer-bundle": "1.0.0",
>     "jackalope/jackalope-doctrine-dbal": "1.0.*@beta",
>     "doctrine/phpcr-odm": "1.2.6",
>     "doctrine/phpcr-bundle": "1.2.4",
>     "phpcr/phpcr-utils": "1.2.4",
>     "sonata-project/formatter-bundle": "2.3.3",
>     "knplabs/knp-menu-bundle": "2.1.3",
>     "sonata-project/translation-bundle": "1.0.1",
>     "stof/doctrine-extensions-bundle": "1.2.2",
>     "gedmo/doctrine-extensions": "2.3.9",
>     "simplethings/entity-audit-bundle": "0.8",
>     "egeloen/ckeditor-bundle": "2.5.2",
>     "helios-ag/fm-elfinder-bundle": "5.3",
>     "friendsofsymfony/jsrouting-bundle": "1.5.4",
>     "sonata-project/jquery-bundle": "1.9.1",
>     "floriansemm/solr-bundle": "1.3.1",
>     "google/recaptcha": "1.1.2",
>     "friendsofsymfony/elastica-bundle": "dev-master",
>     "presta/sitemap-bundle": "1.4",
>     "liuggio/excelbundle": "2.1.0"   },

请帮忙吗? 对不起英语!

  1. 从作曲家中删除每行奏鸣曲.json
  2. 让作曲家自己找出工作组合:composer require sonata-project/admin-bundle sonata-project/doctrine-orm-admin-bundle sonata-project/user-bundle sonata-project/easy-extends-bundle sonata-project/datagrid-bundle sonata-project/classification-bundle sonata-project/intl-bundle sonata-project/media-bundle

另外,如果可以避免,请不要使用dev-master。它不是为了那个,而是在你开发Sonata本身的时候。

经过研究,我发现了捆绑版本的稳定组合: 这是我的作曲家.json 我希望能有所帮助

"require": {
"php": ">=5.3.9",
"symfony/symfony": "2.7.7",
"doctrine/orm": "2.4.8",
"doctrine/doctrine-bundle": "1.6.4",
"symfony/assetic-bundle": "2.6.0",
"symfony/swiftmailer-bundle": "2.4.0",
"symfony/monolog-bundle": "2.12",
"sensio/distribution-bundle": "4.0.12",
"sensio/framework-extra-bundle": "3.0.16",
"incenteev/composer-parameter-handler": "2.1.2",
"sonata-project/admin-bundle": "3.0",
"sonata-project/doctrine-orm-admin-bundle": "3.0.2",
"sonata-project/easy-extends-bundle": "2.1.10",
"sonata-project/user-bundle": "3.0.0",
"sonata-project/datagrid-bundle": "2.2",
"sonata-project/classification-bundle": "3.0.0",
"sonata-project/intl-bundle": "2.2.4",
"sonata-project/media-bundle": "3.0.0",
"jms/serializer-bundle": "1.1.0",
"jackalope/jackalope-doctrine-dbal": "1.2.8",
"doctrine/phpcr-odm": "1.3.0",
"doctrine/phpcr-bundle": "1.2.1",
"phpcr/phpcr-utils": "1.2.9",
"sonata-project/formatter-bundle": "3.0.1",
"knplabs/knp-menu-bundle": "2.1.2",
"sonata-project/translation-bundle": "2.0.2",
"stof/doctrine-extensions-bundle": "1.2.2",
"gedmo/doctrine-extensions": "2.3.9",
"simplethings/entity-audit-bundle": "0.8",
"egeloen/ckeditor-bundle": "4.0.6",
"helios-ag/fm-elfinder-bundle": "5.3",
"friendsofsymfony/jsrouting-bundle": "1.5.4",
"sonata-project/jquery-bundle": "1.10.2",
"floriansemm/solr-bundle": "1.3.1",
"google/recaptcha": "1.1.2",
"friendsofsymfony/elastica-bundle": "3.2.1",
"presta/sitemap-bundle": "1.4.1",
"arodiss/xls-bundle": "0.5.9",
"akeneo-labs/spreadsheet-parser": "1.2.2",
"liuggio/excelbundle": "2.1.0"
},

相关内容

  • 没有找到相关文章

最新更新