-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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
[3.0] [ClassLoader] removed deprecated UniversalClassLoader and DebugClassLoader classes. #13203
Conversation
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 | ~ |
e087303
to
5921cd9
Compare
@@ -60,7 +60,7 @@ | |||
* | |||
* @api | |||
*/ | |||
class ApcUniversalClassLoader extends UniversalClassLoader | |||
class ApcUniversalClassLoader extends ClassLoader |
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.
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).
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.
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.
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.
Current PR has been updated with your suggestions.
5921cd9
to
fda582f
Compare
@@ -16,10 +16,10 @@ | |||
* | |||
* @author Fabien Potencier <[email protected]> | |||
*/ | |||
class DebugUniversalClassLoader extends UniversalClassLoader | |||
class DebugUniversalClassLoader extends ClassLoader |
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.
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)
38e5f2b
to
9c5b177
Compare
@hhamon Can you rebase on current master? |
9c5b177
to
a6cfbe5
Compare
@fabpot rebased! ;) |
2.7.0 | ||
----- | ||
|
||
* The UniversalClassLoader class has been deprecated in favor of ClassLoader class |
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.
This should be removed as the class was deprecated in 2.4.
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.
@fabpot done!
a6cfbe5
to
1d7cbdd
Compare
Thank you @hhamon. |
…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.
The `DebugClassLoader` has been moved to the Debug component with Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
The `DebugClassLoader` has been moved to the Debug component with Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
The `DebugClassLoader` has been moved to the Debug component with Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
The `DebugClassLoader` has been moved to the Debug component with Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
The `DebugClassLoader` has been moved to the Debug component with Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
The `DebugClassLoader` has been moved to the Debug component with Symfony 2.4 and will be removed in 3.0 (see symfony/symfony#13203).
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 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