-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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
Comments
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. I suggest deprecating it though. I don't see much use case for it. What do you think @fabpot ? |
I’ll submit a PR for master to mark it as deprecated for 2.6 within a couple of days. |
Ok to deprecate that. |
…:isClassInActiveBundle
…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
…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
…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()
…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
Browsing through the code I noticed that
Symfony\Component\HttpKernel\KernelInterface
andSymfony\Component\HttpKernel\Kernel
have a method calledisClassInActiveBundle
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.The text was updated successfully, but these errors were encountered: