merged branch willdurand/fix-composer-json (PR #4066)

Commits
-------

e344609 [DependencyInjection] Fixed composer.json
1aa0786 [FrameworkBundle] Fixed composer.json
3601f61 [DoctrineBridge] Fixed composer.json

Discussion
----------

Fix composer json

---------------------------------------------------------------------------

by jalliot at 2012-04-22T14:22:24Z

`suggest` no longer requires a version constraint. While you're at it, maybe you could change those to more meaningful strings explaining what each optional dependency provides.

---------------------------------------------------------------------------

by willdurand at 2012-04-22T14:24:27Z

I know, but the version is fine. It's more up to @fabpot to add description in each `suggest` entries.
Anyway, this is not the purpose of this PR. If you want to contribute on that, feel free :)
This commit is contained in:
Fabien Potencier 2012-04-22 18:51:57 +02:00
commit b0a6956bdc
3 changed files with 6 additions and 10 deletions

View File

@ -19,14 +19,12 @@
"php": ">=5.3.2",
"doctrine/common": "2.2.*"
},
"recommend": {
"doctrine/dbal": ">=2.1,<2.3",
"doctrine/orm": ">=2.1,<2.3"
},
"suggest": {
"symfony/form": "self.version",
"symfony/validator": "self.version",
"doctrine/data-fixtures": "1.0.*"
"doctrine/data-fixtures": "1.0.*",
"doctrine/dbal": ">=2.1,<2.3",
"doctrine/orm": ">=2.1,<2.3"
},
"autoload": {
"psr-0": { "Symfony\\Bridge\\Doctrine": "" }

View File

@ -27,7 +27,7 @@
"symfony/translation": "self.version",
"doctrine/common": ">=2.1,<2.3-dev"
},
"recommend": {
"suggest": {
"symfony/console": "self.version",
"symfony/finder": "self.version",
"symfony/form": "self.version",

View File

@ -18,11 +18,9 @@
"require": {
"php": ">=5.3.2"
},
"recommend": {
"symfony/config": "self.version"
},
"suggest": {
"symfony/yaml": "self.version"
"symfony/yaml": "self.version",
"symfony/config": "self.version"
},
"autoload": {
"psr-0": { "Symfony\\Component\\DependencyInjection": "" }