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

Skip to content

Commit db85c57

Browse files
committed
Add configuration diff sample
1 parent 58c96b6 commit db85c57

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

UPGRADE-6.3.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,32 @@ FrameworkBundle
1111

1212
* Deprecate `framework:exceptions` tag, unwrap it and replace `framework:exception` tags’ `name` attribute by `class`.
1313

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+
1440
HttpKernel
1541
----------
1642

0 commit comments

Comments
 (0)