Remove ContainerAwareCommand from commands

And use DI to retrieve services in commands (except for `RedisWorkerCommand` where the container is injected, hard to find a better way, at least for now).
This commit is contained in:
Jeremy Benoist
2022-12-15 20:57:02 +01:00
parent 9c16dd7bd1
commit 5832482a10
14 changed files with 290 additions and 169 deletions

12
composer.lock generated
View File

@ -7788,16 +7788,16 @@
},
{
"name": "phpstan/phpdoc-parser",
"version": "1.15.0",
"version": "1.15.2",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpdoc-parser.git",
"reference": "6ff970a7101acfe99b3048e4bbfbc094e55c5b04"
"reference": "5941477f100993652218928039d530b75a13a9ca"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6ff970a7101acfe99b3048e4bbfbc094e55c5b04",
"reference": "6ff970a7101acfe99b3048e4bbfbc094e55c5b04",
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/5941477f100993652218928039d530b75a13a9ca",
"reference": "5941477f100993652218928039d530b75a13a9ca",
"shasum": ""
},
"require": {
@ -7827,9 +7827,9 @@
"description": "PHPDoc parser with support for nullable, intersection and generic types",
"support": {
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.15.0"
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.15.2"
},
"time": "2022-12-07T16:12:39+00:00"
"time": "2022-12-16T06:42:48+00:00"
},
{
"name": "phpzip/phpzip",