这个工作大约3个月前,这是我最后一次编辑这个JSON文件。当时的变化是添加了对ThirdEngine/DotNetIntegration
的引用,这是我编写的一个库。运行php composer.phar
update给了我以下错误:
问题1
doctrine/migrations的安装请求dev-master -> satisfiable教义/迁移(dev-master)。
doctrine/migrations dev-master需要symfony/console ~2.3 -> no找到匹配包
问题2
1.0教义/迁移。X-dev需要symfony/console ~2.3 -> no找到匹配包
doctrine/doctrine-migrations-bundle dev-master required原则/迁移~1.0 ->可满足教义/迁移(1.0.x-dev)。
doctrine/doctrine-migrations-bundle的安装请求Dev-master ->满足于教义/doctrine-migrations-bundle [dev-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"
}
]
}
我最终只是将框架升级到新版本,并在编写器中设置版本。