8000 remove unused imports by xabbuh · Pull Request #11484 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

remove unused imports #11484

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

Merged
merged 1 commit into from
Jul 27, 2014
Merged

remove unused imports #11484

merged 1 commit into from
Jul 27, 2014

Conversation

xabbuh
Copy link
Member
@xabbuh xabbuh commented Jul 26, 2014
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

@@ -12,7 +12,6 @@
namespace Symfony\Bridge\Doctrine;

use Doctrine\Common\Persistence\ManagerRegistry as ManagerRegistryInterface;
use Doctrine\ORM\Configuration;
Copy link
Contributor

Choose a reason for hiding this comment

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

It's used in a docblock

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, you're right. I missed that. What is the usual practice for this? Do we keep the use statement or should I modify the docblock to use the fully qualified class name?

Copy link
Member

Choose a reason for hiding this comment

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

imo, keep the use statement

We are using use statements for everything including the phpdocs.

@xabbuh
Copy link
Member Author
xabbuh commented Jul 26, 2014

Reverted the two changes mentioned by @jakzal.

@fabpot
Copy link
Member
fabpot commented Jul 27, 2014

Thank you @xabbuh.

@fabpot fabpot merged commit 9cd059e into symfony:2.3 Jul 27, 2014
fabpot added a commit that referenced this pull request Jul 27, 2014
This PR was merged into the 2.3 branch.

Discussion
----------

remove unused imports

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

9cd059e remove unused imports
@xabbuh xabbuh deleted the remove-unused-imports branch July 27, 2014 16:45
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
0