src/Consumer.php
protected function createProcess(?callable $consumer): Process
    {
        $process = new Process($consumer);

        if ($this->logger) {
            $process->setLogger($this->logger);
        }

        return $process;
    }
protected function createProcess(?callable $consumer): Process
    {
        $process = new Process($consumer);

        if ($this->logger) {
            $process->setLogger($this->logger);
        }

        return $process;
    }
FIXME: remove it when we implement dependency injection

This is a very bad practice, but if we don't create this method
this class will never be testable...

@codeCoverageIgnore