-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[ClassLoader] Use symfony/polyfill-apcu #17396
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
Additionally
|
@@ -14,14 +14,14 @@ | |||
use Symfony\Component\ClassLoader\ApcUniversalClassLoader; | |||
|
|||
/** | |||
* @requires extension apc |
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.
@nicolas-grekas I think you missed to remove that in https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/ClassLoader/Tests/ApcClassLoaderTest.php#L18 as this will forbid to use this test against apcu without bc layer.
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.
and its already skipped in setUp anyway.
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.
Because 2.8 did not get merged in 3.0 yet |
29bc90d
to
a0dc399
Compare
Thank you @gapple. |
This PR was merged into the 2.3 branch. Discussion ---------- [ClassLoader] Use symfony/polyfill-apcu | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - #17358 updated ApcClassLoader to use polyfill-apcu, but not ApcUniversalClassLoader 2.7 / 2.8 tests are in LegacyApcUniversalClassLoaderTest Commits ------- a0dc399 [ClassLoader] Use symfony/polyfill-apcu
This PR was merged into the 3.0 branch. Discussion ---------- remove obsolete apcu polyfill | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - As @gapple pointed out in #17396 > APC is PHP <=5.4, so symfony/polyfill-apcu shouldn't be a dependency on 3.0 or master Commits ------- 5bf64ea remove obsolete apcu polyfill
2.7 / 2.8 tests are in LegacyApcUniversalClassLoaderTest