mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-01-26 07:18:41 +00:00
php cs fixer
This commit is contained in:
parent
1dc7f5d299
commit
2469ba3e1c
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
use Modules\Monitoring\Controller\BackendController;
|
||||
use Modules\Monitoring\Models\PermissionState;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
|
|
@ -25,7 +25,7 @@ $details = '* Uri: `' . \trim($log['path']) . "`\n"
|
|||
. '* Line: `' . \trim($log['line']) . "`\n"
|
||||
. '* Version: `' . \trim($log['version']) . "`\n"
|
||||
. '* OS: `' . \trim($log['os']) . "`\n\n"
|
||||
. "Backtrace: \n\n```\n" . \json_encode($log['backtrace'], JSON_PRETTY_PRINT);
|
||||
. "Backtrace: \n\n```\n" . \json_encode($log['backtrace'], \JSON_PRETTY_PRINT);
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
|
|
@ -81,7 +81,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td colspan="3"><?= $this->getHtml('Backtrace') ?>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<pre><?= $this->printHtml(\json_encode($log['backtrace'], JSON_PRETTY_PRINT)); ?></pre>
|
||||
<pre><?= $this->printHtml(\json_encode($log['backtrace'], \JSON_PRETTY_PRINT)); ?></pre>
|
||||
<tr>
|
||||
<td colspan="3" style="padding-top: 10px"><a class="button" target="_blank"
|
||||
href="https://gitreports.com/issue/Orange-Management/Orange-Management/?name=Guest&issue_title=<?= $this->printHtml(\urlencode($log['message'])); ?>&details=<?= $this->printHtml(\urlencode($details)); ?>"><?= $this->getHtml('Report') ?></a>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1,26 +1,26 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.2
|
||||
*
|
||||
* @package TBD
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://website.orange-management.de
|
||||
*/
|
||||
|
||||
use phpOMS\Message\Http\Request;
|
||||
use phpOMS\Message\Http\Rest;
|
||||
use phpOMS\Uri\Http;
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
*/
|
||||
|
||||
$files = \phpOMS\System\File\Local\Directory(__DIR__ . '/../../../../phpOMS', '^.+\.php$');
|
||||
|
||||
<?php declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.2
|
||||
*
|
||||
* @package TBD
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://website.orange-management.de
|
||||
*/
|
||||
|
||||
use phpOMS\Message\Http\Request;
|
||||
use phpOMS\Message\Http\Rest;
|
||||
use phpOMS\Uri\Http;
|
||||
|
||||
/**
|
||||
* @var \phpOMS\Views\View $this
|
||||
*/
|
||||
|
||||
$files = \phpOMS\System\File\Local\Directory(__DIR__ . '/../../../../phpOMS', '^.+\.php$');
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<div class="row">
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.2
|
||||
*
|
||||
* @package TBD
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://website.orange-management.de
|
||||
*/
|
||||
|
||||
use phpOMS\Message\Http\Request;
|
||||
use phpOMS\Message\Http\Rest;
|
||||
use phpOMS\Security\PhpCode;
|
||||
use phpOMS\System\File\Local\Directory;
|
||||
use phpOMS\System\File\Local\File;
|
||||
use phpOMS\Uri\Http;
|
||||
|
||||
<?php declare(strict_types=1);
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.2
|
||||
*
|
||||
* @package TBD
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://website.orange-management.de
|
||||
*/
|
||||
|
||||
use phpOMS\Message\Http\Request;
|
||||
use phpOMS\Message\Http\Rest;
|
||||
use phpOMS\Security\PhpCode;
|
||||
use phpOMS\System\File\Local\Directory;
|
||||
use phpOMS\System\File\Local\File;
|
||||
use phpOMS\Uri\Http;
|
||||
|
||||
echo $this->getData('nav')->render(); ?>
|
||||
|
||||
<div class="row">
|
||||
|
|
@ -49,8 +49,8 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= $this->getHtml('Modified') ?>
|
||||
<td><?= $this->getHtml('Integrity') ?>
|
||||
<tbody>
|
||||
<?php
|
||||
$files = Directory::listByExtension(__DIR__ . '/../../../../phpOMS/', 'php', 'tests(\/|\\\)');
|
||||
<?php
|
||||
$files = Directory::listByExtension(__DIR__ . '/../../../../phpOMS/', 'php', 'tests(\/|\\\)');
|
||||
foreach ($files as $file) : $content = \file_get_contents(__DIR__ . '/../../../../phpOMS/' . $file); ?>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
@ -59,17 +59,17 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
|
||||
<td><?= File::changed(__DIR__ . '/../../../../phpOMS/' . $file)->format('Y-m-d'); ?>
|
||||
<td>
|
||||
<?= \phpOMS\Security\PhpCode::validateStringIntegrity(
|
||||
$content,
|
||||
Rest::request(
|
||||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
|
||||
)
|
||||
)
|
||||
<?= \phpOMS\Security\PhpCode::validateStringIntegrity(
|
||||
$content,
|
||||
Rest::request(
|
||||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/phpOMS/develop/' . $file)
|
||||
)
|
||||
)
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php
|
||||
$files = Directory::listByExtension(__DIR__ . '/../../../../Model/', 'php', 'tests(\/|\\\)');
|
||||
<?php
|
||||
$files = Directory::listByExtension(__DIR__ . '/../../../../Model/', 'php', 'tests(\/|\\\)');
|
||||
foreach ($files as $file) : $content = \file_get_contents(__DIR__ . '/../../../../Model/' . $file); ?>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
@ -78,17 +78,17 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
|
||||
<td><?= File::changed(__DIR__ . '/../../../../Model/' . $file)->format('Y-m-d'); ?>
|
||||
<td>
|
||||
<?= \phpOMS\Security\PhpCode::validateStringIntegrity(
|
||||
$content,
|
||||
Rest::request(
|
||||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
|
||||
)
|
||||
)
|
||||
<?= \phpOMS\Security\PhpCode::validateStringIntegrity(
|
||||
$content,
|
||||
Rest::request(
|
||||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/Model/develop/' . $file)
|
||||
)
|
||||
)
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php
|
||||
$files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)');
|
||||
<?php
|
||||
$files = Directory::listByExtension(__DIR__ . '/../../../../Modules/', 'php', 'tests(\/|\\\)');
|
||||
foreach ($files as $file) : $content = \file_get_contents(__DIR__ . '/../../../../Modules/' . $file); ?>
|
||||
<tr>
|
||||
<td>
|
||||
|
|
@ -97,13 +97,13 @@ echo $this->getData('nav')->render(); ?>
|
|||
<td><?= PhpCode::hasDeprecatedFunction($content) ? $this->getHtml('NG') : $this->getHtml('OK'); ?>
|
||||
<td><?= File::changed(__DIR__ . '/../../../../Modules/' . $file)->format('Y-m-d'); ?>
|
||||
<td>
|
||||
<?= \phpOMS\Security\PhpCode::validateStringIntegrity(
|
||||
$content,
|
||||
Rest::request(
|
||||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
|
||||
)
|
||||
)
|
||||
<?= \phpOMS\Security\PhpCode::validateStringIntegrity(
|
||||
$content,
|
||||
Rest::request(
|
||||
new Request(
|
||||
new Http('https://raw.githubusercontent.com/Orange-Management/Modules/develop/' . $file)
|
||||
)
|
||||
)
|
||||
) ? $this->getHtml('OK') : $this->getHtml('NG'); ?>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user