Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doctrine namespace #64

Closed
wants to merge 3 commits into from
Closed

Doctrine namespace #64

wants to merge 3 commits into from

Conversation

kriswallsmith
Copy link
Contributor

I've moved the bundle into the Doctrine namespace.

@jmikola
Copy link
Member

jmikola commented Dec 16, 2011

Should this not also be done for the 2.0 branch?

@kriswallsmith
Copy link
Contributor Author

I don't think so; that would be a BC break.

@@ -9,7 +9,7 @@
* file that was distributed with this source code.
*/

namespace Symfony\Bundle\DoctrineMongoDBBundle\CacheWarmer;
namespace Doctrine\Bundle\DoctrineMongoDBBundle\CacheWarmer;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be consistent with the fixtures and migrations bundles, it should be Doctrine\Bundle\MongoDBBundle as namespace (avoiding to duplicate Doctrine). The bundle name would still be DoctrineMongoDBBundle with such a namespace by simply applying the naming convention

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, good catch.

@stof
Copy link
Member

stof commented Dec 19, 2011

@kriswallsmith @jmikola when is it planned to merge the namespace change ?

I would like to submit PRs to use symfony/symfony#2923 (to provide mongodb: as a provider in the security config) and symfony/symfony#2921 (to remove code duplication regarding forms, making #59 obsolete too).
Either I wait for the namespace change, either I submit them using the Symfony namespace which would then require a rebase to change the namespace in the new classes.

@kriswallsmith
Copy link
Contributor Author

I need to make some fixes but don’t have time right now. Would you like to take over this patch?

On Monday, December 19, 2011 at 9:54 AM, Christophe Coevoet wrote:

@kriswallsmith @jmikola when is it planned to merge the namespace change ?

I would like to submit PRs to use symfony/symfony#2923 (to provide mongodb: as a provider in the security config) and symfony/symfony#2921 (to remove code duplication regarding forms, making #59 obsolete too).
Either I wait for the namespace change, either I submit them using the Symfony namespace which would then require a rebase to change the namespace in the new classes.


Reply to this email directly or view it on GitHub:
#64 (comment)

@stof stof mentioned this pull request Dec 19, 2011
@jmikola jmikola closed this in 9e6f809 Dec 20, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants