Commit 58ff90b
committed
This PR was merged into the 3.x branch.
Discussion
----------
Support `null` for the `NullHandler`
| Q | A
| ------------- | ---
| Branch? | 3.x
| Bug fix? | yes
| New feature? | yes
| Deprecations? | no
| Issues | Fix #400 Fix #133
| License | MIT
The XML config format doesn't support `'null'` string as its always converted to `NULL`, and Yaml requires `'null'` to be quoted.
In order to simplify the configuration, the `NULL` value is converted to `'null'` string by the configuration.
Commits
-------
047ba44 Support null for the NullHandler
File tree
4 files changed
+30
-3
lines changed- src/DependencyInjection
- tests/DependencyInjection
- Fixtures
- xml
- yml
4 files changed
+30
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
455 | 454 | | |
456 | | - | |
457 | | - | |
| 455 | + | |
| 456 | + | |
458 | 457 | | |
459 | 458 | | |
460 | 459 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
312 | 313 | | |
313 | 314 | | |
314 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
315 | 326 | | |
316 | 327 | | |
317 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments