diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 500a5f73a6..21fa4c41e1 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -5257,7 +5257,7 @@ parameters: - message: "#^Unreachable statement \\- code above always terminates\\.$#" - count: 4 + count: 3 path: test/selenium/TestBase.php - @@ -5275,16 +5275,6 @@ parameters: count: 1 path: test/selenium/TestBase.php - - - message: "#^Parameter \\#1 \\$json of function json_decode expects string, bool\\|string given\\.$#" - count: 1 - path: test/selenium/TestBase.php - - - - message: "#^Else branch is unreachable because previous condition is always true\\.$#" - count: 1 - path: test/selenium/TestBase.php - - message: "#^Parameter \\#1 \\$element of method PhpMyAdmin\\\\Tests\\\\Selenium\\\\TestBase\\:\\:moveto\\(\\) expects Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebElement, Facebook\\\\WebDriver\\\\WebDriverElement given\\.$#" count: 1 diff --git a/psalm-baseline.xml b/psalm-baseline.xml index d6320e0564..251d46bc03 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -513,11 +513,6 @@ $message - - global $what; - global $query_type; - global $mult_btn; - $partitionDetails @@ -543,17 +538,9 @@ $tmp_error $analyzed_sql_results ?? '' - - $row['Key_name'] - $row['Column_name'] + $expressions[$column] - $row['Key_name'] - $row['Column_name'] - - $selected - $selected - $data_size $data_unit @@ -570,12 +557,6 @@ $avg_size $avg_unit - - $result && ! empty($sql_query_views) - - - $what -