Commit b0d77ad
committed
bug #62347 [OptionsResolver] Ensure remove() also unsets deprecation status (yoeunes)
This PR was merged into the 6.4 branch.
Discussion
----------
[OptionsResolver] Ensure remove() also unsets deprecation status
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
This ensures `remove()` fully clears an option, including any deprecation, allowing clean overrides in child configs (as suggested by `@yceruto` in #62345).
Commits
-------
5ffa260 [OptionsResolver] Ensure remove() also unsets deprecation statusFile tree
2 files changed
+30
-1
lines changed- src/Symfony/Component/OptionsResolver
- Tests
2 files changed
+30
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
| 806 | + | |
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| |||
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2566 | 2566 | | |
2567 | 2567 | | |
2568 | 2568 | | |
| 2569 | + | |
| 2570 | + | |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
| 2580 | + | |
| 2581 | + | |
| 2582 | + | |
| 2583 | + | |
| 2584 | + | |
| 2585 | + | |
| 2586 | + | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
| 2594 | + | |
| 2595 | + | |
| 2596 | + | |
| 2597 | + | |
2569 | 2598 | | |
0 commit comments