Closed maxailloud closed 10 years ago
I don't think this bundle is the problem... The only requirement in composer.json is symfony/symfony: ~2.1
doctrine and doctrine-bundle are dev requirements only
But dev requirements are automatically download by composer. I'm developping so I cannot put the --no-dev option to composer, and so I get this packages.
dev requirements are only used at the root level of a project: https://getcomposer.org/doc/04-schema.md#require-dev
if this bundle is a requirement for your project, the dev requirements will not be installed.
Oh ok. Wasn't aware about that.
So thanks for the information.
do you have minimum stability set to dev on your project? https://getcomposer.org/doc/04-schema.md#minimum-stability
Yes, dev.
that's why you are getting the master branches i think - you should set it to "stable" or remove it (stable is default)
Didn't thought about it.
I will give it a try.
Is there a reason that doctrine and doctrine-bundle dependencies in composer.json follow master branch and not a specific tag?
I'm using ZenstruckFormBundle but I also referenced doctrine and the doctrine-bundle in my composer.json, but with a tagged version.
So when launching
composer update
I get the master of each package instead of the one I wanted.So will it problematic if we specify version for doctrine and doctrine-bundle packages?