mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-29 20:53:30 +00:00
[Web] Update composer libraries
This commit is contained in:
1297 files changed
+71585
-24460
No files matched your search
@@ -58,7 +58,15 @@ interface InvokedProcess
|
||||
* Wait for the process to finish.
|
||||
*
|
||||
* @param callable|null $output
|
||||
* @return \Illuminate\Console\Process\ProcessResult
|
||||
* @return \Illuminate\Process\ProcessResult
|
||||
*/
|
||||
public function wait(callable $output = null);
|
||||
public function wait(?callable $output = null);
|
||||
|
||||
/**
|
||||
* Wait until the given callback returns true.
|
||||
*
|
||||
* @param callable|null $output
|
||||
* @return \Illuminate\Process\ProcessResult
|
||||
*/
|
||||
public function waitUntil(?callable $output = null);
|
||||
}
|
||||
@@ -39,6 +39,14 @@ interface ProcessResult
|
||||
*/
|
||||
public function output();
|
||||
|
||||
/**
|
||||
* Determine if the output contains the given string.
|
||||
*
|
||||
* @param string $output
|
||||
* @return bool
|
||||
*/
|
||||
public function seeInOutput(string $output);
|
||||
|
||||
/**
|
||||
* Get the error output of the process.
|
||||
*
|
||||
@@ -46,13 +54,21 @@ interface ProcessResult
|
||||
*/
|
||||
public function errorOutput();
|
||||
|
||||
/**
|
||||
* Determine if the error output contains the given string.
|
||||
*
|
||||
* @param string $output
|
||||
* @return bool
|
||||
*/
|
||||
public function seeInErrorOutput(string $output);
|
||||
|
||||
/**
|
||||
* Throw an exception if the process failed.
|
||||
*
|
||||
* @param callable|null $callback
|
||||
* @return $this
|
||||
*/
|
||||
public function throw(callable $callback = null);
|
||||
public function throw(?callable $callback = null);
|
||||
|
||||
/**
|
||||
* Throw an exception if the process failed and the given condition is true.
|
||||
@@ -61,5 +77,5 @@ interface ProcessResult
|
||||
* @param callable|null $callback
|
||||
* @return $this
|
||||
*/
|
||||
public function throwIf(bool $condition, callable $callback = null);
|
||||
public function throwIf(bool $condition, ?callable $callback = null);
|
||||
}
|
||||
Reference in new issue
Block a user