mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 16:54:08 +01:00
Fixed: Bug (#2127)
`OutputInterface` have next definition, and `$options` is the third parameter of `write`, not second: ``` /** * Writes a message to the output. * * @param string|iterable $messages The message as an iterable of strings or a single string * @param bool $newline Whether to add a newline * @param int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL */ public function write($messages, bool $newline = false, int $options = 0); ```
This commit is contained in:
parent
8293eb931e
commit
945910e7a6
@ -504,7 +504,7 @@ function writeln($message, $options = 0)
|
||||
*/
|
||||
function write($message, $options = 0)
|
||||
{
|
||||
output()->write(parse($message), $options);
|
||||
output()->write(parse($message), false, $options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user