-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
#11652 [HttpKernel] Remove unused method Kernel::isClassInActiveBundle #11869
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
Conversation
hacfi
commented
Sep 6, 2014
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) |
*/ | ||
public function isClassInActiveBundle($class) | ||
{ | ||
trigger_error('isClassInActiveBundle is deprecated since version 2.6 and will be removed in 3.0.', E_USER_DEPRECATED); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't add trigger_error
yet. We will add it only in the last 2.x release
you should not remove the tests even if the method is deprecated |
Thanks for the feedback @stof ! Updated. |
👍 |
@@ -13,6 +13,9 @@ | ||
|
||
use Symfony\Component\HttpKernel\Bundle\Bundle; | ||
|
||
/** | ||
* @deprecated Deprecated since version 2.6, to be removed in 3.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't deprecate fixtures. It is not needed as this is not part of the public codebase but of the testsuite
@stof Thanks - updated! I thought it would be good to mark them so they aren’t forgotten when removing the code. |
👍 |
Thank you @hacfi. |
…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