php cs fixer

This commit is contained in:
Dennis Eichhorn 2019-04-27 12:05:33 +02:00
parent fb718d5f32
commit 7b1e9cef21
19 changed files with 409 additions and 409 deletions

View File

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

View File

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

View File

@ -1,62 +1,62 @@
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\DepartmentTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class DepartmentTagSelectorPopupView extends View
{
private $id = '';
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/DepartmentTagSelector/department-selector-popup');
}
public function setId(string $id) : void
{
$this->id = $id;
}
public function getId() : string
{
return $this->id;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0] ?? $this->id;
return parent::render();
}
}
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\DepartmentTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class DepartmentTagSelectorPopupView extends View
{
private $id = '';
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/DepartmentTagSelector/department-selector-popup');
}
public function setId(string $id) : void
{
$this->id = $id;
}
public function getId() : string
{
return $this->id;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0] ?? $this->id;
return parent::render();
}
}

View File

@ -1,69 +1,69 @@
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\DepartmentTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class DepartmentTagSelectorView extends View
{
private $id = '';
private $isRequired = false;
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/DepartmentTagSelector/department-selector');
$view = new DepartmentTagSelectorPopupView($app, $request, $response);
$this->addData('department-selector-popup', $view);
}
public function getId() : string
{
return $this->id;
}
public function isRequired() : bool
{
return $this->isRequired;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0];
$this->isRequired = $data[1] ?? false;
$this->getData('department-selector-popup')->setId($this->id);
return parent::render();
}
}
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\DepartmentTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class DepartmentTagSelectorView extends View
{
private $id = '';
private $isRequired = false;
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/DepartmentTagSelector/department-selector');
$view = new DepartmentTagSelectorPopupView($app, $request, $response);
$this->addData('department-selector-popup', $view);
}
public function getId() : string
{
return $this->id;
}
public function isRequired() : bool
{
return $this->isRequired;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0];
$this->isRequired = $data[1] ?? false;
$this->getData('department-selector-popup')->setId($this->id);
return parent::render();
}
}

View File

@ -1,62 +1,62 @@
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\PositionTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class PositionTagSelectorPopupView extends View
{
private $id = '';
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/PositionTagSelector/position-selector-popup');
}
public function setId(string $id) : void
{
$this->id = $id;
}
public function getId() : string
{
return $this->id;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0] ?? $this->id;
return parent::render();
}
}
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\PositionTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class PositionTagSelectorPopupView extends View
{
private $id = '';
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/PositionTagSelector/position-selector-popup');
}
public function setId(string $id) : void
{
$this->id = $id;
}
public function getId() : string
{
return $this->id;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0] ?? $this->id;
return parent::render();
}
}

View File

@ -1,69 +1,69 @@
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\PositionTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class PositionTagSelectorView extends View
{
private $id = '';
private $isRequired = false;
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/PositionTagSelector/position-selector');
$view = new PositionTagSelectorPopupView($app, $request, $response);
$this->addData('position-selector-popup', $view);
}
public function getId() : string
{
return $this->id;
}
public function isRequired() : bool
{
return $this->isRequired;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0];
$this->isRequired = $data[1] ?? false;
$this->getData('position-selector-popup')->setId($this->id);
return parent::render();
}
}
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\PositionTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class PositionTagSelectorView extends View
{
private $id = '';
private $isRequired = false;
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/PositionTagSelector/position-selector');
$view = new PositionTagSelectorPopupView($app, $request, $response);
$this->addData('position-selector-popup', $view);
}
public function getId() : string
{
return $this->id;
}
public function isRequired() : bool
{
return $this->isRequired;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0];
$this->isRequired = $data[1] ?? false;
$this->getData('position-selector-popup')->setId($this->id);
return parent::render();
}
}

View File

@ -1,62 +1,62 @@
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\UnitTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class UnitTagSelectorPopupView extends View
{
private $id = '';
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/UnitTagSelector/unit-selector-popup');
}
public function setId(string $id) : void
{
$this->id = $id;
}
public function getId() : string
{
return $this->id;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0] ?? $this->id;
return parent::render();
}
}
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\UnitTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class UnitTagSelectorPopupView extends View
{
private $id = '';
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/UnitTagSelector/unit-selector-popup');
}
public function setId(string $id) : void
{
$this->id = $id;
}
public function getId() : string
{
return $this->id;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0] ?? $this->id;
return parent::render();
}
}

View File

@ -1,69 +1,69 @@
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\UnitTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class UnitTagSelectorView extends View
{
private $id = '';
private $isRequired = false;
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/UnitTagSelector/unit-selector');
$view = new UnitTagSelectorPopupView($app, $request, $response);
$this->addData('unit-selector-popup', $view);
}
public function getId() : string
{
return $this->id;
}
public function isRequired() : bool
{
return $this->isRequired;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0];
$this->isRequired = $data[1] ?? false;
$this->getData('unit-selector-popup')->setId($this->id);
return parent::render();
}
}
<?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
*/
declare(strict_types=1);
namespace Modules\Organization\Theme\Backend\Components\UnitTagSelector;
use phpOMS\ApplicationAbstract;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract;
use phpOMS\Views\View;
/**
* Component view.
*
* @package TBD
* @license OMS License 1.0
* @link http://website.orange-management.de
* @since 1.0.0
* @codeCoverageIgnore
*/
class UnitTagSelectorView extends View
{
private $id = '';
private $isRequired = false;
/**
* {@inheritdoc}
*/
public function __construct(ApplicationAbstract $app, RequestAbstract $request, ResponseAbstract $response)
{
parent::__construct($app, $request, $response);
$this->setTemplate('/Modules/Organization/Theme/Backend/Components/UnitTagSelector/unit-selector');
$view = new UnitTagSelectorPopupView($app, $request, $response);
$this->addData('unit-selector-popup', $view);
}
public function getId() : string
{
return $this->id;
}
public function isRequired() : bool
{
return $this->isRequired;
}
/**
* {@inheritdoc}
*/
public function render(...$data) : string
{
$this->id = $data[0];
$this->isRequired = $data[1] ?? false;
$this->getData('unit-selector-popup')->setId($this->id);
return parent::render();
}
}

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
*

View File

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* Orange Management
*
@ -11,7 +11,7 @@
* @link http://website.orange-management.de
*/
/**
* @var \phpOMS\Views\View $this
* @var \phpOMS\Views\View $this
* @var \Mouldes\Organization\Models $department;
*/
$department = $this->getData('department');

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
*
@ -11,7 +11,7 @@
* @link http://website.orange-management.de
*/
/**
* @var \phpOMS\Views\View $this
* @var \phpOMS\Views\View $this
* @var \Modules\Organization\Models\Position;
*/
$position = $this->getData('position');

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
*
@ -11,7 +11,7 @@
* @link http://website.orange-management.de
*/
/**
* @var \phpOMS\Views\View $this
* @var \phpOMS\Views\View $this
* @var \Modules\Organization\Models\Unit $unit;
*/
$unit = $this->getData('unit');