update settings

This commit is contained in:
Dennis Eichhorn 2022-05-01 22:07:53 +02:00
parent 75a9c9738a
commit 5ec0bb35ae
2 changed files with 7 additions and 3 deletions

View File

@ -14,7 +14,7 @@ declare(strict_types=1);
namespace Modules\Monitoring\Controller;
use Model\SettingsEnum;
use Modules\Admin\Models\SettingsEnum;
use Modules\Admin\Models\AccountMapper;
use phpOMS\Contract\RenderableInterface;
use phpOMS\Message\Mail\Email;

View File

@ -66,6 +66,7 @@ echo $this->getData('nav')->render(); ?>
<div class="col-xs-12">
<div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Inspection'); ?><i class="fa fa-download floatRight download btn"></i></div>
<div class="slider">
<table id="fileList" class="default">
<thead>
<tr>
@ -171,8 +172,10 @@ echo $this->getData('nav')->render(); ?>
<td><?= $integrity ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
<?php endforeach; ?>
<?php
$files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)');
foreach ($files as $file) : $content = \file_get_contents(__DIR__ . '/../../../../Modules/' . $file); ?>
$files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)');
foreach ($files as $file) :
$content = \file_get_contents(__DIR__ . '/../../../../Modules/' . $file);
?>
<tr>
<td><?= ($unicode = PhpCode::hasUnicode($content)) || ($deprecated = PhpCode::hasDeprecatedFunction($content)) || !($integrity = PhpCode::validateFileIntegrity(
__DIR__ . '/../../../../Modules/' . $file,
@ -185,6 +188,7 @@ echo $this->getData('nav')->render(); ?>
<td><?= $integrity ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
<?php endforeach; ?>
</table>
</div>
</div>
</div>
</div>