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

Allow to not generate extra use #891

Merged
merged 1 commit into from
Dec 30, 2013
Merged

Conversation

spolischook
Copy link
Contributor

For case when we not generate annotation (by default at doctrine orm:generate-entities) allow to not generate extra use for it -

use Doctrine\ORM\Mapping as ORM;

For example if generate entities for my project that use only dbal in pord but use orm for generate entities in dev mode.

For case when we not generate annotation (by default at doctrine orm:generate-entities) allow to not generate extra use for it - 
```php
use Doctrine\ORM\Mapping as ORM;
```
For example if generate entities for my project that use only dbal in pord but use orm for generate entities in dev mode.
@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-2876

We use Jira to track the state of pull requests and the versions they got
included in.

@deeky666
Copy link
Member

Looks reasonable but a test is missing.

@beberlei
Copy link
Member

This code is really hard to test sadly, i accept it this way.

beberlei added a commit that referenced this pull request Dec 30, 2013
Allow to not generate extra use
@beberlei beberlei merged commit 58c57c5 into doctrine:master Dec 30, 2013
@spolischook
Copy link
Contributor Author

Great! Thanks!

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.

4 participants