Skip to content

[3.0] [ClassLoader] removed deprecated UniversalClassLoader and DebugClassLoader classes. #13203

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

Conversation

hhamon
Copy link
Contributor

@hhamon hhamon commented Jan 2, 2015

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

@hhamon hhamon force-pushed the classloader-remove-deprecated-structures branch 2 times, most recently from e087303 to 5921cd9 Compare January 2, 2015 16:32
@hhamon hhamon changed the title [ClassLoader] removed deprecated UniversalClassLoader and DebugClassLoader classes. [3.0] [ClassLoader] removed deprecated UniversalClassLoader and DebugClassLoader classes. Jan 2, 2015
@@ -60,7 +60,7 @@
*
* @api
*/
class ApcUniversalClassLoader extends UniversalClassLoader
class ApcUniversalClassLoader extends ClassLoader
Copy link
Member

Choose a reason for hiding this comment

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

This is wrong. The ApcUniversalClassLoader should be removed entirely (we already have the ApcClassLoader as a replacement, which is way better since it uses composition rather than inheritance).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the notice! I will update the PR. The ApcUniversalClassLoader is not tagged as @deprecated anywhere. That's why I thought we had to keep it. I will update my deprecation notices PR as well to mark the class deprecated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Current PR has been updated with your suggestions.

@hhamon hhamon force-pushed the classloader-remove-deprecated-structures branch from 5921cd9 to fda582f Compare January 2, 2015 16:56
@@ -16,10 +16,10 @@
*
* @author Fabien Potencier <[email protected]>
*/
class DebugUniversalClassLoader extends UniversalClassLoader
class DebugUniversalClassLoader extends ClassLoader
Copy link
Member

Choose a reason for hiding this comment

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

The DebugUniversalClassLoader should also be removed entirely in favor of the DebugClassLoader (special flavors of the UniversalClassLoader are actually meant to be deprecated at the same time than the UniversalClassLoader itself)

@hhamon hhamon force-pushed the classloader-remove-deprecated-structures branch 4 times, most recently from 38e5f2b to 9c5b177 Compare January 5, 2015 22:55
@fabpot
Copy link
Member

fabpot commented Jan 16, 2015

@hhamon Can you rebase on current master?

@hhamon hhamon force-pushed the classloader-remove-deprecated-structures branch from 9c5b177 to a6cfbe5 Compare January 16, 2015 08:16
@hhamon
Copy link
Contributor Author

hhamon commented Jan 16, 2015

@fabpot rebased! ;)

2.7.0
-----

* The UniversalClassLoader class has been deprecated in favor of ClassLoader class
Copy link
Member

Choose a reason for hiding this comment

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

This should be removed as the class was deprecated in 2.4.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fabpot done!

@hhamon hhamon force-pushed the classloader-remove-deprecated-structures branch from a6cfbe5 to 1d7cbdd Compare January 16, 2015 10:34
@fabpot
Copy link
Member

fabpot commented Jan 16, 2015

Thank you @hhamon.

@fabpot fabpot merged commit 1d7cbdd into symfony:master Jan 16, 2015
fabpot added a commit that referenced this pull request Jan 16, 2015
…oader and DebugClassLoader classes. (hhamon)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[3.0] [ClassLoader] removed deprecated UniversalClassLoader and DebugClassLoader classes.

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

Commits
-------

1d7cbdd [ClassLoader] removed deprecated UniversalClassLoader and DebugClassLoader classes.
xabbuh added a commit to xabbuh/symfony-docs that referenced this pull request Jan 16, 2015
The `DebugClassLoader` has been moved to the Debug component with
Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
@hhamon hhamon deleted the classloader-remove-deprecated-structures branch January 17, 2015 17:50
xabbuh added a commit to xabbuh/symfony-docs that referenced this pull request Jan 31, 2015
The `DebugClassLoader` has been moved to the Debug component with
Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
xabbuh added a commit to xabbuh/symfony-docs that referenced this pull request Jan 31, 2015
The `DebugClassLoader` has been moved to the Debug component with
Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
xabbuh added a commit to xabbuh/symfony-docs that referenced this pull request May 24, 2015
The `DebugClassLoader` has been moved to the Debug component with
Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
xabbuh added a commit to xabbuh/symfony-docs that referenced this pull request May 24, 2015
The `DebugClassLoader` has been moved to the Debug component with
Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
xabbuh added a commit to xabbuh/symfony-docs that referenced this pull request May 24, 2015
The `DebugClassLoader` has been moved to the Debug component with
Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
xabbuh added a commit to symfony/symfony-docs that referenced this pull request Jun 9, 2015
The `DebugClassLoader` has been moved to the Debug component with
Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
weaverryan added a commit to symfony/symfony-docs that referenced this pull request Jun 9, 2015
This PR was submitted for the 2.5 branch but it was merged into the 2.6 branch instead (closes #4947).

Discussion
----------

[Components][ClassLoader] remove DebugClassLoader

| Q             | A
| ------------- | ---
| Doc fix?      | no
| New docs?     | no
| Applies to    | 2.5
| Fixed tickets |

The `DebugClassLoader` has been moved to the Debug component with
Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).

This replaced #4855 by removing the `DebugClassLoader` docs from ClassLoader component in the 2.5 version, but keeping a redirect to the description in the Debug component. The redirection map entry should then be removed once the changes got merged up into the `master` branch.

Commits
-------

73e9833 [Components][ClassLoader] remove DebugClassLoader
@fabpot fabpot mentioned this pull request Nov 16, 2015
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