Commit c8d9bf0
committed
bug #556 Allow unset of
This PR was merged into the 3.x branch.
Discussion
----------
Allow unset of `excluded_http_codes`
| Q | A
| ------------- | ---
| Branch? | 3.x
| Bug fix? | yes
| New feature? | yes/no
| Deprecations? | yes/no
| Issues | Fix #502
| License | MIT
Removing the `excluded_http_codes` is allowed by `canBeUnset()`
https://github.com/symfony/monolog-bundle/blob/ec54eb1624ae76056ddbeaa68e7db4bfe7ce774b/src/DependencyInjection/Configuration.php#L520-L521
There was an issue with the transformation of the array, as `array_map` is called with `false`.
Commits
-------
7f4ae11 Allow unset of excluded_http_codesexcluded_http_codes (GromNaN)File tree
2 files changed
+43
-0
lines changed- src/DependencyInjection
- tests/DependencyInjection
2 files changed
+43
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| 521 | + | |
| 522 | + | |
521 | 523 | | |
522 | 524 | | |
523 | 525 | | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
524 | 530 | | |
525 | 531 | | |
526 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
77 | 114 | | |
78 | 115 | | |
79 | 116 | | |
| |||
0 commit comments