} else {
            echo $translator->trans('process.step.check.phpchanges');
        }
        ?>
                            </li>
                        <?php 
    }
    ?>
                    </ul>
                </div>
            <?php 
}
?>

            <?php 
$requirements = array('mandatory' => $collection->getMandatoryRequirements(), 'php' => $collection->getPhpIniRequirements(), 'oro' => $collection->getOroRequirements(), 'diamante' => $collection->getDiamanteDeskRequirements(), 'cli' => $collection->getCliRequirements(), 'optional' => $collection->getRecommendations());
foreach ($requirements as $type => $requirement) {
    ?>
                <table class="table">
                    <col width="75%" valign="top">
                    <col width="25%" valign="top">
                    <thead>
                    <tr>
                        <th><?php 
    echo $translator->trans('process.step.check.table.' . $type);
    ?>
</th>
                        <th><?php 
    echo $translator->trans('process.step.check.table.check');
    ?>
</th>
 /**
  * @param OutputInterface $output
  *
  * @return $this
  * @throws \RuntimeException
  */
 protected function checkRequirementsStep(OutputInterface $output)
 {
     $output->writeln('<info>Requirements check:</info>');
     if (!class_exists('DiamanteDeskRequirements')) {
         require_once $this->getContainer()->getParameter('kernel.root_dir') . DIRECTORY_SEPARATOR . 'DiamanteDeskRequirements.php';
     }
     $collection = new \DiamanteDeskRequirements();
     $this->renderTable($collection->getMandatoryRequirements(), 'Mandatory requirements', $output);
     $this->renderTable($collection->getPhpIniRequirements(), 'PHP settings', $output);
     $this->renderTable($collection->getOroRequirements(), 'Oro specific requirements', $output);
     $this->renderTable($collection->getDiamanteDeskRequirements(), 'DiamanteDesk requirements', $output);
     $this->renderTable($collection->getRecommendations(), 'Optional recommendations', $output);
     if (count($collection->getFailedRequirements())) {
         throw new \RuntimeException('Some system requirements are not fulfilled. Please check output messages and fix them.');
     }
     $output->writeln('');
     return $this;
 }