Merge branch '2.3' into 2.7
* 2.3: disable server:run cmd without Process component Suggested Process dependency
This commit is contained in:
commit
52915ede0f
@ -34,6 +34,10 @@ class ServerRunCommand extends ServerCommand
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!class_exists('Symfony\Component\Process\Process')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::isEnabled();
|
||||
}
|
||||
|
||||
|
@ -54,6 +54,7 @@
|
||||
"symfony/serializer": "For using the serializer service",
|
||||
"symfony/validator": "For using validation",
|
||||
"symfony/yaml": "For using the debug:config and lint:yaml commands",
|
||||
"symfony/process": "For using the server:run command",
|
||||
"doctrine/cache": "For using alternative cache drivers"
|
||||
},
|
||||
"autoload": {
|
||||
|
Reference in New Issue
Block a user