src/PHPDish/Bundle/CoreBundle/Installer/Checker/RequirementsChecker.php
public function check()
    {
        $table = new Table($this->output);
        $fulfilled = true;
        foreach ($this->requirements as $requirement) {
            $row = [$requirement->getLabel()];
            if ($requirement->isFulfilled()) {
                $row[] = '<info>Yes</info>';
                $fulfilled = $fulfilled && true;
            } elseif ($requirement->isRequired()) {
                $row[] = '<error>Error</error>';
                $fulfilled = $fulfilled && false;
            } else {
                $row[] = '<comment>Warning</comment>';
                $fulfilled = $fulfilled && true;
            }
            $table->addRow($row);
        }
        $table->render();

        return $fulfilled;
    }
public function check()
    {
        $table = new Table($this->output);
        $fulfilled = true;
        foreach ($this->requirements as $requirement) {
            $row = [$requirement->getLabel()];
            if ($requirement->isFulfilled()) {
                $row[] = '<info>Yes</info>';
                $fulfilled = $fulfilled && true;
            } elseif ($requirement->isRequired()) {
                $row[] = '<error>Error</error>';
                $fulfilled = $fulfilled && false;
            } else {
                $row[] = '<comment>Warning</comment>';
                $fulfilled = $fulfilled && true;
            }
            $table->addRow($row);
        }
        $table->render();

        return $fulfilled;
    }
{@inheritdoc}