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

Skip to content

Commit a9d722e

Browse files
committed
Fix deprecation message
1 parent db85c57 commit a9d722e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UPGRADE-6.3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ DependencyInjection
99
FrameworkBundle
1010
---------------
1111

12-
* Deprecate `framework:exceptions` tag, unwrap it and replace `framework:exception` tags `name` attribute by `class`.
12+
* Deprecate `framework:exceptions` tag, unwrap it and replace `framework:exception` tags' `name` attribute by `class`
1313

1414
Before:
1515
```xml

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ private function addExceptionsSection(ArrayNodeDefinition $rootNode)
12021202
return $v;
12031203
}
12041204

1205-
trigger_deprecation('symfony/framework-bundle', '6.3', '"framework:exceptions" tag is deprecated. Unwrap it and replace your "framework:exception" tags "name" attribute by "class".');
1205+
trigger_deprecation('symfony/framework-bundle', '6.3', '"framework:exceptions" tag is deprecated. Unwrap it and replace your "framework:exception" tags\' "name" attribute by "class".');
12061206

12071207
$v = $v['exception'];
12081208
unset($v['exception']);

0 commit comments

Comments
 (0)