diff --git a/composer.json b/composer.json index 10bf9fb8be..99f1cb0421 100644 --- a/composer.json +++ b/composer.json @@ -93,7 +93,7 @@ "symfony/finder": "^4.4", "symfony/twig-bridge": "^4.4", "tecnickcom/tcpdf": "^6.3", - "vimeo/psalm": "^4.3.1" + "vimeo/psalm": "^4.3.2" }, "extra": { "branch-alias": { diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 7ad2fbd1dd..5752b03353 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -1,5 +1,5 @@ - + (int) $this->id @@ -256,6 +256,9 @@ + + $_POST['db_collation'] + '' @@ -385,8 +388,19 @@ - + + $dbname + + + $dbname + $hostname + $hostname + $hostname $hostname ?? null + $username + $username + $username + $username $username ?? null $username ?? null @@ -637,9 +651,6 @@ - - (int) $_POST['criteriaSearchType'] - $this->criteriaColumnName isset($this->criteriaColumnName) @@ -1137,8 +1148,7 @@ $additional_sql[$i] - - (int) (mb_ord($name[$char_pos]) - 64) + (string) $cell (string) $cell (string) $cell @@ -1573,12 +1583,15 @@ $cell_attrs $text - - $attr['number-columns-repeated'] - $attr['number-columns-repeated'] - $tbl_attr['name'] - $tbl_attr['name'] - + + $attr + $attr + $tbl_attr + $tbl_attr + + + $xml->children('office', true)->{'body'} + @@ -1589,35 +1602,33 @@ - - $attrs['name'] - [] $tables[$i][Import::TBL_NAME] - - $attrs['name'] - $namespaces['pma'] ?? null - - - $attrs['name'] - $db_attr['charset'] - $db_attr['collation'] - $db_attr['name'] - $db_attr['name'] - $row_attr['name'] - $row_attr['name'] - $tbl_attr['name'] - $tbl_attr['name'] - $tbl_attr['name'] - + + attributes + attributes + $db_name === null $db_name === null + + $attrs + $db_attr + $db_attr + $db_attr + $db_attr + $row_attr + $row_attr + $tbl_attr + $tbl_attr + $tbl_attr + + @@ -2102,9 +2113,6 @@ setXScale setXyScale - - $sameWideWidth - $this->diagram->customLinks $this->diagram->customLinks @@ -2318,10 +2326,6 @@ mb_strrpos($currentUser, '@') - - strtok('()') - strtok('()') -