mirror of
https://github.com/Karaka-Management/oms-Kanban.git
synced 2026-02-07 07:48:41 +00:00
autofixes
This commit is contained in:
parent
460a3ebb20
commit
7180a51235
|
|
@ -27,10 +27,16 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
abstract class CardType extends Enum
|
||||
{
|
||||
public const TEXT = 1; /* Markdown -> Image, links, charts etc */
|
||||
|
||||
public const CALENDAR = 2;
|
||||
|
||||
public const CALENDAR_EVENT = 4;
|
||||
|
||||
public const TASK = 8;
|
||||
|
||||
public const TASK_CHECKLIST = 16;
|
||||
|
||||
public const MEDIA = 32;
|
||||
|
||||
public const SURVEY = 64;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ class KanbanBoard implements \JsonSerializable
|
|||
private int $status = BoardStatus::ACTIVE;
|
||||
|
||||
private int $order = 0;
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ class KanbanCard implements \JsonSerializable
|
|||
private int $status = CardStatus::ACTIVE;
|
||||
|
||||
private int $type = CardType::TEXT;
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ class KanbanCardComment implements \JsonSerializable
|
|||
* @since 1.0.0
|
||||
*/
|
||||
protected int $id = 0;
|
||||
|
||||
/**
|
||||
* Description.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ use phpOMS\Stdlib\Base\Enum;
|
|||
abstract class PermissionState extends Enum
|
||||
{
|
||||
public const BOARD = 1;
|
||||
|
||||
public const CARD = 2;
|
||||
|
||||
public const KANBAN = 3;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ namespace Modules\Kanban\tests\Admin;
|
|||
class AdminTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected const MODULE_NAME = 'Kanban';
|
||||
|
||||
protected const URI_LOAD = 'http://127.0.0.1/en/backend/kanban';
|
||||
|
||||
use \Modules\tests\ModuleTestTrait;
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ use phpOMS\Utils\TestUtils;
|
|||
class ControllerTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected $app = null;
|
||||
|
||||
protected $module = null;
|
||||
|
||||
protected function setUp() : void
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user