From 8fa2e36f5c71833a9d53e05d5a084b76983ed0ab Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 23 Feb 2021 16:53:23 +0100 Subject: [PATCH] Update baselines Signed-off-by: William Desportes --- phpstan-baseline.neon | 5 ----- psalm-baseline.xml | 34 ++++++++++++++++++++-------------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 49fc4bff67..1cfc2aa806 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1830,11 +1830,6 @@ parameters: count: 4 path: libraries/classes/Plugins/Schema/Svg/TableStatsSvg.php - - - message: "#^Cannot access property \\$type on stdClass\\|null\\.$#" - count: 1 - path: libraries/classes/Plugins/Transformations/Abs/DateFormatTransformationsPlugin.php - - message: "#^Binary operation \"\\-\\=\" between int\\<0, max\\>\\|string\\|false and int results in an error\\.$#" count: 1 diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 66c11ed458..43b7b348da 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -485,6 +485,9 @@ $this->dbi->fetchSingleRow($sql_query) + + (int) $fields_meta[$i]->length + @@ -538,6 +541,9 @@ $dataLabel $key + + (int) $fields_meta[$i]->length + @@ -682,15 +688,11 @@ - - array|bool - string|false - $mysqli->connect_errno $mysqli->connect_error - + $mysqli $mysqli $mysqli @@ -714,7 +716,6 @@ $result $result $result - $result $databaseName @@ -808,6 +809,14 @@ (string) '1' (string) '1' + + (int) $meta->length + (string) $fields_meta->name + (string) $fields_meta->name + (string) $fields_meta->name + (string) $fields_meta[$i]->name + (string) $fields_meta[$i]->name + $column === null $column === null @@ -1487,7 +1496,8 @@ $view_alias $view_alias - + + (int) $fields_meta[$j]->length (string) $create_query (string) $table @@ -2206,9 +2216,6 @@ $timestamp - - $meta->type - (string) $buffer (string) $buffer @@ -2416,9 +2423,7 @@ save - - $fields_meta - $fields_meta + $result $result $result @@ -2693,7 +2698,8 @@ (string) strftime($string) - + + (int) $meta->length (int) $timestamp (int) $timestamp (int) $timestamp