Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

#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

Closed
wants to merge 3 commits into from

Conversation

hacfi
Copy link
Contributor

@hacfi 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);
Copy link
Member

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

@stof
Copy link
Member

stof commented Sep 7, 2014

you should not remove the tests even if the method is deprecated

@hacfi
Copy link
Contributor Author

hacfi commented Sep 8, 2014

Thanks for the feedback @stof ! Updated.

@fabpot
Copy link
Member

fabpot commented Sep 8, 2014

👍

@@ -13,6 +13,9 @@

use Symfony\Component\HttpKernel\Bundle\Bundle;

/**
* @deprecated Deprecated since version 2.6, to be removed in 3.0.
Copy link
Member

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

@hacfi
Copy link
Contributor Author

hacfi commented Sep 8, 2014

@stof Thanks - updated! I thought it would be good to mark them so they aren’t forgotten when removing the code.

@stof
Copy link
Member

stof commented Sep 8, 2014

👍

@fabpot
Copy link
Member

fabpot commented Sep 8, 2014

Thank you @hacfi.

@fabpot fabpot closed this Sep 8, 2014
fabpot added a commit that referenced this pull request 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 pull request 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
hacfi added a commit to hacfi/symfony that referenced this pull request Dec 4, 2014
hacfi added a commit to hacfi/symfony that referenced this pull request Dec 7, 2014
fabpot added a commit that referenced this pull request 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 pull request 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
@hacfi hacfi deleted the ticket_11652 branch April 22, 2015 12:10
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.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.