Skip to content

Commit 0faeec3

Browse files
MatTheCatfabpot
authored andcommitted
[FrameworkBundle] Deprecate framework:exceptions XML tag
1 parent f078f5c commit 0faeec3

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CHANGELOG
88
* Allow to avoid `limit` definition in a RateLimiter configuration when using the `no_limit` policy
99
* Add `--format` option to the `debug:config` command
1010
* Add support to pass namespace wildcard in `framework.messenger.routing`
11+
* Deprecate `framework:exceptions` tag, unwrap it and replace `framework:exception` tags' `name` attribute by `class`
1112

1213
6.2
1314
---

DependencyInjection/Configuration.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,8 @@ 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".');
1206+
12051207
$v = $v['exception'];
12061208
unset($v['exception']);
12071209

0 commit comments

Comments
 (0)