Merge branch '2.3' into 2.7

* 2.3:
  disable server:run cmd without Process component
  Suggested Process dependency
This commit is contained in:
Fabien Potencier 2015-12-07 22:53:02 +01:00
commit 52915ede0f
2 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,10 @@ class ServerRunCommand extends ServerCommand
return false;
}
if (!class_exists('Symfony\Component\Process\Process')) {
return false;
}
return parent::isEnabled();
}

View File

@ -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": {