Commit 5c557f6
committed
bug #62562 [Console] don't discard existing aliases when constructing Command (henderkes)
This PR was squashed before being merged into the 7.4 branch.
Discussion
----------
[Console] don't discard existing aliases when constructing Command
| Q | A
| ------------- | ---
| Branch? | 7.4
| Bug fix? | yes
| New feature? no
| Deprecations? | no
| Issues | Fix #62557
| License | MIT
<!--
🛠️ Replace this text with a concise explanation of your change:
- What it does and why it's needed
- A simple example of how it works (include PHP, YAML, etc.)
- If it modifies existing behavior, include a before/after comparison
The code in #62557 was broken by 5e7cd96. Here I combine the new aliases found by pipes in the string with existing ones that may have previously been set.
-->
Contributor guidelines:
- [x] Add tests and ensure they pass
- [x] Bug fixes must target the **lowest maintained** branch where they apply
https://symfony.com/releases#maintained-symfony-branches
- [x] New features and deprecations must target the **feature** branch
and must add an entry to the changelog file of the patched component:
https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
- [x] Do not break backward compatibility:
https://symfony.com/bc
Commits
-------
917d8d0c129 [Console] don't discard existing aliases when constructing Command2 files changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
208 | 221 | | |
209 | 222 | | |
210 | 223 | | |
| |||
0 commit comments