From 66a7d2a84c317ecea63fa6df1d046c29f756ed41 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Fri, 17 Jul 2020 23:56:35 +0200 Subject: [PATCH] Update baselines after fixing some tyephints Signed-off-by: William Desportes --- phpstan-baseline.neon | 75 ------------------------------------------- 1 file changed, 75 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 62b9273fc2..dba53d8edc 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -3360,11 +3360,6 @@ parameters: count: 1 path: setup/index.php - - - message: "#^Result of \\|\\| is always true\\.$#" - count: 1 - path: test/classes/AdvisorTest.php - - message: "#^Cannot call method save\\(\\) on PhpMyAdmin\\\\Bookmark\\|false\\.$#" count: 1 @@ -3410,11 +3405,6 @@ parameters: count: 1 path: test/classes/ConfigTest.php - - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with int and bool will always evaluate to false\\.$#" - count: 1 - path: test/classes/CoreTest.php - - message: "#^Offset 'x' does not exist on array\\(\\)\\.$#" count: 1 @@ -3425,36 +3415,16 @@ parameters: count: 1 path: test/classes/CoreTest.php - - - message: "#^Parameter \\#1 \\$expectedCount of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertCount\\(\\) expects int, array given\\.$#" - count: 1 - path: test/classes/Database/EventsTest.php - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Database\\\\QbeTest\\:\\:\\$object has no typehint specified\\.$#" count: 1 path: test/classes/Database/QbeTest.php - - - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, array given\\.$#" - count: 8 - path: test/classes/Database/RoutinesTest.php - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Database\\\\SearchTest\\:\\:\\$object has no typehint specified\\.$#" count: 1 path: test/classes/Database/SearchTest.php - - - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, array given\\.$#" - count: 3 - path: test/classes/Database/TriggersTest.php - - - - message: "#^Parameter \\#1 \\$expectedCount of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertCount\\(\\) expects int, string given\\.$#" - count: 1 - path: test/classes/Database/TriggersTest.php - - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\Dbal\\\\DbiMysqli\\:\\:numRows\\(\\) expects mysqli_result, false given\\.$#" count: 1 @@ -3780,31 +3750,6 @@ parameters: count: 1 path: test/classes/Plugins/Export/Helpers/TablePropertyTest.php - - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Import\\\\ImportLdiTest\\:\\:\\$object has no typehint specified\\.$#" - count: 1 - path: test/classes/Plugins/Import/ImportLdiTest.php - - - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Import\\\\ImportMediawikiTest\\:\\:\\$object has no typehint specified\\.$#" - count: 1 - path: test/classes/Plugins/Import/ImportMediawikiTest.php - - - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Import\\\\ImportOdsTest\\:\\:\\$object has no typehint specified\\.$#" - count: 1 - path: test/classes/Plugins/Import/ImportOdsTest.php - - - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Import\\\\ImportSqlTest\\:\\:\\$object has no typehint specified\\.$#" - count: 1 - path: test/classes/Plugins/Import/ImportSqlTest.php - - - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Import\\\\ImportXmlTest\\:\\:\\$object has no typehint specified\\.$#" - count: 1 - path: test/classes/Plugins/Import/ImportXmlTest.php - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Schema\\\\DiaRelationSchemaTest\\:\\:\\$object has no typehint specified\\.$#" count: 1 @@ -3860,21 +3805,6 @@ parameters: count: 1 path: test/classes/Properties/Options/OptionsPropertyOneItemTest.php - - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Plugins\\\\ExportPluginPropertiesTest\\:\\:\\$object has no typehint specified\\.$#" - count: 1 - path: test/classes/Properties/Plugins/ExportPluginPropertiesTest.php - - - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Plugins\\\\ImportPluginPropertiesTest\\:\\:\\$object has no typehint specified\\.$#" - count: 1 - path: test/classes/Properties/Plugins/ImportPluginPropertiesTest.php - - - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Plugins\\\\PluginPropertyItemTest\\:\\:\\$stub has no typehint specified\\.$#" - count: 1 - path: test/classes/Properties/Plugins/PluginPropertyItemTest.php - - message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\PropertyItemTest\\:\\:\\$stub has no typehint specified\\.$#" count: 1 @@ -3960,11 +3890,6 @@ parameters: count: 1 path: test/classes/ThemeTest.php - - - message: "#^Parameter \\#4 \\$new_state of method PhpMyAdmin\\\\Tests\\\\TrackerTest\\:\\:testChangeTracking\\(\\) expects string, int given\\.$#" - count: 1 - path: test/classes/TrackerTest.php - - message: "#^Parameter \\#2 \\$filter_ts_from of method PhpMyAdmin\\\\Tracking\\:\\:filter\\(\\) expects string, int given\\.$#" count: 1