You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #16795 [FrameworkBundle][Validator] Fix apc cache service & config (ogizanagi)
This PR was merged into the 3.0 branch.
Discussion
----------
[FrameworkBundle][Validator] Fix apc cache service & config
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #16793
| License | MIT
| Doc PR | -
_Keep track of #16794 (comment)
_NOTE_: This PR is on standby. If #16822 is merged, this one might probably be closed, as everything will be done during the merge.
Commits
-------
94a1728 [FrameworkBundle][Validator] Fix apc cache service & config
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
+1-14
Original file line number
Diff line number
Diff line change
@@ -454,20 +454,7 @@ private function addValidationSection(ArrayNodeDefinition $rootNode)
454
454
->info('validation configuration')
455
455
->canBeEnabled()
456
456
->children()
457
-
->scalarNode('cache')
458
-
->beforeNormalization()
459
-
// Can be removed in 3.0, once ApcCache support is dropped
460
-
->ifString()->then(function ($v) {
461
-
if ('apc' === $v) {
462
-
@trigger_error('The ability to pass "apc" as the framework.validation.cache configuration key value is deprecated since version 2.8 and will be removed in 3.0. Use the "validator.mapping.cache.doctrine.apc" service id instead.', E_USER_DEPRECATED);
0 commit comments