Commit 7b19f53
committed
bug #60796 [Console] fix backwards-compatibility with overridden add() methods (xabbuh)
This PR was merged into the 7.4 branch.
Discussion
----------
[Console] fix backwards-compatibility with overridden add() methods
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
The current (wrong) behaviour can be observed in the high deps job on the `7.3` branch: https://github.com/symfony/symfony/actions/runs/15662516138/job/44122290781#step:9:9940
The reason for the failure is that the `Application` class in `init()` no longer calls `add()` which is overridden in the extending `Application` class from FrameworkBundle doing the container-based command registration.
Commits
-------
de0b107 fix backwards-compatibility with overridden add() methodsFile tree
2 files changed
+11
-4
lines changed- src/Symfony/Component
- Console
- Runtime
2 files changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
| 1355 | + | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
1355 | 1361 | | |
1356 | | - | |
| 1362 | + | |
1357 | 1363 | | |
1358 | 1364 | | |
1359 | 1365 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
167 | | - | |
| 165 | + | |
| 166 | + | |
168 | 167 | | |
| 168 | + | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
0 commit comments