这大约3个月前工作,这是我最后一次编辑这个JSON文件。当时的变化是添加对ThirdEngine/DotNetIntegration
的引用,这是我写的库。运行php composer.phar
更新会给我以下错误。
问题1
doctrine / migrations的安装请求dev-master - >可满足 通过doctrine / migrations [dev-master]。
doctrine / migrations dev-master需要symfony / console~2.3 - >没有 匹配包找到。
问题2
doctrine / migrations 1.0.x-dev需要symfony / console~2.3 - >没有 匹配包找到。
doctrine / doctrine-migrations-bundle dev-master需要 doctrine / migrations~1.0 - >可满足的 教义/迁移[1.0.x的-dev的]。
doctrine / doctrine-migrations-bundle的安装请求 dev-master - >可满足的 学说/教义的迁移束[DEV-主]。
{
"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"
}
]
}

答案 0 :(得分:0)
我最终只是将框架升级到更新的版本,并将composer.json中的版本设置为固定版本,就像它本来应该完成的那样。