diff --git a/Admin/Install/db.json b/Admin/Install/db.json index 27ea992..081bf82 100755 --- a/Admin/Install/db.json +++ b/Admin/Install/db.json @@ -138,6 +138,12 @@ "default": null, "null": true }, + "kanban_card_style": { + "name": "kanban_card_style", + "type": "TEXT", + "null": true, + "default": null + }, "kanban_card_type": { "name": "kanban_card_type", "type": "TINYINT", diff --git a/Models/KanbanCard.php b/Models/KanbanCard.php index 0f29af6..d20bee0 100755 --- a/Models/KanbanCard.php +++ b/Models/KanbanCard.php @@ -52,6 +52,8 @@ class KanbanCard implements \JsonSerializable public string $color = ''; + public string $style = ''; + /** * Description. * diff --git a/Models/KanbanCardMapper.php b/Models/KanbanCardMapper.php index 74f60c8..140597e 100755 --- a/Models/KanbanCardMapper.php +++ b/Models/KanbanCardMapper.php @@ -40,6 +40,7 @@ final class KanbanCardMapper extends DataMapperAbstract 'kanban_card_name' => ['name' => 'kanban_card_name', 'type' => 'string', 'internal' => 'name'], 'kanban_card_description' => ['name' => 'kanban_card_description', 'type' => 'string', 'internal' => 'description'], 'kanban_card_descriptionraw' => ['name' => 'kanban_card_descriptionraw', 'type' => 'string', 'internal' => 'descriptionRaw'], + 'kanban_card_style' => ['name' => 'kanban_card_style', 'type' => 'string', 'internal' => 'style'], 'kanban_card_type' => ['name' => 'kanban_card_type', 'type' => 'int', 'internal' => 'type'], 'kanban_card_status' => ['name' => 'kanban_card_status', 'type' => 'int', 'internal' => 'status'], 'kanban_card_order' => ['name' => 'kanban_card_order', 'type' => 'int', 'internal' => 'order'], diff --git a/composer.json b/composer.json index 7ad134b..7cf5769 100755 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require-dev": { "phpunit/phpunit": ">=9.4", "friendsofphp/php-cs-fixer": ">=3.0", - "squizlabs/php_codesniffer": ">=3.5", + "squizlabs/php_codesniffer": ">=3.6", "phpmd/phpmd": ">=2.9", "phpstan/phpstan": ">=0.12.58", "phan/phan": ">=3.2.6"