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
Copy file name to clipboardExpand all lines: DependencyInjection/Configuration.php
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -66,10 +66,9 @@ public function getConfigTreeBuilder()
66
66
->defaultTrue()
67
67
->end()
68
68
->arrayNode('trusted_proxies')
69
+
->setDeprecated('The "%path%.%node%" configuration key has been deprecated in Symfony 3.3. Use the Request::setTrustedProxies() method in your front controller instead.')
69
70
->beforeNormalization()
70
71
->ifTrue(function ($v) {
71
-
@trigger_error('The "framework.trusted_proxies" configuration key has been deprecated in Symfony 3.3. Use the Request::setTrustedProxies() method in your front controller instead.', E_USER_DEPRECATED);
// Can be removed in 4.0, when validator.mapping.cache.doctrine.apc is removed
666
+
->setDeprecated('The "%path%.%node%" option is deprecated since Symfony 3.2 and will be removed in 4.0. Configure the "cache.validator" service under "framework.cache.pools" instead.')
666
667
->beforeNormalization()
667
-
// Can be removed in 4.0, when validator.mapping.cache.doctrine.apc is removed
668
668
->ifString()->then(function ($v) {
669
669
if ('validator.mapping.cache.doctrine.apc' === $v && !class_exists('Doctrine\Common\Cache\ApcCache')) {
670
670
thrownewLogicException('Doctrine APC cache for the validator cannot be enabled as the Doctrine Cache package is not installed.');
@@ -727,7 +727,9 @@ private function addSerializerSection(ArrayNodeDefinition $rootNode)
->setDeprecated('The "%path%.%node%" option is deprecated since Symfony 3.1 and will be removed in 4.0. Configure the "cache.serializer" service under "framework.cache.pools" instead.')
Copy file name to clipboardExpand all lines: DependencyInjection/FrameworkExtension.php
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1198,8 +1198,6 @@ private function registerValidationConfiguration(array $config, ContainerBuilder
1198
1198
}
1199
1199
1200
1200
if (isset($config['cache']) && $config['cache']) {
1201
-
@trigger_error('The "framework.validation.cache" option is deprecated since Symfony 3.2 and will be removed in 4.0. Configure the "cache.validator" service under "framework.cache.pools" instead.', E_USER_DEPRECATED);
1202
-
1203
1201
$container->setParameter(
1204
1202
'validator.mapping.cache.prefix',
1205
1203
'validator_'.$this->getKernelRootHash($container)
@@ -1454,8 +1452,6 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
if (isset($config['cache']) && $config['cache']) {
1457
-
@trigger_error('The "framework.serializer.cache" option is deprecated since Symfony 3.1 and will be removed in 4.0. Configure the "cache.serializer" service under "framework.cache.pools" instead.', E_USER_DEPRECATED);
0 commit comments