Resolve backend Qodana critical and high findings (#314)
Resolve recommended-profile Critical and High findings, retain narrow analyzer exceptions, and update the edge-broker WebSocket dependency to a non-vulnerable release.
This commit is contained in:
@@ -8,7 +8,6 @@ class object_property
|
||||
private string $table; // The id of the object in the database
|
||||
private string $column; // The column name of the field in the database table (e.g. id, name, email)
|
||||
private string $type; // The data type of the field in the database table (e.g. int, varchar, text)
|
||||
private bool $required; // Whether the field is required or not
|
||||
private mixed $default; // The default value of the field
|
||||
private mixed $fake_value; // The fake value of the field, used for testing purposes (When the object id is -1)
|
||||
|
||||
@@ -18,7 +17,7 @@ class object_property
|
||||
$this->id = $id;
|
||||
$this->column = $column;
|
||||
$this->type = $type;
|
||||
$this->required = $required;
|
||||
unset($required); // Retained in the constructor for compatibility with existing object definitions.
|
||||
$this->default = $default;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user