for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace App\UI;
final class NullUserInterface implements UserInterface
{
/** @var bool */
private $dryRun;
/**
* @param bool $dryRun
*/
public function __construct(bool $dryRun)
$this->dryRun = $dryRun;
}
* {@inheritdoc}
public function isInteractive(): bool
return false;
* @return bool
public function isDryRun(): bool
return $this->dryRun;
public function write($messages, bool $newLine = false): void
public function writeln($messages, int $options = 0): void
public function listing(array $messages, int $indentation = 0): void
public function forceOutput(callable $callable): void
public function indent(int $indentation = 1, int $characters = 2, string $character = ' '): string
return '';
public function confirm(bool $confirmationDefault = true): bool
return true;
public function logError(string $error, array &$errors): void
public function displayErrors(array $errors, string $process, string $type = 'error', int $indentation = 0): void