Skip to content

[HttpKernel] Unused method isClassInActiveBundle #11652

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

Closed
hacfi opened this issue Aug 12, 2014 · 3 comments
Closed

[HttpKernel] Unused method isClassInActiveBundle #11652

hacfi opened this issue Aug 12, 2014 · 3 comments

Comments

@hacfi
Copy link
Contributor

hacfi commented Aug 12, 2014

Browsing through the code I noticed that Symfony\Component\HttpKernel\KernelInterface and Symfony\Component\HttpKernel\Kernel have a method called isClassInActiveBundle which doesn’t seem to be used anywhere. I know it’s marked as api but I was wondering if we really need it or if it was overlooked during refactoring.

@stof stof added this to the 3.0 milestone Aug 18, 2014
@stof
Copy link
Member

stof commented Aug 18, 2014

I think this is a left-over from an earlier version of the kernel, at the very beginning of Symfony 2 development, which was missed when we stopped using it.
However, we cannot remove it until 3.0 for BC reasons.

I suggest deprecating it though. I don't see much use case for it. What do you think @fabpot ?

@hacfi
Copy link
Contributor Author

hacfi commented Aug 19, 2014

I’ll submit a PR for master to mark it as deprecated for 2.6 within a couple of days.

@fabpot
Copy link
Member

fabpot commented Sep 5, 2014

Ok to deprecate that.

hacfi added a commit to hacfi/symfony that referenced this issue Sep 6, 2014
hacfi added a commit to hacfi/symfony that referenced this issue Sep 7, 2014
hacfi added a commit to hacfi/symfony that referenced this issue Sep 8, 2014
hacfi added a commit to hacfi/symfony that referenced this issue Sep 8, 2014
fabpot added a commit that referenced this issue Sep 8, 2014
…ssInActiveBundle (hacfi)

This PR was squashed before being merged into the 2.6-dev branch (closes #11869).

Discussion
----------

#11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes, deprecation targets 3.0
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #11652
| License       | MIT
| Doc PR        | - (Not mentioned in the docs)

Commits
-------

86873f2 #11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle
fabpot added a commit that referenced this issue Sep 8, 2014
…ssInActiveBundle (hacfi)

This PR was squashed before being merged into the 2.6-dev branch (closes #11869).

Discussion
----------

#11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes, deprecation targets 3.0
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #11652
| License       | MIT
| Doc PR        | - (Not mentioned in the docs)

Commits
-------

a777fd7 #11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle
@fabpot fabpot closed this as completed Sep 8, 2014
fabpot added a commit that referenced this issue Dec 8, 2014
…tiveBundle() (hacfi)

This PR was merged into the 2.7 branch.

Discussion
----------

[HttpKernel] Add deprecation log for Kernel::isClassInActiveBundle()

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #11652
| License       | MIT
| Doc PR        | - (Not mentioned in the docs)

See #11869 and #12854

Commits
-------

5ba6d1f [HttpKernel] Add deprecation log for Kernel::isClassInActiveBundle()
fabpot added a commit that referenced this issue Dec 20, 2014
…InActiveBundle (hacfi)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[3.0][HttpKernel] Remove unused method Kernel::isClassInActiveBundle

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | yes, if using isClassInActiveBundle (not used by Symfony itself)
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets | #11652
| License       | MIT
| Doc PR        | - (Not mentioned in the docs)

Follow-up of #11869

Commits
-------

91dcca4 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants