From 72231847058f5b25d4ed1ee37a2fbd98c7b5f6c8 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Thu, 19 Nov 2020 09:57:23 +0100 Subject: [PATCH] Update phpstan baseline Signed-off-by: William Desportes --- phpstan-baseline.neon | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ace5573119..9a50a7bcde 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1350,11 +1350,6 @@ parameters: count: 3 path: libraries/classes/Plugins/Schema/Eps/EpsRelationSchema.php - - - message: "#^Parameter \\#5 \\$fontSize of class PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\TableStatsEps constructor expects int, current\\|int\\|string given\\.$#" - count: 1 - path: libraries/classes/Plugins/Schema/Eps/EpsRelationSchema.php - - message: "#^Cannot call method getFont\\(\\) on PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\Dia\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\Eps\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg\\|null\\.$#" count: 3 @@ -1365,6 +1360,11 @@ parameters: count: 3 path: libraries/classes/Plugins/Schema/Eps/EpsRelationSchema.php + - + message: "#^Parameter \\#5 \\$fontSize of class PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\TableStatsEps constructor expects int, current\\|int\\|string given\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Eps/EpsRelationSchema.php + - message: "#^Parameter \\#3 \\$fontSize of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\EpsRelationSchema\\:\\:addRelation\\(\\) expects int, current\\|int\\|string given\\.$#" count: 2 @@ -1705,11 +1705,6 @@ parameters: count: 3 path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php - - - message: "#^Parameter \\#5 \\$fontSize of class PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\TableStatsSvg constructor expects int, current\\|int\\|string given\\.$#" - count: 1 - path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php - - message: "#^Cannot call method getFont\\(\\) on PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\Dia\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\Eps\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg\\|null\\.$#" count: 3 @@ -1720,6 +1715,11 @@ parameters: count: 3 path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php + - + message: "#^Parameter \\#5 \\$fontSize of class PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\TableStatsSvg constructor expects int, current\\|int\\|string given\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php + - message: "#^Parameter \\#1 \\$table of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\SvgRelationSchema\\:\\:setMinMax\\(\\) expects PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\TableStatsSvg, PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\TableStatsDia\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\TableStatsEps\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\TableStatsPdf\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\TableStatsSvg given\\.$#" count: 3 @@ -2000,6 +2000,11 @@ parameters: count: 1 path: libraries/classes/Sql.php + - + message: "#^Parameter \\#7 \\$num_rows of method PhpMyAdmin\\\\Display\\\\Results\\:\\:setProperties\\(\\) expects int, int\\<1, max\\>\\|string given\\.$#" + count: 1 + path: libraries/classes/Sql.php + - message: "#^Parameter \\#15 \\$showtable of method PhpMyAdmin\\\\Display\\\\Results\\:\\:setProperties\\(\\) expects array, bool given\\.$#" count: 2 @@ -2010,11 +2015,6 @@ parameters: count: 2 path: libraries/classes/Sql.php - - - message: "#^Parameter \\#7 \\$num_rows of method PhpMyAdmin\\\\Display\\\\Results\\:\\:setProperties\\(\\) expects int, int\\<1, max\\>\\|string given\\.$#" - count: 1 - path: libraries/classes/Sql.php - - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\Sql\\:\\:getResponseForGridEdit\\(\\) expects object, object\\|null given\\.$#" count: 1