File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,32 @@ FrameworkBundle
11
11
12
12
* Deprecate ` framework:exceptions ` tag, unwrap it and replace ` framework:exception ` tags’ ` name ` attribute by ` class ` .
13
13
14
+ Before:
15
+ ``` xml
16
+ <!-- config/packages/framework.xml -->
17
+ <framework : config >
18
+ <framework : exceptions >
19
+ <framework : exception
20
+ name =" Symfony\Component\HttpKernel\Exception\BadRequestHttpException"
21
+ log-level =" info"
22
+ status-code =" 422"
23
+ />
24
+ </framework : exceptions >
25
+ </framework : config >
26
+ ```
27
+
28
+ After:
29
+ ``` xml
30
+ <!-- config/packages/framework.xml -->
31
+ <framework : config >
32
+ <framework : exception
33
+ class =" Symfony\Component\HttpKernel\Exception\BadRequestHttpException"
34
+ log-level =" info"
35
+ status-code =" 422"
36
+ />
37
+ </framework : config >
38
+ ```
39
+
14
40
HttpKernel
15
41
----------
16
42
You can’t perform that action at this time.
0 commit comments