Test fixes
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2024-05-16 02:14:55 +00:00
parent 4c47c96ad2
commit 2d82095783
5 changed files with 6 additions and 8 deletions

View File

@ -161,13 +161,13 @@
"null": false "null": false
}, },
"task_attr_type_required": { "task_attr_type_required": {
"description": "Every task must have this attribute type if set to true.", "comment": "Every task must have this attribute type if set to true.",
"name": "task_attr_type_required", "name": "task_attr_type_required",
"type": "TINYINT(1)", "type": "TINYINT(1)",
"null": false "null": false
}, },
"task_attr_type_pattern": { "task_attr_type_pattern": {
"description": "This is a regex validation pattern.", "comment": "This is a regex validation pattern.",
"name": "task_attr_type_pattern", "name": "task_attr_type_pattern",
"type": "VARCHAR(255)", "type": "VARCHAR(255)",
"null": false "null": false

View File

@ -1,5 +0,0 @@
# Structure
## ER
![ER](Modules/Tasks/Docs/Dev/img/er.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 KiB

View File

@ -418,6 +418,9 @@ final class TaskMapper extends DataMapperFactory
->andWhere(TaskSeenMapper::TABLE . '.task_seen_task', '=', null); ->andWhere(TaskSeenMapper::TABLE . '.task_seen_task', '=', null);
$sth = $query->execute(); $sth = $query->execute();
if ($sth === null) {
return [];
}
$fetched = $sth->fetchAll(\PDO::FETCH_COLUMN); $fetched = $sth->fetchAll(\PDO::FETCH_COLUMN);
if ($fetched === false) { if ($fetched === false) {

View File

@ -12,7 +12,7 @@
}, },
"creator": { "creator": {
"name": "Jingga", "name": "Jingga",
"website": "jingga.app" "website": "https://jingga.app"
}, },
"description": "Tasks module.", "description": "Tasks module.",
"directory": "Tasks", "directory": "Tasks",