From 8e6f0b6c1f31a8b4ef5fb4f6d3bb8a3e7fbadd0d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 12 Sep 2019 19:48:00 +0200 Subject: [PATCH] fix phpcs findings --- Admin/Install/Navigation.php | 20 +++++------ Admin/Installer.php | 18 +++++----- Admin/Status.php | 18 +++++----- Admin/Uninstaller.php | 18 +++++----- Admin/Updater.php | 18 +++++----- Controller/ApiController.php | 42 +++++++++++++---------- Controller/BackendController.php | 42 +++++++++++++++-------- Controller/Controller.php | 30 ++++++++-------- Models/BoardStatus.php | 18 +++++----- Models/CardStatus.php | 18 +++++----- Models/CardType.php | 18 +++++----- Models/KanbanBoard.php | 18 +++++----- Models/KanbanBoardMapper.php | 30 ++++++++-------- Models/KanbanCard.php | 18 +++++----- Models/KanbanCardComment.php | 18 +++++----- Models/KanbanCardCommentMapper.php | 28 +++++++-------- Models/KanbanCardMapper.php | 30 ++++++++-------- Models/KanbanColumn.php | 18 +++++----- Models/KanbanColumnMapper.php | 26 +++++++------- Models/PermissionState.php | 18 +++++----- Theme/Backend/Lang/Navigation.en.lang.php | 10 +++--- Theme/Backend/Lang/en.lang.php | 10 +++--- 22 files changed, 251 insertions(+), 233 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 34494f3..0da6b55 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Admin\Install - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Admin\Install + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DatabasePool; /** * Navigation class. * - * @package Modules\Kanban\Admin\Install - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Admin\Install + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Navigation { @@ -34,7 +34,7 @@ class Navigation * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function install(string $path, DatabasePool $dbPool) : void { diff --git a/Admin/Installer.php b/Admin/Installer.php index 9c0e26e..caa975d 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\InstallerAbstract; /** * Installer class. * - * @package Modules\Kanban\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Installer extends InstallerAbstract { diff --git a/Admin/Status.php b/Admin/Status.php index b9244d1..fae7a6f 100644 --- a/Admin/Status.php +++ b/Admin/Status.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\StatusAbstract; /** * Navigation class. * - * @package Modules\Kanban\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Status extends StatusAbstract { diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index e64baab..baa11b9 100644 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\UninstallerAbstract; /** * Uninstaller class. * - * @package Modules\Kanban\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Uninstaller extends UninstallerAbstract { diff --git a/Admin/Updater.php b/Admin/Updater.php index c19a2ce..fe13481 100644 --- a/Admin/Updater.php +++ b/Admin/Updater.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Module\UpdaterAbstract; /** * Updater class. * - * @package Modules\Kanban\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Updater extends UpdaterAbstract { diff --git a/Controller/ApiController.php b/Controller/ApiController.php index cd6f843..043c33f 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -33,14 +33,16 @@ use phpOMS\Model\Message\FormValidation; /** * Kanban controller class. * - * @package Modules\Kanban - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ApiController extends Controller { /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data @@ -49,7 +51,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiKanbanCardCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -71,7 +73,7 @@ final class ApiController extends Controller * * @return KanbanCard * - * @since 1.0.0 + * @since 1.0.0 */ public function createKanbanCardFromRquest(RequestAbstract $request) : KanbanCard { @@ -95,7 +97,7 @@ final class ApiController extends Controller * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function validateKanbanCardCreate(RequestAbstract $request) : array { @@ -118,6 +120,8 @@ final class ApiController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data @@ -126,7 +130,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiKanbanBoardCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -148,7 +152,7 @@ final class ApiController extends Controller * * @return KanbanBoard * - * @since 1.0.0 + * @since 1.0.0 */ public function createKanbanBoardFromRquest(RequestAbstract $request) : KanbanBoard { @@ -169,7 +173,7 @@ final class ApiController extends Controller * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function validateKanbanBoardCreate(RequestAbstract $request) : array { @@ -187,6 +191,8 @@ final class ApiController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data @@ -195,7 +201,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiKanbanColumnCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -217,7 +223,7 @@ final class ApiController extends Controller * * @return KanbanColumn * - * @since 1.0.0 + * @since 1.0.0 */ public function createKanbanColumnFromRquest(RequestAbstract $request) : KanbanColumn { @@ -236,7 +242,7 @@ final class ApiController extends Controller * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function validateKanbanColumnCreate(RequestAbstract $request) : array { diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 9d84628..dcc4c86 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -30,22 +30,24 @@ use phpOMS\Views\View; /** * Task class. * - * @package Modules\Kanban - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class BackendController extends Controller { /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return void * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function setupStyles(RequestAbstract $request, ResponseAbstract $response, $data = null) : void @@ -56,13 +58,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewKanbanDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -79,13 +83,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewKanbanBoard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -113,13 +119,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewKanbanArchive(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -129,13 +137,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewKanbanBoardCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface @@ -159,13 +169,15 @@ final class BackendController extends Controller } /** + * Routing end-point for application behaviour. + * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response * @param mixed $data Generic data * * @return RenderableInterface * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function viewKanbanCard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface diff --git a/Controller/Controller.php b/Controller/Controller.php index 516af18..07ab726 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Module\WebInterface; /** * Task class. * - * @package Modules\Kanban - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Controller extends ModuleAbstract implements WebInterface { @@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__ . '/../'; @@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = 'Kanban'; @@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1005800000; @@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = []; @@ -71,7 +71,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $dependencies = []; diff --git a/Models/BoardStatus.php b/Models/BoardStatus.php index 1b1f207..1a105b0 100644 --- a/Models/BoardStatus.php +++ b/Models/BoardStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Task status enum. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class BoardStatus extends Enum { diff --git a/Models/CardStatus.php b/Models/CardStatus.php index 0bde0a0..67023e8 100644 --- a/Models/CardStatus.php +++ b/Models/CardStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Task status enum. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class CardStatus extends Enum { diff --git a/Models/CardType.php b/Models/CardType.php index d24be06..024ee13 100644 --- a/Models/CardType.php +++ b/Models/CardType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Area type enum. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class CardType extends Enum { diff --git a/Models/KanbanBoard.php b/Models/KanbanBoard.php index 2ed3bba..51bc310 100644 --- a/Models/KanbanBoard.php +++ b/Models/KanbanBoard.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Kanban\Models; /** * Task class. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class KanbanBoard implements \JsonSerializable { diff --git a/Models/KanbanBoardMapper.php b/Models/KanbanBoardMapper.php index 957d002..4991b82 100644 --- a/Models/KanbanBoardMapper.php +++ b/Models/KanbanBoardMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class KanbanBoardMapper extends DataMapperAbstract { @@ -31,7 +31,7 @@ final class KanbanBoardMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -47,7 +47,7 @@ final class KanbanBoardMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -62,7 +62,7 @@ final class KanbanBoardMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -75,7 +75,7 @@ final class KanbanBoardMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'kanban_board'; @@ -83,7 +83,7 @@ final class KanbanBoardMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'kanban_board_created_at'; @@ -91,7 +91,7 @@ final class KanbanBoardMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'kanban_board_id'; diff --git a/Models/KanbanCard.php b/Models/KanbanCard.php index 9622ce4..80430de 100644 --- a/Models/KanbanCard.php +++ b/Models/KanbanCard.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Kanban\Models; /** * Task class. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class KanbanCard implements \JsonSerializable { diff --git a/Models/KanbanCardComment.php b/Models/KanbanCardComment.php index d24147a..0d5f753 100644 --- a/Models/KanbanCardComment.php +++ b/Models/KanbanCardComment.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Kanban\Models; /** * Task class. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class KanbanCardComment implements \JsonSerializable { diff --git a/Models/KanbanCardCommentMapper.php b/Models/KanbanCardCommentMapper.php index e2c51cf..e8461af 100644 --- a/Models/KanbanCardCommentMapper.php +++ b/Models/KanbanCardCommentMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class KanbanCardCommentMapper extends DataMapperAbstract { @@ -31,7 +31,7 @@ final class KanbanCardCommentMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -45,7 +45,7 @@ final class KanbanCardCommentMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -60,7 +60,7 @@ final class KanbanCardCommentMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'kanban_card_comment'; @@ -68,7 +68,7 @@ final class KanbanCardCommentMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'kanban_card_comment_created_at'; @@ -76,7 +76,7 @@ final class KanbanCardCommentMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'kanban_card_comment_id'; diff --git a/Models/KanbanCardMapper.php b/Models/KanbanCardMapper.php index 7eab2d5..1cd5a9c 100644 --- a/Models/KanbanCardMapper.php +++ b/Models/KanbanCardMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class KanbanCardMapper extends DataMapperAbstract { @@ -32,7 +32,7 @@ final class KanbanCardMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -51,7 +51,7 @@ final class KanbanCardMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -64,7 +64,7 @@ final class KanbanCardMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -85,7 +85,7 @@ final class KanbanCardMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'kanban_card'; @@ -93,7 +93,7 @@ final class KanbanCardMapper extends DataMapperAbstract /** * Created at. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = 'kanban_card_created_at'; @@ -101,7 +101,7 @@ final class KanbanCardMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'kanban_card_id'; diff --git a/Models/KanbanColumn.php b/Models/KanbanColumn.php index 166ac32..752f9ba 100644 --- a/Models/KanbanColumn.php +++ b/Models/KanbanColumn.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace Modules\Kanban\Models; /** * Task class. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class KanbanColumn implements \JsonSerializable { diff --git a/Models/KanbanColumnMapper.php b/Models/KanbanColumnMapper.php index 48532b0..e564f37 100644 --- a/Models/KanbanColumnMapper.php +++ b/Models/KanbanColumnMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class KanbanColumnMapper extends DataMapperAbstract { @@ -30,7 +30,7 @@ final class KanbanColumnMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -43,7 +43,7 @@ final class KanbanColumnMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -58,7 +58,7 @@ final class KanbanColumnMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'kanban_column'; @@ -66,7 +66,7 @@ final class KanbanColumnMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'kanban_column_id'; diff --git a/Models/PermissionState.php b/Models/PermissionState.php index f606a21..969f78a 100644 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Kanban\Models - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Kanban\Models + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Permision state enum. * - * @package Modules\Kanban\Models - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Kanban\Models + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PermissionState extends Enum { diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 4e9409e..e4d261b 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ return ['Navigation' => [ 'Archive' => 'Archive', diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 1fece7e..d95aa18 100644 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ return ['Kanban' => [ 'Dashboard' => 'Dashboard',