Commit a1564e2
committed
minor #10219 [Console] Replace useless usage of ContainerAwareCommand (gregurco)
This PR was merged into the 4.1 branch.
Discussion
----------
[Console] Replace useless usage of ContainerAwareCommand
Hello.
Since SF 4.0 there is no need to use `ContainerAwareCommand` and injection through constructor. I removed usage of `ContainerAwareCommand` and added call of parent `constructor` because there is an error without it:
```
[WARNING] Some commands could not be registered:
Command class "App\Command\CommandName" is not correctly initialized. You probably forgot to call the parent constructor.
```
Commits
-------
0d1696c [Console] Replace useless usage of ContainerAwareCommand1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
0 commit comments