Update to Drupal 8.0-dev-2015-11-17. Commits through da81cd220, Tue Nov 17 15:53:49 2015 +0000, Issue #2617224 by Wim Leers: Move around/fix some documentation.
This commit is contained in:
parent
4afb23bbd3
commit
7784f4c23d
929 changed files with 19798 additions and 5304 deletions
vendor/symfony/process
28
vendor/symfony/process/Process.php
vendored
28
vendor/symfony/process/Process.php
vendored
|
@ -26,8 +26,6 @@ use Symfony\Component\Process\Pipes\WindowsPipes;
|
|||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Romain Neutron <imprec@gmail.com>
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
class Process
|
||||
{
|
||||
|
@ -133,14 +131,12 @@ class Process
|
|||
*
|
||||
* @param string $commandline The command line to run
|
||||
* @param string|null $cwd The working directory or null to use the working dir of the current PHP process
|
||||
* @param array|null $env The environment variables or null to inherit
|
||||
* @param array|null $env The environment variables or null to use the same environment as the current PHP process
|
||||
* @param string|null $input The input
|
||||
* @param int|float|null $timeout The timeout in seconds or null to disable
|
||||
* @param array $options An array of options for proc_open
|
||||
*
|
||||
* @throws RuntimeException When proc_open is not installed
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function __construct($commandline, $cwd = null, array $env = null, $input = null, $timeout = 60, array $options = array())
|
||||
{
|
||||
|
@ -200,8 +196,6 @@ class Process
|
|||
* @throws RuntimeException When process can't be launched
|
||||
* @throws RuntimeException When process stopped after receiving signal
|
||||
* @throws LogicException In case a callback is provided and output has been disabled
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function run($callback = null)
|
||||
{
|
||||
|
@ -463,8 +457,6 @@ class Process
|
|||
*
|
||||
* @throws LogicException in case the output has been disabled
|
||||
* @throws LogicException In case the process is not started
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getOutput()
|
||||
{
|
||||
|
@ -527,8 +519,6 @@ class Process
|
|||
*
|
||||
* @throws LogicException in case the output has been disabled
|
||||
* @throws LogicException In case the process is not started
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getErrorOutput()
|
||||
{
|
||||
|
@ -591,8 +581,6 @@ class Process
|
|||
* @return null|int The exit status code, null if the Process is not terminated
|
||||
*
|
||||
* @throws RuntimeException In case --enable-sigchild is activated and the sigchild compatibility mode is disabled
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getExitCode()
|
||||
{
|
||||
|
@ -631,8 +619,6 @@ class Process
|
|||
* Checks if the process ended successfully.
|
||||
*
|
||||
* @return bool true if the process ended successfully, false otherwise
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function isSuccessful()
|
||||
{
|
||||
|
@ -648,8 +634,6 @@ class Process
|
|||
*
|
||||
* @throws RuntimeException In case --enable-sigchild is activated
|
||||
* @throws LogicException In case the process is not terminated
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function hasBeenSignaled()
|
||||
{
|
||||
|
@ -673,8 +657,6 @@ class Process
|
|||
*
|
||||
* @throws RuntimeException In case --enable-sigchild is activated
|
||||
* @throws LogicException In case the process is not terminated
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getTermSignal()
|
||||
{
|
||||
|
@ -697,8 +679,6 @@ class Process
|
|||
* @return bool
|
||||
*
|
||||
* @throws LogicException In case the process is not terminated
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function hasBeenStopped()
|
||||
{
|
||||
|
@ -717,8 +697,6 @@ class Process
|
|||
* @return int
|
||||
*
|
||||
* @throws LogicException In case the process is not terminated
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getStopSignal()
|
||||
{
|
||||
|
@ -1052,7 +1030,7 @@ class Process
|
|||
|
||||
$this->env = array();
|
||||
foreach ($env as $key => $value) {
|
||||
$this->env[(binary) $key] = (binary) $value;
|
||||
$this->env[$key] = (string) $value;
|
||||
}
|
||||
|
||||
return $this;
|
||||
|
@ -1292,7 +1270,7 @@ class Process
|
|||
*
|
||||
* @param callable|null $callback The user defined PHP callback
|
||||
*
|
||||
* @return callable A PHP callable
|
||||
* @return \Closure A PHP closure
|
||||
*/
|
||||
protected function buildCallback($callback)
|
||||
{
|
||||
|
|
Reference in a new issue