-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[ClassLoader] Deprecate Apc/WinCache/Xcache class loaders #20777
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
should we also deprecate WinCacheClassLoader and XcacheClassLoader providing similar wrappers with other storages ? Btw, if we deprecate these caching loaders, and we deprecate the ClassCollectionLoader, the component will only contain the basic PSR-0, PSR-4 and classmap loaders, which are all useless when using composer. So we may want to deprecate the whole component instead. |
19968bb
to
fa36e1d
Compare
@stof I added WinCache and Xcache to this PR. I agree with you about deprecating the component. Should be done in another PR (esp. HttpKernel\Client is using the component right now, it needs some work to be freed from it). |
Thank you @nicolas-grekas. |
…ers (nicolas-grekas) This PR was merged into the 3.3-dev branch. Discussion ---------- [ClassLoader] Deprecate Apc/WinCache/Xcache class loaders | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | no | Fixed tickets | - | License | MIT | Doc PR | - See composer/composer#5559 Commits ------- fa36e1d [ClassLoader] Deprecate Apc/WinCache/Xcache class loaders
@stof there is also debug class loader that suggests how to deal with class not found errors |
@Koc no. DebugClassLoader is in the Debug component, not in the ClassLoader component |
This PR was merged into the master branch. Discussion ---------- [ClassLoader] deprecate caching class loaders Updates the documentation for symfony/symfony#20777. Commits ------- 2e6cfca [ClassLoader] deprecate caching class loaders
See composer/composer#5559