src/Task/TaskRunner.php
public function listTasks($ostr = STDOUT)
    {
        $this->findTasks();
        if (count($this->task_list) === 0)
        {
			// @codeCoverageIgnoreStart
            fprintf($ostr, "No tasks available\n");
			// @codeCoverageIgnoreEnd
        }
        else
        {
            fprintf($ostr, "Listing available tasks: \n");

            foreach ($this->task_list as $task => $desc)
            {
                $task = str_replace('\\', ':', $task);
                fprintf($ostr, "- %-30s", $task);
                CLI::formatText(32, CLI::MAX_LINE_LENGTH, ' ' . $desc, $ostr);
            }
            printf("\n");
        }
    }
public function listTasks($ostr = STDOUT)
    {
        $this->findTasks();
        if (count($this->task_list) === 0)
        {
			// @codeCoverageIgnoreStart
            fprintf($ostr, "No tasks available\n");
			// @codeCoverageIgnoreEnd
        }
        else
        {
            fprintf($ostr, "Listing available tasks: \n");

            foreach ($this->task_list as $task => $desc)
            {
                $task = str_replace('\\', ':', $task);
                fprintf($ostr, "- %-30s", $task);
                CLI::formatText(32, CLI::MAX_LINE_LENGTH, ' ' . $desc, $ostr);
            }
            printf("\n");
        }
    }
List the registered tasks
@param $ostr resource The output stream to write to. Defaults to STDOUT