大约在3个月前,这是我最后一次编辑这个JSON文件。当时的改变是添加对ThirdEngine/DotNetIntegration的引用,这是我编写的一个库。运行php composer.phar更新会给出以下错误。
问题1
原则/迁移的安装请求-开发-主->可满足的原则/迁移-开发-主。 原则/迁移开发-母版需要symfony/console ~2.3 ->,没有找到匹配的包。
问题2
原则/迁移1.0.x-dev需要symfony/console ~2.3 ->,没有找到匹配的包。 理论/学说-迁移-捆绑开发-主人需要理论/迁移~1.0 ->可满足的原则/迁移1.0.x-dev。 原则/原则的安装请求.迁移. doctrine/doctrine-migrations-bundledev-master.可满足的包开发-主->
{
"name": "latent-codex/estimator",
"description": "",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.2.*",
"propel/propel-bundle": "1.1.*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "1.2.*",
"doctrine/doctrine-fixtures-bundle": "dev-master",
"doctrine/doctrine-migrations-bundle": "dev-master",
"doctrine/migrations": "dev-master",
"doctrine/data-fixtures": "dev-master",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.1.*",
"symfony/swiftmailer-bundle": "2.2.*",
"symfony/monolog-bundle": "2.2.*",
"symfony/console": "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.*",
"braintree/braintree_php" : "2.27.0",
"mikehaertl/phpwkhtmltopdf": "1.2.*",
"h4cc/wkhtmltopdf-amd64": "0.12.*",
"intervention/image": "2.*",
"robmorgan/phinx": "*",
"phpunit/phpunit": "4.3.*",
"ThirdEngine/DotNetIntegration": "dev-master",
"symfony/process": "2.2.*"
},
"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::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
]
},
"config": {
"bin-dir": "bin",
"github-oauth": {
"github.com": "3d9b33f82636944b2cf643e5bf4011c2a89af6b4"
}
},
"minimum-stability": "alpha",
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"branch-alias": {
"dev-master": "2.2-dev"
}
},
"repositories": [
{
"type": "vcs",
"url": "git://github.com/ThirdEngine/DotNetIntegration.git"
}
]
}
发布于 2015-12-10 18:15:03
最后,我只是将框架升级到较新的版本,并将composer.json中的版本正确地设置为固定版本,就像最初应该做的那样。
https://stackoverflow.com/questions/32686704
复制相似问题