Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[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

Merged
merged 1 commit into from
Jan 25, 2016
Merged

Conversation

gapple
Copy link
Contributor

@gapple gapple commented Jan 15, 2016

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

@gapple
Copy link
Contributor Author

gapple commented Jan 16, 2016

Additionally

  • While master got the apc_* to apcu_* changes, the 3.0 branch did not.
  • APC is PHP <=5.4, so symfony/polyfill-apcu shouldn't be a dependency on 3.0 or master

@@ -14,14 +14,14 @@
use Symfony\Component\ClassLoader\ApcUniversalClassLoader;

/**
* @requires extension apc
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

Choose a reason for hiding this comment

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

@Tobion
Copy link
Contributor

Tobion commented Jan 16, 2016

While master got the apc_* to apcu_* changes, the 3.0 branch did not.

Because 2.8 did not get merged in 3.0 yet

@fabpot
Copy link
Member

fabpot commented Jan 25, 2016

Thank you @gapple.

@fabpot fabpot merged commit a0dc399 into symfony:2.3 Jan 25, 2016
fabpot added a commit that referenced this pull request Jan 25, 2016
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
fabpot added a commit that referenced this pull request Jan 25, 2016
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
@gapple gapple deleted the classloader-apcu branch October 31, 2016 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants