Commit 306b82f
[Console] Fix service arguments not resolved when a command is invoked by alias or abbreviation
1 parent ff7ac15 commit 306b82fCopy full SHA for 306b82f
4 files changed
+104-8Lines changed: 104 additions & 8 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/Symfony/Component/Console
- ArgumentResolver/ValueResolver
- Command
- Tests
- Command
- Fixtures
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/Symfony/Component/Console/ArgumentResolver/ValueResolver/ServiceValueResolver.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/ArgumentResolver/ValueResolver/ServiceValueResolver.php+3-1Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
36 | 38 | |
37 | 39 | |
38 | 40 | |
|
Collapse file
src/Symfony/Component/Console/Command/Command.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Command/Command.php+8-7Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
242 | 242 | |
243 | 243 | |
244 | 244 | |
| 245 | + |
| 246 | + |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
245 | 253 | |
246 | 254 | |
247 | 255 | |
| ||
268 | 276 | |
269 | 277 | |
270 | 278 | |
271 | | - |
272 | | - |
273 | | - |
274 | | - |
275 | | - |
276 | | - |
277 | | - |
278 | 279 | |
279 | 280 | |
280 | 281 | |
|
Collapse file
src/Symfony/Component/Console/Tests/Command/InvokableCommandTest.php
Copy file name to clipboardExpand all lines: src/Symfony/Component/Console/Tests/Command/InvokableCommandTest.php+61Lines changed: 61 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
| 19 | + |
19 | 20 | |
20 | 21 | |
21 | 22 | |
| ||
35 | 36 | |
36 | 37 | |
37 | 38 | |
| 39 | + |
38 | 40 | |
39 | 41 | |
40 | 42 | |
41 | 43 | |
| 44 | + |
| 45 | + |
42 | 46 | |
43 | 47 | |
44 | 48 | |
| ||
493 | 497 | |
494 | 498 | |
495 | 499 | |
| 500 | + |
| 501 | + |
| 502 | + |
| 503 | + |
| 504 | + |
| 505 | + |
| 506 | + |
| 507 | + |
| 508 | + |
| 509 | + |
| 510 | + |
| 511 | + |
| 512 | + |
| 513 | + |
| 514 | + |
| 515 | + |
| 516 | + |
| 517 | + |
| 518 | + |
| 519 | + |
| 520 | + |
| 521 | + |
| 522 | + |
| 523 | + |
| 524 | + |
| 525 | + |
| 526 | + |
| 527 | + |
| 528 | + |
| 529 | + |
| 530 | + |
| 531 | + |
| 532 | + |
| 533 | + |
| 534 | + |
| 535 | + |
| 536 | + |
| 537 | + |
| 538 | + |
| 539 | + |
| 540 | + |
| 541 | + |
| 542 | + |
| 543 | + |
| 544 | + |
| 545 | + |
| 546 | + |
| 547 | + |
| 548 | + |
| 549 | + |
| 550 | + |
| 551 | + |
| 552 | + |
| 553 | + |
| 554 | + |
| 555 | + |
| 556 | + |
496 | 557 | |
497 | 558 | |
498 | 559 | |
|
Collapse file
src/Symfony/Component/Console/Tests/Fixtures/InvokableWithServiceArgumentDuringInteractTestCommand.php
Copy file name to clipboard+32Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
0 commit comments