composer conflicts symfony/framework-bundle



我正试图编译一个Symfony 2.5应用程序,但我遇到了与Symfony/Symfony和Symfony/framework捆绑包的冲突。我曾尝试将条令/条令fixtures捆绑包降级为3.0.x-dev,也曾尝试使用3.3.0版本,但需要PHP8。

关于我应该使用哪种版本的条令/条令固定包,有什么想法吗?

感谢

- Root composer.json requires doctrine/doctrine-fixtures-bundle 3.2,0 -> satisfiable by doctrine/doctrine-fixtures-bundle[3.2.0].
- Conclusion: don't install symfony/symfony v2.5.2 (conflict analysis result)
...
- Conclusion: don't install symfony/symfony v2.5.1 (conflict analysis result)
- doctrine/doctrine-fixtures-bundle 3.2.0 requires symfony/framework-bundle ^3.3|^4.0 -> satisfiable by symfony/framework-bundle[v3.3.0, ..., v3.4.47, v4.0.0, ..., v4.4.45].
- Only one of these can be installed: symfony/framework-bundle[2.0.7, ..., v2.8.52, v3.0.0, ..., v3.4.47, v4.0.0, ..., v4.4.45, v5.0.0, ..., v5.4.12], symfony/symfony[v2.5.0, ..., v2.5.12]. symfony/symfony replaces symfony/framework-bundle and thus cannot coexist with it.

根据该版本的Packagist规范,您无法做到这一点。

3.2.0版软件包要求:

php: ^7.1
doctrine/data-fixtures: ^1.3
doctrine/doctrine-bundle: ^1.6
doctrine/orm: ^2.6.0
symfony/doctrine-bridge: ~3.4|^4.1
symfony/framework-bundle: ^3.4|^4.1

注意symfony/framework-bundle行。

您可以访问的最高版本是2.3.0版本。

你确定这不是打字错误吗(3.2.0 vs 2.3.0(?

最新更新