php cs fixer

This commit is contained in:
Dennis Eichhorn 2019-04-27 12:05:33 +02:00
parent 0b7e65d98d
commit ee4557caf7
9 changed files with 9 additions and 11 deletions

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
use Modules\Workflow\Controller\BackendController;
use Modules\Workflow\Models\PermissionState;

View File

@ -15,7 +15,6 @@ declare(strict_types=1);
namespace Modules\Workflow\Templates\Permission;
use Modules\Workflow\Models\WorkflowInterface;
use Modules\Workflow\Templates\Permission\States;
use phpOMS\DataStorage\Database\Connection\ConnectionAbstract;
/**

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* Orange Management
*

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* Orange Management
*

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* Orange Management
*

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* Orange Management
*
@ -37,7 +37,7 @@ echo $this->getData('nav')->render(); ?>
elseif ($workflow->getStatus() === \Modules\Workflow\Models\WorkflowStatus::OPEN) { $color = 'darkblue'; }
elseif ($workflow->getStatus() === \Modules\Workflow\Models\WorkflowStatus::WORKING) { $color = 'purple'; }
elseif ($workflow->getStatus() === \Modules\Workflow\Models\WorkflowStatus::CANCELED) { $color = 'red'; }
elseif ($workflow->getStatus() === \Modules\Workflow\Models\WorkflowStatus::SUSPENDED) { $color = 'yellow'; } ;?>
elseif ($workflow->getStatus() === \Modules\Workflow\Models\WorkflowStatus::SUSPENDED) { $color = 'yellow'; } ?>
<tr>
<td data-label="<?= $this->getHtml('Status') ?>"><a href="<?= $url; ?>"><span class="tag <?= $this->printHtml($color); ?>"><?= $this->getHtml('S' . $workflow->getStatus()) ?></span></a>
<td data-label="<?= $this->getHtml('Next') ?>"><a href="<?= $url; ?>"><?= $this->printHtml($workflow->getDue()->format('Y-m-d H:i')); ?></a>

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* Orange Management
*

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* Orange Management
*

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* Orange Management
*
@ -16,4 +16,3 @@
*/
$tasks = $this->getData('tasks');
echo $this->getData('nav')->render();