diff --git a/composer.json b/composer.json index bd6a0d7411..06d5d6f9ad 100644 --- a/composer.json +++ b/composer.json @@ -86,8 +86,8 @@ "php-webdriver/webdriver": "^1.8", "phpmyadmin/coding-standard": "^1.0", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.11.19", - "phpstan/phpstan-phpunit": "^0.11.2", + "phpstan/phpstan": "^0.12.13", + "phpstan/phpstan-phpunit": "^0.12.6", "phpunit/phpunit": "^7.5 || ^8.0", "pragmarx/google2fa-qrcode": "^1.0.1", "samyoul/u2f-php-server": "^1.1", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 93aed734ea..bbc89ce68c 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,7 +1,40 @@ - - parameters: ignoreErrors: + - + message: "#^Parameter \\#1 \\$function of function register_shutdown_function expects callable\\(\\)\\: void, Closure\\(\\)\\: mixed given\\.$#" + count: 1 + path: js/messages.php + + - + message: "#^Property PhpMyAdmin\\\\Advisor\\:\\:\\$dbi has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Advisor.php + + - + message: "#^Property PhpMyAdmin\\\\Advisor\\:\\:\\$variables has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Advisor.php + + - + message: "#^Property PhpMyAdmin\\\\Advisor\\:\\:\\$globals has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Advisor.php + + - + message: "#^Property PhpMyAdmin\\\\Advisor\\:\\:\\$parseResult has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Advisor.php + + - + message: "#^Property PhpMyAdmin\\\\Advisor\\:\\:\\$runResult has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Advisor.php + + - + message: "#^Property PhpMyAdmin\\\\Advisor\\:\\:\\$expression has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Advisor.php + - message: "#^Method PhpMyAdmin\\\\Advisor\\:\\:escapePercent\\(\\) should return string but returns string\\|null\\.$#" count: 1 @@ -12,6 +45,16 @@ parameters: count: 1 path: libraries/classes/Advisor.php + - + message: "#^Cannot access offset 'db' on array\\|true\\.$#" + count: 4 + path: libraries/classes/Bookmark.php + + - + message: "#^Cannot access offset 'table' on array\\|true\\.$#" + count: 4 + path: libraries/classes/Bookmark.php + - message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|null given\\.$#" count: 1 @@ -22,6 +65,11 @@ parameters: count: 1 path: libraries/classes/Bookmark.php + - + message: "#^Cannot access offset 'user' on array\\|true\\.$#" + count: 2 + path: libraries/classes/Bookmark.php + - message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:escapeString\\(\\) expects string, string\\|true given\\.$#" count: 1 @@ -42,6 +90,16 @@ parameters: count: 1 path: libraries/classes/BrowseForeigners.php + - + message: "#^Cannot access offset 'db' on array\\|true\\.$#" + count: 8 + path: libraries/classes/CentralColumns.php + + - + message: "#^Cannot access offset 'table' on array\\|true\\.$#" + count: 8 + path: libraries/classes/CentralColumns.php + - message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Message\\:\\:rawError\\(\\) expects string, bool\\|string given\\.$#" count: 2 @@ -58,20 +116,25 @@ parameters: path: libraries/classes/CentralColumns.php - - message: "#^Parameter \\#3 \\$pageNow of static method PhpMyAdmin\\\\Util\\:\\:pageselector\\(\\) expects int, float\\|int given\\.$#" + message: "#^Parameter \\#4 \\$nbTotalPage of static method PhpMyAdmin\\\\Util\\:\\:pageselector\\(\\) expects int, float\\|int\\<2, max\\> given\\.$#" count: 1 path: libraries/classes/CentralColumns.php - - message: "#^Parameter \\#4 \\$nbTotalPage of static method PhpMyAdmin\\\\Util\\:\\:pageselector\\(\\) expects int, float\\|int given\\.$#" - count: 1 - path: libraries/classes/CentralColumns.php + message: "#^Cannot access offset 'Charset' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Charsets.php - message: "#^Parameter \\#1 \\$state of static method PhpMyAdmin\\\\Charsets\\\\Charset\\:\\:fromServer\\(\\) expects array, \\(array\\)\\|true given\\.$#" count: 1 path: libraries/classes/Charsets.php + - + message: "#^Cannot access offset 'Collation' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Charsets.php + - message: "#^Parameter \\#1 \\$state of static method PhpMyAdmin\\\\Charsets\\\\Collation\\:\\:fromServer\\(\\) expects array, \\(array\\)\\|true given\\.$#" count: 1 @@ -82,11 +145,26 @@ parameters: count: 1 path: libraries/classes/Charsets.php + - + message: "#^Cannot access offset 0 on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/CheckUserPrivileges.php + - message: "#^Parameter \\#1 \\$str of function mb_substr expects string, bool\\|string given\\.$#" count: 1 path: libraries/classes/CheckUserPrivileges.php + - + message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$default_source_mtime has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Config.php + + - + message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$set_mtime has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Config.php + - message: "#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|false given\\.$#" count: 1 @@ -97,11 +175,6 @@ parameters: count: 2 path: libraries/classes/Config.php - - - message: "#^Parameter \\#2 \\$start of function substr expects int, float\\|int given\\.$#" - count: 2 - path: libraries/classes/Config.php - - message: "#^Parameter \\#1 \\$character of function ord expects string, string\\|false given\\.$#" count: 2 @@ -122,11 +195,6 @@ parameters: count: 2 path: libraries/classes/Config.php - - - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$settings \\(array\\) does not accept array\\|null\\.$#" - count: 3 - path: libraries/classes/Config.php - - message: "#^Property PhpMyAdmin\\\\Config\\:\\:\\$source_mtime \\(int\\) does not accept int\\|false\\.$#" count: 1 @@ -138,12 +206,7 @@ parameters: path: libraries/classes/Config.php - - message: "#^Offset 'path' does not exist on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" - count: 1 - path: libraries/classes/Config.php - - - - message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, string\\|null given\\.$#" + message: "#^Cannot access offset 'path' on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" count: 1 path: libraries/classes/Config.php @@ -212,6 +275,21 @@ parameters: count: 1 path: libraries/classes/Config/FormDisplay.php + - + message: "#^Offset 'values' does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/Config/FormDisplayTemplate.php + + - + message: "#^Offset 'errors' does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/Config/FormDisplayTemplate.php + + - + message: "#^Property PhpMyAdmin\\\\Config\\\\Forms\\\\BaseFormList\\:\\:\\$all has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Config/Forms/BaseFormList.php + - message: "#^Cannot call static method getFields\\(\\) on string\\|null\\.$#" count: 1 @@ -247,11 +325,6 @@ parameters: count: 1 path: libraries/classes/Config/Validator.php - - - message: "#^Negated boolean expression is always false\\.$#" - count: 1 - path: libraries/classes/Config/Validator.php - - message: "#^Parameter \\#3 \\$passwd of function mysqli_connect expects string, string\\|null given\\.$#" count: 1 @@ -293,7 +366,17 @@ parameters: path: libraries/classes/Controllers/ChangeLogController.php - - message: "#^Cannot assign offset mixed to array\\|bool\\.$#" + message: "#^Cannot access offset 'foreign_table' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Controllers/Database/DataDictionaryController.php + + - + message: "#^Cannot access offset 'foreign_field' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Controllers/Database/DataDictionaryController.php + + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" count: 1 path: libraries/classes/Controllers/Database/DataDictionaryController.php @@ -327,6 +410,11 @@ parameters: count: 1 path: libraries/classes/Controllers/Database/OperationsController.php + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: libraries/classes/Controllers/Database/StructureController.php + - message: "#^Parameter \\#4 \\$formatted_size of method PhpMyAdmin\\\\Controllers\\\\Database\\\\StructureController\\:\\:getValuesForAriaTable\\(\\) expects int, string given\\.$#" count: 1 @@ -337,6 +425,11 @@ parameters: count: 1 path: libraries/classes/Controllers/Database/StructureController.php + - + message: "#^Expression \"null\" on a separate line does not do anything\\.$#" + count: 1 + path: libraries/classes/Controllers/ExportController.php + - message: "#^Parameter \\#2 \\$dump_buffer of method PhpMyAdmin\\\\Export\\:\\:closeFile\\(\\) expects string, array\\|bool\\|string given\\.$#" count: 1 @@ -357,6 +450,11 @@ parameters: count: 2 path: libraries/classes/Controllers/GisDataEditorController.php + - + message: "#^Cannot access offset 'user' on array\\|bool\\.$#" + count: 3 + path: libraries/classes/Controllers/ImportController.php + - message: "#^Parameter \\#1 \\$error_message of method PhpMyAdmin\\\\Import\\:\\:stop\\(\\) expects PhpMyAdmin\\\\Message, PhpMyAdmin\\\\Message\\|null given\\.$#" count: 2 @@ -387,11 +485,26 @@ parameters: count: 1 path: libraries/classes/Controllers/ImportController.php + - + message: "#^Parameter \\#1 \\$file_name of method PhpMyAdmin\\\\UserPreferences\\:\\:redirect\\(\\) expects string, string\\|false given\\.$#" + count: 1 + path: libraries/classes/Controllers/Preferences/ManageController.php + + - + message: "#^Property PhpMyAdmin\\\\Controllers\\\\Server\\\\BinlogController\\:\\:\\$binaryLogs has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Controllers/Server/BinlogController.php + - message: "#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\\.$#" count: 1 path: libraries/classes/Controllers/Server/CollationsController.php + - + message: "#^Offset string does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/Controllers/Server/CollationsController.php + - message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Message\\:\\:rawError\\(\\) expects string, bool\\|string given\\.$#" count: 1 @@ -402,6 +515,11 @@ parameters: count: 1 path: libraries/classes/Controllers/Server/DatabasesController.php + - + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Controllers/Server/PrivilegesController.php + - message: "#^Parameter \\#1 \\$input of function array_keys expects array, \\(array\\)\\|true given\\.$#" count: 1 @@ -422,16 +540,36 @@ parameters: count: 7 path: libraries/classes/Controllers/Server/Status/StatusController.php + - + message: "#^Cannot access offset 0 on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Controllers/Server/VariablesController.php + + - + message: "#^Cannot access offset 1 on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Controllers/Server/VariablesController.php + - message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\|null given\\.$#" count: 2 path: libraries/classes/Controllers/Server/VariablesController.php + - + message: "#^Cannot access offset 1 on array\\|bool\\.$#" + count: 3 + path: libraries/classes/Controllers/Server/VariablesController.php + - message: "#^Strict comparison using \\=\\=\\= between PhpMyAdmin\\\\Config\\\\Forms\\\\BaseForm and null will always evaluate to false\\.$#" count: 1 path: libraries/classes/Controllers/Setup/FormController.php + - + message: "#^Instantiated class PhpMyAdmin\\\\Config\\\\Forms\\\\BaseForm is abstract\\.$#" + count: 1 + path: libraries/classes/Controllers/Setup/FormController.php + - message: "#^Argument of an invalid type array\\|null supplied for foreach, only iterables are supported\\.$#" count: 1 @@ -452,6 +590,11 @@ parameters: count: 1 path: libraries/classes/Controllers/Setup/ServersController.php + - + message: "#^Comparison operation \"\\>\" between 0 and 0 is always false\\.$#" + count: 1 + path: libraries/classes/Controllers/Table/ChangeController.php + - message: "#^Parameter \\#1 \\$content of method PhpMyAdmin\\\\Response\\:\\:addHTML\\(\\) expects string, PhpMyAdmin\\\\Message given\\.$#" count: 1 @@ -478,8 +621,8 @@ parameters: path: libraries/classes/Controllers/Table/GisVisualizationController.php - - message: "#^Cannot assign offset mixed to array\\|true\\.$#" - count: 1 + message: "#^Cannot access offset mixed on array\\|true\\.$#" + count: 4 path: libraries/classes/Controllers/Table/ReplaceController.php - @@ -512,6 +655,11 @@ parameters: count: 1 path: libraries/classes/Controllers/Table/StructureController.php + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Controllers/Table/StructureController.php + - message: "#^Parameter \\#1 \\$string of static method PhpMyAdmin\\\\Message\\:\\:error\\(\\) expects string, string\\|true given\\.$#" count: 1 @@ -532,6 +680,16 @@ parameters: count: 1 path: libraries/classes/Controllers/Table/StructureController.php + - + message: "#^Cannot access offset 'Key_name' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Controllers/Table/StructureController.php + + - + message: "#^Cannot access offset 'Column_name' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Controllers/Table/StructureController.php + - message: "#^Parameter \\#1 \\$str of function mb_strtolower expects string, array\\\\|string given\\.$#" count: 1 @@ -548,10 +706,20 @@ parameters: path: libraries/classes/Controllers/Table/ZoomSearchController.php - - message: "#^Cannot assign offset 'where_clause' to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 'where_clause' on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Controllers/Table/ZoomSearchController.php + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Controllers/TransformationWrapperController.php + + - + message: "#^Cannot access offset mixed on \\(array\\)\\|true\\.$#" + count: 3 + path: libraries/classes/Controllers/TransformationWrapperController.php + - message: "#^Parameter \\#1 \\$im of function imagesx expects resource, resource\\|false given\\.$#" count: 1 @@ -593,7 +761,7 @@ parameters: path: libraries/classes/Controllers/ViewCreateController.php - - message: "#^Cannot assign offset 'ALGORITHM' to array\\|bool\\.$#" + message: "#^Cannot access offset 'ALGORITHM' on array\\|bool\\.$#" count: 1 path: libraries/classes/Controllers/ViewCreateController.php @@ -603,7 +771,7 @@ parameters: path: libraries/classes/Core.php - - message: "#^Parameter \\#2 \\$subject of function preg_match expects string, int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$subject of function preg_match expects string, int\\<1, max\\>\\|int\\\\|string given\\.$#" count: 1 path: libraries/classes/Core.php @@ -618,22 +786,12 @@ parameters: path: libraries/classes/Core.php - - message: "#^Offset 'query' does not exist on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" + message: "#^Cannot access offset 'query' on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" count: 1 path: libraries/classes/Core.php - - message: "#^Parameter \\#1 \\$encoded_string of function parse_str expects string, string\\|null given\\.$#" - count: 1 - path: libraries/classes/Core.php - - - - message: "#^Cannot assign offset 'host' to array\\\\|false\\.$#" - count: 1 - path: libraries/classes/Core.php - - - - message: "#^Cannot assign offset 'pass'\\|'port'\\|'user' to array\\\\|false\\.$#" + message: "#^Cannot access offset 'host' on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" count: 1 path: libraries/classes/Core.php @@ -652,6 +810,16 @@ parameters: count: 1 path: libraries/classes/Database/Designer.php + - + message: "#^Cannot access offset 'page_descr' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Database/Designer.php + + - + message: "#^Cannot access offset 'page_nr' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Database/Designer.php + - message: "#^Parameter \\#1 \\$database of method PhpMyAdmin\\\\DatabaseInterface\\:\\:getTablesFull\\(\\) expects string, null given\\.$#" count: 1 @@ -662,6 +830,26 @@ parameters: count: 1 path: libraries/classes/Database/Designer/Common.php + - + message: "#^Cannot access offset 'Field' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Database/Designer/Common.php + + - + message: "#^Cannot access offset 'Type' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Database/Designer/Common.php + + - + message: "#^Cannot access offset 'Null' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Database/Designer/Common.php + + - + message: "#^Cannot access offset 0 on \\(array\\)\\|true\\.$#" + count: 4 + path: libraries/classes/Database/Designer/Common.php + - message: "#^Offset 'DTN' does not exist on array\\('C_NAME' \\=\\> array\\, \\?'DCN' \\=\\> array\\, \\?'DTN' \\=\\> array\\, \\?'SCN' \\=\\> array\\, \\?'STN' \\=\\> array\\\\)\\.$#" count: 1 @@ -688,12 +876,22 @@ parameters: path: libraries/classes/Database/Designer/Common.php - - message: "#^Cannot assign offset 'constraint' to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 'constraint' on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Database/Designer/Common.php - - message: "#^Cannot assign offset 'constraint' to array\\|bool\\.$#" + message: "#^Cannot access offset 'Column_name' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Database/Designer/Common.php + + - + message: "#^Cannot access offset 'constraint' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Database/Designer/Common.php + + - + message: "#^Cannot access offset 'settings_data' on array\\|true\\.$#" count: 1 path: libraries/classes/Database/Designer/Common.php @@ -727,6 +925,36 @@ parameters: count: 1 path: libraries/classes/DatabaseInterface.php + - + message: "#^Cannot access offset 'Rows' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/DatabaseInterface.php + + - + message: "#^Cannot access offset 'Data_length' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/DatabaseInterface.php + + - + message: "#^Cannot access offset 'Max_data_length' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/DatabaseInterface.php + + - + message: "#^Cannot access offset 'Index_length' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/DatabaseInterface.php + + - + message: "#^Cannot access offset 'Engine' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/DatabaseInterface.php + + - + message: "#^Cannot access offset 'Data_free' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/DatabaseInterface.php + - message: "#^Parameter \\#1 \\$column of method PhpMyAdmin\\\\Index\\:\\:hasColumn\\(\\) expects string, int\\|string given\\.$#" count: 1 @@ -752,6 +980,11 @@ parameters: count: 1 path: libraries/classes/Dbal/DbiMysqli.php + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 2 + path: libraries/classes/Dbal/DbiMysqli.php + - message: "#^Else branch is unreachable because previous condition is always true\\.$#" count: 1 @@ -772,6 +1005,16 @@ parameters: count: 1 path: libraries/classes/Display/ImportAjax.php + - + message: "#^Property PhpMyAdmin\\\\Display\\\\Results\\:\\:\\$_property_array has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Display/Results.php + + - + message: "#^Property PhpMyAdmin\\\\Display\\\\Results\\:\\:\\$transformation_info has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Display/Results.php + - message: "#^Left side of && is always true\\.$#" count: 1 @@ -783,7 +1026,7 @@ parameters: path: libraries/classes/Display/Results.php - - message: "#^Parameter \\#4 \\$nbTotalPage of static method PhpMyAdmin\\\\Util\\:\\:pageselector\\(\\) expects int, float\\|int given\\.$#" + message: "#^Parameter \\#4 \\$nbTotalPage of static method PhpMyAdmin\\\\Util\\:\\:pageselector\\(\\) expects int, float\\|int\\<2, max\\> given\\.$#" count: 1 path: libraries/classes/Display/Results.php @@ -802,6 +1045,16 @@ parameters: count: 1 path: libraries/classes/Display/Results.php + - + message: "#^Cannot access offset int on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Display/Results.php + + - + message: "#^Cannot access offset int on \\(array\\)\\|string\\|true\\.$#" + count: 1 + path: libraries/classes/Display/Results.php + - message: "#^Parameter \\#9 \\$default_function of method PhpMyAdmin\\\\Display\\\\Results\\:\\:_getDataCellForNumericColumns\\(\\) expects string, array\\ given\\.$#" count: 1 @@ -842,6 +1095,11 @@ parameters: count: 3 path: libraries/classes/Display/Results.php + - + message: "#^Method PhpMyAdmin\\\\Display\\\\Results\\:\\:_getOffsets\\(\\) should return array\\ but returns array\\\\.$#" + count: 1 + path: libraries/classes/Display/Results.php + - message: "#^Parameter \\#4 \\$transform_options of method PhpMyAdmin\\\\Display\\\\Results\\:\\:_handleNonPrintableContents\\(\\) expects string, array given\\.$#" count: 2 @@ -877,6 +1135,16 @@ parameters: count: 2 path: libraries/classes/Display/Results.php + - + message: "#^Offset 0 does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/Display/Results.php + + - + message: "#^Offset 1 does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/Display/Results.php + - message: "#^Call to an undefined method object\\:\\:getMIMESubtype\\(\\)\\.$#" count: 1 @@ -897,11 +1165,6 @@ parameters: count: 1 path: libraries/classes/Display/Results.php - - - message: "#^Cannot assign offset int to \\(array\\)\\|string\\|true\\.$#" - count: 1 - path: libraries/classes/Display/Results.php - - message: "#^Method PhpMyAdmin\\\\Encoding\\:\\:convertString\\(\\) should return string but returns string\\|false\\.$#" count: 1 @@ -967,6 +1230,11 @@ parameters: count: 1 path: libraries/classes/Engines/Pbxt.php + - + message: "#^Property PhpMyAdmin\\\\Error\\:\\:\\$hide_location has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Error.php + - message: "#^Elseif branch is unreachable because previous condition is always true\\.$#" count: 1 @@ -982,6 +1250,16 @@ parameters: count: 1 path: libraries/classes/Error.php + - + message: "#^Property PhpMyAdmin\\\\ErrorHandler\\:\\:\\$hide_location has no typehint specified\\.$#" + count: 1 + path: libraries/classes/ErrorHandler.php + + - + message: "#^Property PhpMyAdmin\\\\ErrorHandler\\:\\:\\$error_reporting has no typehint specified\\.$#" + count: 1 + path: libraries/classes/ErrorHandler.php + - message: "#^Parameter \\#1 \\$error_handler of function set_error_handler expects \\(callable\\(int, string, string, int, array\\)\\: bool\\)\\|null, array\\(\\$this\\(PhpMyAdmin\\\\ErrorHandler\\), 'handleError'\\) given\\.$#" count: 1 @@ -1003,22 +1281,17 @@ parameters: path: libraries/classes/ErrorReport.php - - message: "#^Cannot assign offset 'fragment' to array\\\\|false\\.$#" + message: "#^Cannot access offset 'fragment' on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" count: 1 path: libraries/classes/ErrorReport.php - - message: "#^Offset 'path' does not exist on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" + message: "#^Cannot access offset 'path' on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" count: 1 path: libraries/classes/ErrorReport.php - - message: "#^Parameter \\#2 \\$subject of function preg_match expects string, string\\|null given\\.$#" - count: 1 - path: libraries/classes/ErrorReport.php - - - - message: "#^Cannot assign offset 'query' to array\\\\|false\\.$#" + message: "#^Cannot access offset 'query' on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" count: 1 path: libraries/classes/ErrorReport.php @@ -1207,6 +1480,11 @@ parameters: count: 1 path: libraries/classes/File.php + - + message: "#^Offset 0 does not exist on array\\|null\\.$#" + count: 2 + path: libraries/classes/Font.php + - message: "#^Parameter \\#1 \\$str of function mb_strlen expects string, string\\|null given\\.$#" count: 1 @@ -1232,11 +1510,26 @@ parameters: count: 1 path: libraries/classes/Footer.php + - + message: "#^Negated boolean expression is always true\\.$#" + count: 2 + path: libraries/classes/Footer.php + + - + message: "#^Property PhpMyAdmin\\\\Gis\\\\GisGeometryCollection\\:\\:\\$_instance has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Gis/GisGeometryCollection.php + - message: "#^Negated boolean expression is always false\\.$#" count: 1 path: libraries/classes/Gis/GisGeometryCollection.php + - + message: "#^Property PhpMyAdmin\\\\Gis\\\\GisLineString\\:\\:\\$_instance has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Gis/GisLineString.php + - message: "#^Parameter \\#2 \\$red of function imagecolorallocate expects int, float\\|int given\\.$#" count: 1 @@ -1262,6 +1555,11 @@ parameters: count: 1 path: libraries/classes/Gis/GisLineString.php + - + message: "#^Property PhpMyAdmin\\\\Gis\\\\GisMultiLineString\\:\\:\\$_instance has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Gis/GisMultiLineString.php + - message: "#^Parameter \\#2 \\$red of function imagecolorallocate expects int, float\\|int given\\.$#" count: 1 @@ -1287,6 +1585,11 @@ parameters: count: 1 path: libraries/classes/Gis/GisMultiLineString.php + - + message: "#^Property PhpMyAdmin\\\\Gis\\\\GisMultiPoint\\:\\:\\$_instance has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Gis/GisMultiPoint.php + - message: "#^Parameter \\#2 \\$red of function imagecolorallocate expects int, float\\|int given\\.$#" count: 1 @@ -1312,6 +1615,11 @@ parameters: count: 1 path: libraries/classes/Gis/GisMultiPoint.php + - + message: "#^Property PhpMyAdmin\\\\Gis\\\\GisMultiPolygon\\:\\:\\$_instance has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Gis/GisMultiPolygon.php + - message: "#^Parameter \\#2 \\$red of function imagecolorallocate expects int, float\\|int given\\.$#" count: 1 @@ -1342,6 +1650,11 @@ parameters: count: 1 path: libraries/classes/Gis/GisMultiPolygon.php + - + message: "#^Property PhpMyAdmin\\\\Gis\\\\GisPoint\\:\\:\\$_instance has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Gis/GisPoint.php + - message: "#^Parameter \\#2 \\$red of function imagecolorallocate expects int, float\\|int given\\.$#" count: 1 @@ -1367,6 +1680,11 @@ parameters: count: 1 path: libraries/classes/Gis/GisPoint.php + - + message: "#^Property PhpMyAdmin\\\\Gis\\\\GisPolygon\\:\\:\\$_instance has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Gis/GisPolygon.php + - message: "#^Parameter \\#2 \\$red of function imagecolorallocate expects int, float\\|int given\\.$#" count: 1 @@ -1392,6 +1710,11 @@ parameters: count: 1 path: libraries/classes/Gis/GisPolygon.php + - + message: "#^Property PhpMyAdmin\\\\Gis\\\\GisVisualization\\:\\:\\$_modified_sql has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Gis/GisVisualization.php + - message: "#^Parameter \\#1 \\$sql_query of class PhpMyAdmin\\\\Gis\\\\GisVisualization constructor expects string, null given\\.$#" count: 1 @@ -1462,11 +1785,6 @@ parameters: count: 1 path: libraries/classes/Html/Generator.php - - - message: "#^Method PhpMyAdmin\\\\Import\\:\\:getColumnNumberFromName\\(\\) should return int but returns float\\|int\\.$#" - count: 1 - path: libraries/classes/Import.php - - message: "#^Parameter \\#3 \\$length of function substr expects int, int\\|false given\\.$#" count: 1 @@ -1482,6 +1800,11 @@ parameters: count: 2 path: libraries/classes/Import.php + - + message: "#^Offset int does not exist on array\\|null\\.$#" + count: 2 + path: libraries/classes/Import.php + - message: "#^Argument of an invalid type \\(array\\\\|false\\) supplied for foreach, only iterables are supported\\.$#" count: 2 @@ -1497,6 +1820,16 @@ parameters: count: 1 path: libraries/classes/Index.php + - + message: "#^Offset 0 does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/InsertEdit.php + + - + message: "#^Offset 1 does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/InsertEdit.php + - message: "#^Strict comparison using \\=\\=\\= between 'text' and 'time' will always evaluate to false\\.$#" count: 1 @@ -1513,15 +1846,40 @@ parameters: path: libraries/classes/InsertEdit.php - - message: "#^Cannot assign offset mixed to array\\|bool\\.$#" + message: "#^Cannot access offset 'foreign_db' on array\\|bool\\.$#" + count: 4 + path: libraries/classes/InsertEdit.php + + - + message: "#^Cannot access offset 'foreign_table' on array\\|bool\\.$#" + count: 4 + path: libraries/classes/InsertEdit.php + + - + message: "#^Cannot access offset 'foreign_field' on array\\|bool\\.$#" count: 2 path: libraries/classes/InsertEdit.php + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" + count: 2 + path: libraries/classes/InsertEdit.php + + - + message: "#^Cannot access offset mixed on array\\|true\\.$#" + count: 1 + path: libraries/classes/InsertEdit.php + - message: "#^Parameter \\#1 \\$str of method PhpMyAdmin\\\\DatabaseInterface\\:\\:escapeString\\(\\) expects string, string\\|null given\\.$#" count: 1 path: libraries/classes/InsertEdit.php + - + message: "#^Cannot access offset 0 on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/InsertEdit.php + - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\DatabaseInterface\\:\\:fieldLen\\(\\) expects object, array given\\.$#" count: 1 @@ -1537,6 +1895,31 @@ parameters: count: 1 path: libraries/classes/IpAllowDeny.php + - + message: "#^Property PhpMyAdmin\\\\Language\\:\\:\\$code has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Language.php + + - + message: "#^Property PhpMyAdmin\\\\Language\\:\\:\\$name has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Language.php + + - + message: "#^Property PhpMyAdmin\\\\Language\\:\\:\\$native has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Language.php + + - + message: "#^Property PhpMyAdmin\\\\Language\\:\\:\\$regex has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Language.php + + - + message: "#^Property PhpMyAdmin\\\\Language\\:\\:\\$mysql has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Language.php + - message: "#^Method PhpMyAdmin\\\\Language\\:\\:matchesAcceptLanguage\\(\\) should return bool but returns int\\|false\\.$#" count: 1 @@ -1547,6 +1930,31 @@ parameters: count: 1 path: libraries/classes/Language.php + - + message: "#^Property PhpMyAdmin\\\\LanguageManager\\:\\:\\$_available_locales has no typehint specified\\.$#" + count: 1 + path: libraries/classes/LanguageManager.php + + - + message: "#^Property PhpMyAdmin\\\\LanguageManager\\:\\:\\$_available_languages has no typehint specified\\.$#" + count: 1 + path: libraries/classes/LanguageManager.php + + - + message: "#^Property PhpMyAdmin\\\\LanguageManager\\:\\:\\$_lang_failed_cfg has no typehint specified\\.$#" + count: 1 + path: libraries/classes/LanguageManager.php + + - + message: "#^Property PhpMyAdmin\\\\LanguageManager\\:\\:\\$_lang_failed_cookie has no typehint specified\\.$#" + count: 1 + path: libraries/classes/LanguageManager.php + + - + message: "#^Property PhpMyAdmin\\\\LanguageManager\\:\\:\\$_lang_failed_request has no typehint specified\\.$#" + count: 1 + path: libraries/classes/LanguageManager.php + - message: "#^Instanceof between string and PhpMyAdmin\\\\SqlParser\\\\UtfString will always evaluate to false\\.$#" count: 1 @@ -1572,11 +1980,6 @@ parameters: count: 1 path: libraries/classes/Navigation/Navigation.php - - - message: "#^Parameter \\#1 \\$str of function base64_decode expects string, string\\|false given\\.$#" - count: 1 - path: libraries/classes/Navigation/NavigationTree.php - - message: "#^Method PhpMyAdmin\\\\Navigation\\\\NavigationTree\\:\\:buildPath\\(\\) should return PhpMyAdmin\\\\Navigation\\\\Nodes\\\\Node\\|false but returns bool\\|PhpMyAdmin\\\\Navigation\\\\Nodes\\\\Node\\.$#" count: 1 @@ -1637,6 +2040,16 @@ parameters: count: 1 path: libraries/classes/Navigation/NavigationTree.php + - + message: "#^Property PhpMyAdmin\\\\Navigation\\\\NodeFactory\\:\\:\\$namespace has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Navigation/NodeFactory.php + + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: libraries/classes/Navigation/Nodes/Node.php + - message: "#^Cannot access property \\$realName on PhpMyAdmin\\\\Navigation\\\\Nodes\\\\Node\\|false\\.$#" count: 1 @@ -1687,6 +2100,41 @@ parameters: count: 1 path: libraries/classes/Operations.php + - + message: "#^Property PhpMyAdmin\\\\OutputBuffering\\:\\:\\$_instance has no typehint specified\\.$#" + count: 1 + path: libraries/classes/OutputBuffering.php + + - + message: "#^Property PhpMyAdmin\\\\OutputBuffering\\:\\:\\$_content has no typehint specified\\.$#" + count: 1 + path: libraries/classes/OutputBuffering.php + + - + message: "#^Property PhpMyAdmin\\\\Pdf\\:\\:\\$footerset has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Pdf\\:\\:\\$Alias has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Pdf.php + + - + message: "#^Method PhpMyAdmin\\\\Pdf\\:\\:Footer\\(\\) has no return typehint specified\\.$#" + count: 1 + path: libraries/classes/Pdf.php + + - + message: "#^Method PhpMyAdmin\\\\Pdf\\:\\:Error\\(\\) has no return typehint specified\\.$#" + count: 1 + path: libraries/classes/Pdf.php + + - + message: "#^Method PhpMyAdmin\\\\Pdf\\:\\:Error\\(\\) has parameter \\$error_message with no typehint specified\\.$#" + count: 1 + path: libraries/classes/Pdf.php + - message: "#^Parameter \\#1 \\$str of function mb_substr expects string, string\\|null given\\.$#" count: 2 @@ -1702,6 +2150,11 @@ parameters: count: 1 path: libraries/classes/Plugins.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Auth\\\\AuthenticationCookie\\:\\:\\$_cookie_iv has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Auth/AuthenticationCookie.php + - message: "#^Parameter \\#2 \\$remoteIp of method ReCaptcha\\\\ReCaptcha\\:\\:verify\\(\\) expects string\\|null, bool\\|string given\\.$#" count: 1 @@ -1717,21 +2170,6 @@ parameters: count: 1 path: libraries/classes/Plugins/Auth/AuthenticationCookie.php - - - message: "#^Parameter \\#5 \\$iv of function openssl_decrypt expects string, string\\|false given\\.$#" - count: 1 - path: libraries/classes/Plugins/Auth/AuthenticationCookie.php - - - - message: "#^Parameter \\#1 \\$iv of method phpseclib\\\\Crypt\\\\Base\\:\\:setIV\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: libraries/classes/Plugins/Auth/AuthenticationCookie.php - - - - message: "#^Parameter \\#1 \\$ciphertext of method phpseclib\\\\Crypt\\\\Base\\:\\:decrypt\\(\\) expects string, string\\|false given\\.$#" - count: 1 - path: libraries/classes/Plugins/Auth/AuthenticationCookie.php - - message: "#^Method PhpMyAdmin\\\\Plugins\\\\Auth\\\\AuthenticationCookie\\:\\:getIVSize\\(\\) should return int but returns int\\|false\\.$#" count: 1 @@ -1768,17 +2206,32 @@ parameters: path: libraries/classes/Plugins/Export/ExportCodegen.php - - message: "#^Cannot assign offset mixed to array\\|bool\\.$#" + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportCsv.php + + - + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" count: 1 path: libraries/classes/Plugins/Export/ExportHtmlword.php + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportHtmlword.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\ExportJson\\:\\:\\$first has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportJson.php + - message: "#^Method PhpMyAdmin\\\\Plugins\\\\Export\\\\ExportJson\\:\\:encode\\(\\) should return string but returns string\\|false\\.$#" count: 1 path: libraries/classes/Plugins/Export/ExportJson.php - - message: "#^Cannot assign offset mixed to array\\|bool\\.$#" + message: "#^Cannot access offset mixed on array\\|bool\\.$#" count: 1 path: libraries/classes/Plugins/Export/ExportLatex.php @@ -1793,7 +2246,27 @@ parameters: path: libraries/classes/Plugins/Export/ExportLatex.php - - message: "#^Cannot assign offset mixed to array\\|bool\\.$#" + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportOds.php + + - + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportOdt.php + + - + message: "#^Cannot access offset 'foreign_table' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportOdt.php + + - + message: "#^Cannot access offset 'foreign_field' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportOdt.php + + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" count: 1 path: libraries/classes/Plugins/Export/ExportOdt.php @@ -1823,7 +2296,7 @@ parameters: path: libraries/classes/Plugins/Export/ExportSql.php - - message: "#^Cannot assign offset mixed to array\\\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj\\.$#" + message: "#^Cannot access offset mixed on array\\\\|PhpMyAdmin\\\\SqlParser\\\\Components\\\\ArrayObj\\.$#" count: 4 path: libraries/classes/Plugins/Export/ExportSql.php @@ -1842,6 +2315,11 @@ parameters: count: 1 path: libraries/classes/Plugins/Export/ExportSql.php + - + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportSql.php + - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|null given\\.$#" count: 12 @@ -1863,7 +2341,12 @@ parameters: path: libraries/classes/Plugins/Export/ExportSql.php - - message: "#^Cannot assign offset mixed to array\\|bool\\.$#" + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportTexytext.php + + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" count: 1 path: libraries/classes/Plugins/Export/ExportTexytext.php @@ -1873,15 +2356,155 @@ parameters: path: libraries/classes/Plugins/Export/ExportXml.php - - message: "#^Cannot assign offset mixed to array\\|bool\\.$#" + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportXml.php + + - + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/ExportYaml.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$tablewidths has no typehint specified\\.$#" count: 1 path: libraries/classes/Plugins/Export/Helpers/Pdf.php - - message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, int\\|false given\\.$#" + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$headerset has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$dataY has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$cellFontSize has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$titleFontSize has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$titleText has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$dbAlias has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$tableAlias has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$purpose has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$colTitles has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$results has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$colAlign has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$titleWidth has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$colFits has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$display_column has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$numFields has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$fields has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$sColWidth has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$currentDb has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$currentTable has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:\\$aliases has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Method PhpMyAdmin\\\\Plugins\\\\Export\\\\Helpers\\\\Pdf\\:\\:Header\\(\\) has no return typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Plugins/Export/Helpers/Pdf.php + + - + message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, int\\<1, max\\>\\|false given\\.$#" count: 1 path: libraries/classes/Plugins/Export/Helpers/TableProperty.php + - + message: "#^Cannot access offset 'foreign_table' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Plugins/ExportPlugin.php + + - + message: "#^Cannot access offset 'foreign_field' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Plugins/ExportPlugin.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\IOTransformationsPlugin\\:\\:\\$success has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/IOTransformationsPlugin.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\IOTransformationsPlugin\\:\\:\\$error has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/IOTransformationsPlugin.php + - message: "#^Cannot call method addProperty\\(\\) on PhpMyAdmin\\\\Properties\\\\Options\\\\Groups\\\\OptionsPropertyMainGroup\\|void\\.$#" count: 7 @@ -1908,7 +2531,7 @@ parameters: path: libraries/classes/Plugins/Import/ImportLdi.php - - message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|null given\\.$#" + message: "#^Cannot access offset int on array\\\\|false\\.$#" count: 1 path: libraries/classes/Plugins/Import/ImportLdi.php @@ -1917,6 +2540,16 @@ parameters: count: 1 path: libraries/classes/Plugins/Import/ImportMediawiki.php + - + message: "#^Comparison operation \"\\>\\=\" between 0 and 0 is always true\\.$#" + count: 1 + path: libraries/classes/Plugins/Import/ImportOds.php + + - + message: "#^Offset 'number\\-columns…' does not exist on SimpleXMLElement\\|null\\.$#" + count: 2 + path: libraries/classes/Plugins/Import/ImportOds.php + - message: "#^Parameter \\#1 \\$cell_attrs of method PhpMyAdmin\\\\Plugins\\\\Import\\\\ImportOds\\:\\:getValue\\(\\) expects array, SimpleXMLElement\\|null given\\.$#" count: 1 @@ -1937,6 +2570,11 @@ parameters: count: 1 path: libraries/classes/Plugins/Import/ImportOds.php + - + message: "#^Offset 'name' does not exist on SimpleXMLElement\\|null\\.$#" + count: 2 + path: libraries/classes/Plugins/Import/ImportOds.php + - message: "#^Parameter \\#1 \\$str1 of function strcmp expects string, array\\\\|string\\>\\|string given\\.$#" count: 1 @@ -1967,11 +2605,31 @@ parameters: count: 1 path: libraries/classes/Plugins/Import/ImportXml.php + - + message: "#^Comparison operation \"\\>\\=\" between 0 and 0 is always true\\.$#" + count: 1 + path: libraries/classes/Plugins/Import/ImportXml.php + - message: "#^Parameter \\#1 \\$ns of method SimpleXMLElement\\:\\:children\\(\\) expects string, string\\|null given\\.$#" count: 1 path: libraries/classes/Plugins/Import/ImportXml.php + - + message: "#^Offset 'name' does not exist on SimpleXMLElement\\|null\\.$#" + count: 3 + path: libraries/classes/Plugins/Import/ImportXml.php + + - + message: "#^Offset 'collation' does not exist on SimpleXMLElement\\|null\\.$#" + count: 1 + path: libraries/classes/Plugins/Import/ImportXml.php + + - + message: "#^Offset 'charset' does not exist on SimpleXMLElement\\|null\\.$#" + count: 1 + path: libraries/classes/Plugins/Import/ImportXml.php + - message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#" count: 2 @@ -1992,6 +2650,31 @@ parameters: count: 1 path: libraries/classes/Plugins/Import/Upload/UploadSession.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\DiaRelationSchema\\:\\:\\$_topMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/DiaRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\DiaRelationSchema\\:\\:\\$_bottomMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/DiaRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\DiaRelationSchema\\:\\:\\$_leftMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/DiaRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\DiaRelationSchema\\:\\:\\$_rightMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/DiaRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\DiaRelationSchema\\:\\:\\$objectId has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/DiaRelationSchema.php + - message: "#^Parameter \\#2 \\$masterField of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\DiaRelationSchema\\:\\:_addRelation\\(\\) expects string, int\\|string given\\.$#" count: 1 @@ -2007,11 +2690,91 @@ parameters: count: 1 path: libraries/classes/Plugins/Schema/Dia/DiaRelationSchema.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$diagram has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$srcConnPointsRight has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$srcConnPointsLeft has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$destConnPointsRight has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$destConnPointsLeft has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$masterTableId has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$foreignTableId has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$masterTablePos has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$foreignTablePos has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\RelationStatsDia\\:\\:\\$referenceColor has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + - message: "#^Binary operation \"\\+\" between int\\|string\\|false and 12 results in an error\\.$#" count: 4 path: libraries/classes/Plugins/Schema/Dia/RelationStatsDia.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\TableStatsDia\\:\\:\\$tableId has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/TableStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\TableStatsDia\\:\\:\\$tableColor has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Dia/TableStatsDia.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\Eps\\:\\:\\$font has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Eps/Eps.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\Eps\\:\\:\\$fontSize has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Eps/Eps.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\Eps\\:\\:\\$stringCommands has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Eps/Eps.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\EpsRelationSchema\\:\\:\\$_tablewidth has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Eps/EpsRelationSchema.php + - message: "#^Parameter \\#4 \\$masterField of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\EpsRelationSchema\\:\\:_addRelation\\(\\) expects string, int\\|string given\\.$#" count: 1 @@ -2027,11 +2790,206 @@ parameters: count: 1 path: libraries/classes/Plugins/Schema/Eps/EpsRelationSchema.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\TableStatsEps\\:\\:\\$height has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Eps/TableStatsEps.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\TableStatsEps\\:\\:\\$currentCell has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Eps/TableStatsEps.php + - message: "#^Parameter \\#1 \\$diagram of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:__construct\\(\\) expects PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\Dia\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\Eps\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg, object given\\.$#" count: 1 path: libraries/classes/Plugins/Schema/Eps/TableStatsEps.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$db has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$diagram has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$showColor has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$tableDimension has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$sameWide has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$showKeys has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$orientation has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$paper has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$pageNumber has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\ExportRelationSchema\\:\\:\\$offline has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/ExportRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$_xMin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$_yMin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$leftMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$topMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$scale has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$PMA_links has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$Outlines has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$def_outlines has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$widths has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$cMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$_ff has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:\\$_offline has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Method PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:Header\\(\\) has no return typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Method PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\:\\:Footer\\(\\) has no return typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/Pdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_showGrid has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_withDoc has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_tableOrder has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_ff has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_xMax has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_yMax has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_xMin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_yMin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_topMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_bottomMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_leftMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_rightMargin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\PdfRelationSchema\\:\\:\\$_tablewidth has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + - message: "#^Parameter \\#4 \\$fontSize of class PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\TableStatsPdf constructor expects int, null given\\.$#" count: 3 @@ -2058,30 +3016,145 @@ parameters: path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php - - message: "#^Cannot assign offset 'on_update' to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 'foreign_db' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Cannot access offset 'foreign_table' on \\(array\\)\\|true\\.$#" + count: 3 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Cannot access offset 'foreign_field' on \\(array\\)\\|true\\.$#" + count: 3 + path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + + - + message: "#^Cannot access offset 'on_update' on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php - - message: "#^Cannot assign offset mixed to array\\|bool\\.$#" + message: "#^Cannot access offset mixed on array\\|bool\\.$#" count: 1 path: libraries/classes/Plugins/Schema/Pdf/PdfRelationSchema.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\TableStatsPdf\\:\\:\\$nb_fiels has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/TableStatsPdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\TableStatsPdf\\:\\:\\$height has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/TableStatsPdf.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\TableStatsPdf\\:\\:\\$_ff has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Pdf/TableStatsPdf.php + - message: "#^Parameter \\#1 \\$diagram of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:__construct\\(\\) expects PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\Dia\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\Eps\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg, object given\\.$#" count: 1 path: libraries/classes/Plugins/Schema/Pdf/TableStatsPdf.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:\\$diagram has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/RelationStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:\\$xSrc has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/RelationStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:\\$ySrc has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/RelationStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:\\$srcDir has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/RelationStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:\\$destDir has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/RelationStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:\\$xDest has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/RelationStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:\\$yDest has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/RelationStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:\\$wTick has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/RelationStats.php + - message: "#^Parameter \\#1 \\$table of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\RelationStats\\:\\:_getXy\\(\\) expects PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats, string given\\.$#" count: 2 path: libraries/classes/Plugins/Schema/RelationStats.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg\\:\\:\\$title has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/Svg.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg\\:\\:\\$author has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/Svg.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg\\:\\:\\$font has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/Svg.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg\\:\\:\\$fontSize has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/Svg.php + - message: "#^Parameter \\#2 \\$value of method XMLWriter\\:\\:writeAttribute\\(\\) expects string, int given\\.$#" count: 4 path: libraries/classes/Plugins/Schema/Svg/Svg.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\SvgRelationSchema\\:\\:\\$_xMax has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\SvgRelationSchema\\:\\:\\$_yMax has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\SvgRelationSchema\\:\\:\\$_xMin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\SvgRelationSchema\\:\\:\\$_yMin has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\SvgRelationSchema\\:\\:\\$_tablewidth has no typehint specified\\.$#" + 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 @@ -2102,23 +3175,103 @@ parameters: count: 1 path: libraries/classes/Plugins/Schema/Svg/SvgRelationSchema.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\TableStatsSvg\\:\\:\\$height has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/TableStatsSvg.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\TableStatsSvg\\:\\:\\$currentCell has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/Svg/TableStatsSvg.php + - message: "#^Parameter \\#1 \\$diagram of method PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:__construct\\(\\) expects PhpMyAdmin\\\\Plugins\\\\Schema\\\\Dia\\\\Dia\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Eps\\\\Eps\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Pdf\\\\Pdf\\|PhpMyAdmin\\\\Plugins\\\\Schema\\\\Svg\\\\Svg, object given\\.$#" count: 1 path: libraries/classes/Plugins/Schema/Svg/TableStatsSvg.php + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$diagram has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$db has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$pageNumber has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$tableName has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$showKeys has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$tableDimension has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$displayfield has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$fields has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$primary has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$x has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$y has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$width has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$heightCell has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\Schema\\\\TableStats\\:\\:\\$offline has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/Schema/TableStats.php + - message: "#^Cannot access property \\$type on stdClass\\|null\\.$#" count: 1 path: libraries/classes/Plugins/Transformations/Abs/DateFormatTransformationsPlugin.php - - message: "#^Binary operation \"\\-\\=\" between int\\|string\\|false and int results in an error\\.$#" + message: "#^Binary operation \"\\-\\=\" between int\\<0, max\\>\\|string\\|false and int results in an error\\.$#" count: 1 path: libraries/classes/Plugins/Transformations/Abs/DateFormatTransformationsPlugin.php - - message: "#^Offset 0 does not exist on array\\(\\)\\.$#" + message: "#^Unreachable statement \\- code above always terminates\\.$#" count: 1 path: libraries/classes/Plugins/Transformations/Abs/ExternalTransformationsPlugin.php @@ -2133,7 +3286,22 @@ parameters: path: libraries/classes/Plugins/Transformations/Output/Text_Plain_Binarytoip.php - - message: "#^Cannot assign offset 'scheme' to array\\\\|false\\.$#" + message: "#^Property PhpMyAdmin\\\\Plugins\\\\TwoFactor\\\\Application\\:\\:\\$_google2fa has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/TwoFactor/Application.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\TwoFactor\\\\Invalid\\:\\:\\$showSubmit has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/TwoFactor/Invalid.php + + - + message: "#^Property PhpMyAdmin\\\\Plugins\\\\TwoFactorPlugin\\:\\:\\$showSubmit has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Plugins/TwoFactorPlugin.php + + - + message: "#^Cannot access offset 'scheme' on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" count: 2 path: libraries/classes/Plugins/TwoFactorPlugin.php @@ -2162,6 +3330,11 @@ parameters: count: 1 path: libraries/classes/Relation.php + - + message: "#^Cannot access offset 0 on \\(array\\)\\|true\\.$#" + count: 38 + path: libraries/classes/Relation.php + - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\DatabaseInterface\\:\\:freeResult\\(\\) expects object, resource\\|true given\\.$#" count: 2 @@ -2178,7 +3351,7 @@ parameters: path: libraries/classes/Relation.php - - message: "#^Cannot assign offset 'display_field' to array\\|bool\\.$#" + message: "#^Cannot access offset 'display_field' on array\\|bool\\.$#" count: 1 path: libraries/classes/Relation.php @@ -2187,11 +3360,26 @@ parameters: count: 2 path: libraries/classes/Relation.php + - + message: "#^Cannot access offset 'comment' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Relation.php + - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\DatabaseInterface\\:\\:freeResult\\(\\) expects object, bool\\|resource given\\.$#" count: 2 path: libraries/classes/Relation.php + - + message: "#^Cannot access offset 'comment' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Relation.php + + - + message: "#^Cannot access offset 'db_name' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Relation.php + - message: "#^Method PhpMyAdmin\\\\Relation\\:\\:setDbComment\\(\\) should return bool but returns bool\\|resource\\.$#" count: 1 @@ -2202,6 +3390,21 @@ parameters: count: 1 path: libraries/classes/Relation.php + - + message: "#^Cannot access offset 'foreign_db' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Relation.php + + - + message: "#^Cannot access offset 'foreign_table' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Relation.php + + - + message: "#^Cannot access offset 'foreign_field' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Relation.php + - message: "#^Method PhpMyAdmin\\\\Relation\\:\\:createPage\\(\\) should return int but returns bool\\|int\\.$#" count: 1 @@ -2213,7 +3416,7 @@ parameters: path: libraries/classes/Relation.php - - message: "#^Cannot assign offset 1 to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 1 on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Relation.php @@ -2263,7 +3466,12 @@ parameters: path: libraries/classes/Rte/Events.php - - message: "#^Cannot assign offset 'item_original_name' to array\\|true\\.$#" + message: "#^Cannot access offset 'item_name' on array\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'item_original_name' on array\\|true\\.$#" count: 1 path: libraries/classes/Rte/Events.php @@ -2277,6 +3485,66 @@ parameters: count: 1 path: libraries/classes/Rte/Events.php + - + message: "#^Cannot access offset 'EVENT_NAME' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'STATUS' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'EVENT_TYPE' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'EXECUTE_AT' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'INTERVAL_VALUE' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'INTERVAL_FIELD' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'STARTS' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'ENDS' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'ON_COMPLETION' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'EVENT_DEFINITION' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'DEFINER' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + + - + message: "#^Cannot access offset 'EVENT_COMMENT' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Events.php + - message: "#^Else branch is unreachable because previous condition is always true\\.$#" count: 1 @@ -2298,7 +3566,12 @@ parameters: path: libraries/classes/Rte/General.php - - message: "#^Cannot assign offset 'item_original_name' to array\\|true\\.$#" + message: "#^Cannot access offset 'item_name' on array\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'item_original_name' on array\\|true\\.$#" count: 1 path: libraries/classes/Rte/Routines.php @@ -2312,23 +3585,88 @@ parameters: count: 1 path: libraries/classes/Rte/Routines.php + - + message: "#^Offset 'item_type' does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/Rte/Routines.php + - message: "#^Parameter \\#2 \\$create_routine of method PhpMyAdmin\\\\Rte\\\\Routines\\:\\:create\\(\\) expects string, string\\|null given\\.$#" count: 1 path: libraries/classes/Rte/Routines.php - - message: "#^Cannot assign offset 'DTD_IDENTIFIER' to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 'SPECIFIC_NAME' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'ROUTINE_TYPE' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'DTD_IDENTIFIER' on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Rte/Routines.php + - + message: "#^Cannot access offset 'ROUTINE_DEFINITION' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'IS_DETERMINISTIC' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'SECURITY_TYPE' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'SQL_DATA_ACCESS' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'ROUTINE_COMMENT' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'item_num_params' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'item_param_name' on array\\|bool\\.$#" + count: 6 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'item_type' on array\\|bool\\.$#" + count: 3 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'item_param_dir' on array\\|bool\\.$#" + count: 2 + path: libraries/classes/Rte/Routines.php + + - + message: "#^Cannot access offset 'item_name' on array\\|bool\\.$#" + count: 4 + path: libraries/classes/Rte/Routines.php + - message: "#^Parameter \\#1 \\$row of method PhpMyAdmin\\\\Rte\\\\Routines\\:\\:browseRow\\(\\) expects array, \\(array\\)\\|true given\\.$#" count: 1 path: libraries/classes/Rte/Routines.php - - message: "#^Parameter \\#3 \\$number of function _ngettext expects int, int\\|string given\\.$#" + message: "#^Parameter \\#3 \\$number of function _ngettext expects int, int\\<0, max\\>\\|string given\\.$#" count: 1 path: libraries/classes/Rte/Routines.php @@ -2343,7 +3681,22 @@ parameters: path: libraries/classes/Rte/Routines.php - - message: "#^Cannot assign offset 'item_original_name' to array\\|true\\.$#" + message: "#^Cannot access offset 'create' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Rte/Triggers.php + + - + message: "#^Cannot access offset 'drop' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Rte/Triggers.php + + - + message: "#^Cannot access offset 'item_name' on array\\|true\\.$#" + count: 1 + path: libraries/classes/Rte/Triggers.php + + - + message: "#^Cannot access offset 'item_original_name' on array\\|true\\.$#" count: 1 path: libraries/classes/Rte/Triggers.php @@ -2422,31 +3775,51 @@ parameters: count: 1 path: libraries/classes/Server/Privileges.php + - + message: "#^Cannot access offset 'Type' on array\\|bool\\.$#" + count: 4 + path: libraries/classes/Server/Privileges.php + - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\DatabaseInterface\\:\\:fetchRow\\(\\) expects object, resource\\|true given\\.$#" count: 1 path: libraries/classes/Server/Privileges.php + - + message: "#^Cannot access offset 0 on \\(array\\)\\|true\\.$#" + count: 11 + path: libraries/classes/Server/Privileges.php + - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\DatabaseInterface\\:\\:freeResult\\(\\) expects object, bool\\|resource given\\.$#" count: 2 path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 'Table_priv' to array\\|true\\.$#" + message: "#^Cannot access offset 'Table_priv' on array\\|true\\.$#" count: 1 path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 1 to \\(array\\)\\|true\\.$#" - count: 1 - path: libraries/classes/Server/Privileges.php - - - - message: "#^Cannot assign offset 'PLUGIN_DESCRIPTION' to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 1 on \\(array\\)\\|true\\.$#" count: 2 path: libraries/classes/Server/Privileges.php + - + message: "#^Cannot access offset 'PLUGIN_NAME' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'PLUGIN_DESCRIPTION' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset '@@old_passwords' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Server/Privileges.php + - message: "#^Call to an undefined method object\\:\\:bind_param\\(\\)\\.$#" count: 1 @@ -2477,13 +3850,23 @@ parameters: count: 3 path: libraries/classes/Server/Privileges.php + - + message: "#^Cannot access offset 'Db'\\|'Routine_name'\\|'Table_name' on \\(array\\)\\|true\\.$#" + count: 4 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'Db' on \\(array\\)\\|true\\.$#" + count: 4 + path: libraries/classes/Server/Privileges.php + - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\DatabaseInterface\\:\\:fetchAssoc\\(\\) expects object, array given\\.$#" count: 1 path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 'privs' to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 'privs' on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Server/Privileges.php @@ -2503,22 +3886,22 @@ parameters: path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 'authentication…' to array\\|bool\\.$#" + message: "#^Cannot access offset 'usergroup' on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 'authentication…' to \\(array\\)\\|bool\\.$#" + message: "#^Cannot access offset 'username' on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 'Password' to array\\|bool\\.$#" + message: "#^Cannot access offset 'authentication…' on array\\|bool\\.$#" count: 1 path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 'Password' to \\(array\\)\\|bool\\.$#" + message: "#^Cannot access offset 'Password' on array\\|bool\\.$#" count: 1 path: libraries/classes/Server/Privileges.php @@ -2528,15 +3911,25 @@ parameters: path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 'Password' to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 'Password' on \\(array\\)\\|true\\.$#" count: 1 path: libraries/classes/Server/Privileges.php - - message: "#^Cannot assign offset 'password' to \\(array\\)\\|true\\.$#" + message: "#^Cannot access offset 'password' on \\(array\\)\\|true\\.$#" count: 2 path: libraries/classes/Server/Privileges.php + - + message: "#^Cannot access offset 'authentication…' on \\(array\\)\\|true\\.$#" + count: 3 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'plugin' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Server/Privileges.php + - message: "#^Parameter \\#6 \\$dbname of method PhpMyAdmin\\\\Server\\\\Privileges\\:\\:addUserAndCreateDatabase\\(\\) expects string, array\\|string\\|null given\\.$#" count: 1 @@ -2547,29 +3940,129 @@ parameters: count: 1 path: libraries/classes/Server/Privileges.php + - + message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\DatabaseInterface\\:\\:freeResult\\(\\) expects object, mixed given\\.$#" + count: 1 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'Table_name' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'Column_priv' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'Column_name' on \\(array\\)\\|true\\.$#" + count: 4 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'Table_priv' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'Grant_priv' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Server/Privileges.php + - message: "#^Parameter \\#1 \\$message of static method PhpMyAdmin\\\\Message\\:\\:rawError\\(\\) expects string, bool\\|string given\\.$#" count: 6 path: libraries/classes/Server/Privileges.php + - + message: "#^Cannot access offset 'password' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Cannot access offset 'Status' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Server/Privileges.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$status has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$sections has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$variables has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$used_queries has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$allocationMap has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$links has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$db_isLocal has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$section has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$sectionUsed has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$selfUrl has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\Status\\\\Data\\:\\:\\$dataLoaded has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/Status/Data.php + - message: "#^Parameter \\#3 \\$length of function mb_substr expects int\\|null, int\\|false given\\.$#" count: 1 path: libraries/classes/Server/Status/Monitor.php + - + message: "#^Cannot access offset 'sql_text' on \\(array\\)\\|true\\.$#" + count: 6 + path: libraries/classes/Server/Status/Monitor.php + - message: "#^Parameter \\#2 \\$pieces of function implode expects array, array\\|null given\\.$#" count: 2 path: libraries/classes/Server/Status/Monitor.php - - message: "#^Cannot assign offset 'sql_text' to \\(array\\)\\|true\\.$#" - count: 1 + message: "#^Cannot access offset 'argument' on \\(array\\)\\|true\\.$#" + count: 6 path: libraries/classes/Server/Status/Monitor.php - - message: "#^Cannot assign offset 'argument' to \\(array\\)\\|true\\.$#" - count: 1 + message: "#^Cannot access offset '\\#' on \\(array\\)\\|true\\.$#" + count: 2 path: libraries/classes/Server/Status/Monitor.php - @@ -2578,12 +4071,52 @@ parameters: path: libraries/classes/Server/Status/Monitor.php - - message: "#^Instantiated class COM not found\\.$#" + message: "#^Property PhpMyAdmin\\\\Server\\\\SysInfo\\\\Base\\:\\:\\$os has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/SysInfo/Base.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\SysInfo\\\\Linux\\:\\:\\$os has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/SysInfo/Linux.php + + - + message: "#^Cannot access offset 1 on array\\\\|false\\.$#" + count: 1 + path: libraries/classes/Server/SysInfo/Linux.php + + - + message: "#^Cannot access offset 2 on array\\\\|false\\.$#" + count: 1 + path: libraries/classes/Server/SysInfo/Linux.php + + - + message: "#^Cannot access offset 3 on array\\\\|false\\.$#" + count: 1 + path: libraries/classes/Server/SysInfo/Linux.php + + - + message: "#^Cannot access offset 4 on array\\\\|false\\.$#" + count: 1 + path: libraries/classes/Server/SysInfo/Linux.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\SysInfo\\\\SunOs\\:\\:\\$os has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/SysInfo/SunOs.php + + - + message: "#^Property PhpMyAdmin\\\\Server\\\\SysInfo\\\\WindowsNt\\:\\:\\$_wmi has no typehint specified\\.$#" count: 1 path: libraries/classes/Server/SysInfo/WindowsNt.php - - message: "#^Call to method ConnectServer\\(\\) on an unknown class COM\\.$#" + message: "#^Property PhpMyAdmin\\\\Server\\\\SysInfo\\\\WindowsNt\\:\\:\\$os has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Server/SysInfo/WindowsNt.php + + - + message: "#^Call to an undefined method COM\\:\\:ConnectServer\\(\\)\\.$#" count: 1 path: libraries/classes/Server/SysInfo/WindowsNt.php @@ -2632,6 +4165,11 @@ parameters: count: 1 path: libraries/classes/Sql.php + - + message: "#^Cannot access offset 'user' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Sql.php + - message: "#^Parameter \\#3 \\$db of method PhpMyAdmin\\\\Sql\\:\\:countQueryResults\\(\\) expects string, string\\|null given\\.$#" count: 1 @@ -2668,7 +4206,12 @@ parameters: path: libraries/classes/Sql.php - - message: "#^Parameter \\#1 \\$unlim_num_rows of method PhpMyAdmin\\\\Display\\\\Results\\:\\:setProperties\\(\\) expects int, int\\|string given\\.$#" + message: "#^Cannot access offset 'user' on \\(array\\)\\|true\\.$#" + count: 2 + path: libraries/classes/Sql.php + + - + message: "#^Parameter \\#1 \\$unlim_num_rows of method PhpMyAdmin\\\\Display\\\\Results\\:\\:setProperties\\(\\) expects int, int\\<1, max\\>\\|string given\\.$#" count: 1 path: libraries/classes/Sql.php @@ -2683,7 +4226,7 @@ parameters: path: libraries/classes/Sql.php - - message: "#^Parameter \\#7 \\$num_rows of method PhpMyAdmin\\\\Display\\\\Results\\:\\:setProperties\\(\\) expects int, int\\|string given\\.$#" + 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 @@ -2772,6 +4315,36 @@ parameters: count: 1 path: libraries/classes/StorageEngine.php + - + message: "#^Cannot access offset 'table_name' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/SystemDatabase.php + + - + message: "#^Cannot access offset 'column_name' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/SystemDatabase.php + + - + message: "#^Cannot access offset 'comment' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/SystemDatabase.php + + - + message: "#^Cannot access offset 'mimetype' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/SystemDatabase.php + + - + message: "#^Cannot access offset 'transformation' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/SystemDatabase.php + + - + message: "#^Cannot access offset 'transformation…' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/SystemDatabase.php + - message: "#^Parameter \\#1 \\$collation of static method PhpMyAdmin\\\\Util\\:\\:getCharsetQueryPart\\(\\) expects string, string\\|null given\\.$#" count: 1 @@ -2807,6 +4380,31 @@ parameters: count: 2 path: libraries/classes/Table.php + - + message: "#^Cannot access offset 'column_name' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Table.php + + - + message: "#^Cannot access offset 'comment' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Table.php + + - + message: "#^Cannot access offset 'mimetype' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Table.php + + - + message: "#^Cannot access offset 'transformation' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Table.php + + - + message: "#^Cannot access offset 'transformation…' on \\(array\\)\\|true\\.$#" + count: 1 + path: libraries/classes/Table.php + - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\DatabaseInterface\\:\\:fetchArray\\(\\) expects object, bool\\|resource given\\.$#" count: 1 @@ -2842,6 +4440,46 @@ parameters: count: 1 path: libraries/classes/Table.php + - + message: "#^Cannot access offset 'row_count' on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Table.php + + - + message: "#^Method PhpMyAdmin\\\\Table\\\\ColumnsDefinition\\:\\:displayForm\\(\\) has parameter \\$action with no typehint specified\\.$#" + count: 1 + path: libraries/classes/Table/ColumnsDefinition.php + + - + message: "#^Method PhpMyAdmin\\\\Table\\\\ColumnsDefinition\\:\\:displayForm\\(\\) has parameter \\$field_fulltext with no typehint specified\\.$#" + count: 1 + path: libraries/classes/Table/ColumnsDefinition.php + + - + message: "#^Method PhpMyAdmin\\\\Table\\\\ColumnsDefinition\\:\\:displayForm\\(\\) has parameter \\$fields_meta with no typehint specified\\.$#" + count: 1 + path: libraries/classes/Table/ColumnsDefinition.php + + - + message: "#^Method PhpMyAdmin\\\\Table\\\\ColumnsDefinition\\:\\:displayForm\\(\\) has parameter \\$num_fields with no typehint specified\\.$#" + count: 1 + path: libraries/classes/Table/ColumnsDefinition.php + + - + message: "#^Method PhpMyAdmin\\\\Table\\\\ColumnsDefinition\\:\\:displayForm\\(\\) has parameter \\$regenerate with no typehint specified\\.$#" + count: 1 + path: libraries/classes/Table/ColumnsDefinition.php + + - + message: "#^Method PhpMyAdmin\\\\Table\\\\ColumnsDefinition\\:\\:displayForm\\(\\) has parameter \\$selected with no typehint specified\\.$#" + count: 1 + path: libraries/classes/Table/ColumnsDefinition.php + + - + message: "#^Cannot access offset mixed on array\\|bool\\.$#" + count: 1 + path: libraries/classes/Table/ColumnsDefinition.php + - message: "#^Property PhpMyAdmin\\\\Theme\\:\\:\\$mtime_info \\(int\\) does not accept int\\|false\\.$#" count: 1 @@ -2872,6 +4510,16 @@ parameters: count: 1 path: libraries/classes/ThemeManager.php + - + message: "#^Property PhpMyAdmin\\\\Tracker\\:\\:\\$enabled has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Tracker.php + + - + message: "#^Property PhpMyAdmin\\\\Tracker\\:\\:\\$_tracking_cache has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Tracker.php + - message: "#^Parameter \\#3 \\$version of static method PhpMyAdmin\\\\Tracker\\:\\:deactivateTracking\\(\\) expects string, int given\\.$#" count: 1 @@ -2972,11 +4620,6 @@ parameters: count: 1 path: libraries/classes/Transformations.php - - - message: "#^PhpMyAdmin\\\\Twig\\\\I18n\\\\NodeTrans\\:\\:__construct\\(\\) does not call parent constructor from PhpMyAdmin\\\\Twig\\\\Extensions\\\\Node\\\\TransNode\\.$#" - count: 1 - path: libraries/classes/Twig/I18n/NodeTrans.php - - message: "#^Parameter \\#1 \\$node of method Twig\\\\Compiler\\:\\:subcompile\\(\\) expects Twig\\\\Node\\\\Node, Twig\\\\Node\\\\Node\\|null given\\.$#" count: 1 @@ -2998,7 +4641,7 @@ parameters: path: libraries/classes/Url.php - - message: "#^Parameter \\#1 \\$string of function htmlentities expects string, string\\|null given\\.$#" + message: "#^Cannot access offset 0 on string\\|false\\.$#" count: 1 path: libraries/classes/Url.php @@ -3007,11 +4650,6 @@ parameters: count: 1 path: libraries/classes/Util.php - - - message: "#^Method PhpMyAdmin\\\\Util\\:\\:extractValueFromFormattedSize\\(\\) should return int but returns float\\|int\\.$#" - count: 1 - path: libraries/classes/Util.php - - message: "#^Parameter \\#3 \\$subject of function preg_replace expects array\\|string, string\\|null given\\.$#" count: 3 @@ -3023,7 +4661,12 @@ parameters: path: libraries/classes/Util.php - - message: "#^Cannot assign offset 'query' to array\\\\|false\\.$#" + message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Util.php + + - + message: "#^Cannot access offset 'query' on array\\(\\)\\|array\\('scheme' \\=\\> string, 'host' \\=\\> string, 'port' \\=\\> int, 'user' \\=\\> string, 'pass' \\=\\> string, 'path' \\=\\> string, 'query' \\=\\> string, 'fragment' \\=\\> string\\)\\|false\\.$#" count: 1 path: libraries/classes/Util.php @@ -3032,6 +4675,16 @@ parameters: count: 1 path: libraries/classes/Util.php + - + message: "#^Offset 'statement' does not exist on array\\|null\\.$#" + count: 1 + path: libraries/classes/Util.php + + - + message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" + count: 1 + path: libraries/classes/Util.php + - message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|null given\\.$#" count: 2 @@ -3047,21 +4700,56 @@ parameters: count: 1 path: libraries/classes/Util.php + - + message: "#^Cannot access offset 0 on string\\|false\\.$#" + count: 1 + path: libraries/classes/Util.php + + - + message: "#^Cannot access offset 1 on string\\|false\\.$#" + count: 1 + path: libraries/classes/Util.php + - message: "#^Parameter \\#1 \\$str of function substr expects string, string\\|false given\\.$#" count: 1 path: libraries/classes/Util.php + - + message: "#^Parameter \\#1 \\$array_arg of function reset expects array, array\\|object given\\.$#" + count: 1 + path: libraries/classes/Util.php + - message: "#^Parameter \\#1 \\$character of function ord expects string, string\\|false given\\.$#" count: 1 path: libraries/classes/Util.php + - + message: "#^Property PhpMyAdmin\\\\Utils\\\\HttpRequest\\:\\:\\$proxyUrl has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Utils/HttpRequest.php + + - + message: "#^Property PhpMyAdmin\\\\Utils\\\\HttpRequest\\:\\:\\$proxyUser has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Utils/HttpRequest.php + + - + message: "#^Property PhpMyAdmin\\\\Utils\\\\HttpRequest\\:\\:\\$proxyPass has no typehint specified\\.$#" + count: 1 + path: libraries/classes/Utils/HttpRequest.php + - message: "#^Variable \\$http_response_header in isset\\(\\) always exists and is not nullable\\.$#" count: 1 path: libraries/classes/Utils/HttpRequest.php + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 1 + path: libraries/classes/Utils/HttpRequest.php + - message: "#^Method PhpMyAdmin\\\\VersionInformation\\:\\:getLatestVersion\\(\\) should return stdClass\\|null but returns object\\.$#" count: 1 @@ -3138,7 +4826,22 @@ parameters: path: test/classes/BookmarkTest.php - - message: "#^Parameter \\#3 \\$pageNow of static method PhpMyAdmin\\\\Util\\:\\:pageselector\\(\\) expects int, float\\|int given\\.$#" + message: "#^Property PhpMyAdmin\\\\Tests\\\\BrowseForeignersTest\\:\\:\\$browseForeigners has no typehint specified\\.$#" + count: 1 + path: test/classes/BrowseForeignersTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\CentralColumnsTest\\:\\:\\$centralColumns has no typehint specified\\.$#" + count: 1 + path: test/classes/CentralColumnsTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\CentralColumnsTest\\:\\:\\$columnData has no typehint specified\\.$#" + count: 1 + path: test/classes/CentralColumnsTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\CentralColumnsTest\\:\\:\\$modifiedColumnData has no typehint specified\\.$#" count: 1 path: test/classes/CentralColumnsTest.php @@ -3158,9 +4861,9 @@ parameters: path: test/classes/Config/FormDisplayTest.php - - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertTrue\\(\\) with null will always evaluate to false\\.$#" + message: "#^Property PhpMyAdmin\\\\Tests\\\\ConfigTest\\:\\:\\$backupGlobals has no typehint specified\\.$#" count: 1 - path: test/classes/Config/FormDisplayTest.php + path: test/classes/ConfigTest.php - message: "#^Parameter \\#1 \\$str of function strip_tags expects string, string\\|false given\\.$#" @@ -3202,11 +4905,31 @@ parameters: count: 1 path: test/classes/CoreTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Database\\\\QbeTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Database/QbeTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Database\\\\SearchTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Database/SearchTest.php + - message: "#^Parameter \\#1 \\$result of method PhpMyAdmin\\\\Dbal\\\\DbiMysqli\\:\\:numRows\\(\\) expects mysqli_result, false given\\.$#" count: 1 path: test/classes/Dbal/DbiMysqliTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Display\\\\ExportTest\\:\\:\\$export has no typehint specified\\.$#" + count: 1 + path: test/classes/Display/ExportTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Display\\\\ResultsTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Display/ResultsTest.php + - message: "#^Parameter \\#1 \\$fp of function fwrite expects resource, resource\\|false given\\.$#" count: 1 @@ -3217,11 +4940,56 @@ parameters: count: 1 path: test/classes/EncodingTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Engines\\\\BdbTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Engines/BdbTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Engines\\\\BinlogTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Engines/BinlogTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Engines\\\\InnodbTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Engines/InnodbTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Engines\\\\MemoryTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Engines/MemoryTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Engines\\\\MrgMyisamTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Engines/MrgMyisamTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Engines\\\\MyisamTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Engines/MyisamTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Engines\\\\NdbclusterTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Engines/NdbclusterTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Engines\\\\PbxtTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Engines/PbxtTest.php + - message: "#^Call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNull\\(\\) with string and 'Error when trying…' will always evaluate to false\\.$#" count: 1 path: test/classes/EnvironmentTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\ErrorHandlerTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/ErrorHandlerTest.php + - message: "#^Parameter \\#1 \\$input of function array_values expects array, array\\|bool given\\.$#" count: 1 @@ -3232,6 +5000,36 @@ parameters: count: 1 path: test/classes/FileTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\FooterTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/FooterTest.php + + - + message: "#^Parameter \\#1 \\$expected of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) expects class\\-string\\, string given\\.$#" + count: 1 + path: test/classes/Gis/GisFactoryTest.php + + - + message: "#^Unable to resolve the template type ExpectedType in call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\)$#" + count: 1 + path: test/classes/Gis/GisFactoryTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Gis\\\\GisGeomTestCase\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Gis/GisGeomTestCase.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Gis\\\\GisGeometryCollectionTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Gis/GisGeometryCollectionTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Gis\\\\GisGeometryTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Gis/GisGeometryTest.php + - message: "#^Parameter \\#1 \\$point of method PhpMyAdmin\\\\Gis\\\\GisPolygon\\:\\:isPointInsidePolygon\\(\\) expects array, array\\|bool given\\.$#" count: 1 @@ -3263,7 +5061,12 @@ parameters: path: test/classes/ImportTest.php - - message: "#^Parameter \\#1 \\$where_clause of method PhpMyAdmin\\\\InsertEdit\\:\\:determineInsertOrEdit\\(\\) expects string, null given\\.$#" + message: "#^Property PhpMyAdmin\\\\Tests\\\\IndexTest\\:\\:\\$_params has no typehint specified\\.$#" + count: 1 + path: test/classes/IndexTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\InsertEditTest\\:\\:\\$insertEdit has no typehint specified\\.$#" count: 1 path: test/classes/InsertEditTest.php @@ -3282,6 +5085,11 @@ parameters: count: 1 path: test/classes/LanguageTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\MultSubmitsTest\\:\\:\\$multSubmits has no typehint specified\\.$#" + count: 1 + path: test/classes/MultSubmitsTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 1 @@ -3292,6 +5100,16 @@ parameters: count: 1 path: test/classes/Navigation/Nodes/NodeColumnTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\NormalizationTest\\:\\:\\$normalization has no typehint specified\\.$#" + count: 1 + path: test/classes/NormalizationTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Auth\\\\AuthenticationConfigTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Auth/AuthenticationConfigTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 4 @@ -3312,6 +5130,11 @@ parameters: count: 1 path: test/classes/Plugins/Auth/AuthenticationHttpTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Auth\\\\AuthenticationSignonTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Auth/AuthenticationSignonTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 1 @@ -3327,41 +5150,216 @@ parameters: count: 4 path: test/classes/Plugins/Export/ExportCodegenTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportCsvTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportCsvTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportExcelTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportExcelTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportHtmlwordTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportHtmlwordTest.php + - message: "#^Parameter \\#1 \\$string of function htmlspecialchars_decode expects string, string\\|false given\\.$#" count: 1 path: test/classes/Plugins/Export/ExportHtmlwordTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportJsonTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportJsonTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportLatexTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportLatexTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 5 path: test/classes/Plugins/Export/ExportLatexTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportMediawikiTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportMediawikiTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportOdsTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportOdsTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportOdtTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportOdtTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportPdfTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportPdfTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportPhparrayTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportPhparrayTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 3 path: test/classes/Plugins/Export/ExportPhparrayTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportSqlTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportSqlTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 35 path: test/classes/Plugins/Export/ExportSqlTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportTexytextTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportTexytextTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 3 path: test/classes/Plugins/Export/ExportTexytextTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportXmlTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportXmlTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 11 path: test/classes/Plugins/Export/ExportXmlTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\ExportYamlTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Export/ExportYamlTest.php + - message: "#^Parameter \\#2 \\$haystack of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, string\\|false given\\.$#" count: 1 path: test/classes/Plugins/Export/ExportYamlTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Export\\\\Helpers\\\\TablePropertyTest\\:\\:\\$object has no typehint specified\\.$#" + 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 + path: test/classes/Plugins/Schema/DiaRelationSchemaTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Schema\\\\EpsRelationSchemaTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Schema/EpsRelationSchemaTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Schema\\\\ExportRelationSchemaTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Schema/ExportRelationSchemaTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Schema\\\\PdfRelationSchemaTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Schema/PdfRelationSchemaTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Plugins\\\\Schema\\\\SvgRelationSchemaTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Plugins/Schema/SvgRelationSchemaTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Options\\\\Groups\\\\OptionsPropertyMainGroupTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Properties/Options/Groups/OptionsPropertyMainGroupTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Options\\\\Groups\\\\OptionsPropertyRootGroupTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Properties/Options/Groups/OptionsPropertyRootGroupTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Options\\\\Groups\\\\OptionsPropertySubgroupTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/Properties/Options/Groups/OptionsPropertySubgroupTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Options\\\\OptionsPropertyGroupTest\\:\\:\\$stub has no typehint specified\\.$#" + count: 1 + path: test/classes/Properties/Options/OptionsPropertyGroupTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Options\\\\OptionsPropertyItemTest\\:\\:\\$stub has no typehint specified\\.$#" + count: 1 + path: test/classes/Properties/Options/OptionsPropertyItemTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\Properties\\\\Options\\\\OptionsPropertyOneItemTest\\:\\:\\$stub has no typehint specified\\.$#" + 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 + path: test/classes/Properties/PropertyItemTest.php + - message: "#^Parameter \\#1 \\$needle of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertStringContainsString\\(\\) expects string, array given\\.$#" count: 2 @@ -3402,6 +5400,21 @@ parameters: count: 4 path: test/classes/Setup/FormProcessingTest.php + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\StorageEngineTest\\:\\:\\$object has no typehint specified\\.$#" + count: 1 + path: test/classes/StorageEngineTest.php + + - + message: "#^Parameter \\#1 \\$expected of method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\) expects class\\-string\\, string given\\.$#" + count: 1 + path: test/classes/StorageEngineTest.php + + - + message: "#^Unable to resolve the template type ExpectedType in call to method PHPUnit\\\\Framework\\\\Assert\\:\\:assertInstanceOf\\(\\)$#" + count: 1 + path: test/classes/StorageEngineTest.php + - message: "#^Parameter \\#1 \\$str of function trim expects string, string\\|null given\\.$#" count: 1 @@ -3537,6 +5550,21 @@ parameters: count: 1 path: test/classes/UtilTest.php + - + message: "#^Offset 0 does not exist on array\\|null\\.$#" + count: 1 + path: test/classes/UtilTest.php + + - + message: "#^Parameter \\#2 \\$newvalue of function ini_set expects string, string\\|false given\\.$#" + count: 1 + path: test/classes/UtilTest.php + + - + message: "#^Property PhpMyAdmin\\\\Tests\\\\VersionInformationTest\\:\\:\\$_releases has no typehint specified\\.$#" + count: 1 + path: test/classes/VersionInformationTest.php + - message: "#^Cannot access property \\$version on stdClass\\|null\\.$#" count: 1 @@ -3547,6 +5575,11 @@ parameters: count: 1 path: test/classes/VersionInformationTest.php + - + message: "#^Offset 'version' does not exist on array\\|null\\.$#" + count: 3 + path: test/classes/VersionInformationTest.php + - message: "#^Parameter \\#1 \\$filename of function fopen expects string, string\\|false given\\.$#" count: 2 @@ -3597,6 +5630,11 @@ parameters: count: 2 path: test/selenium/Database/EventsTest.php + - + message: "#^Offset 'val' does not exist on array\\\\|null\\.$#" + count: 2 + path: test/selenium/Database/EventsTest.php + - message: "#^Cannot access property \\$num_rows on bool\\|mysqli_result\\|void\\.$#" count: 3 @@ -3622,6 +5660,11 @@ parameters: count: 1 path: test/selenium/Database/StructureTest.php + - + message: "#^Offset 'c' does not exist on array\\\\|null\\.$#" + count: 1 + path: test/selenium/Database/StructureTest.php + - message: "#^Cannot access property \\$num_rows on bool\\|mysqli_result\\|void\\.$#" count: 1 @@ -3637,6 +5680,11 @@ parameters: count: 3 path: test/selenium/Database/TriggersTest.php + - + message: "#^Offset 'val' does not exist on array\\\\|null\\.$#" + count: 3 + path: test/selenium/Database/TriggersTest.php + - message: "#^Cannot access property \\$num_rows on bool\\|mysqli_result\\|void\\.$#" count: 3 @@ -3662,11 +5710,31 @@ parameters: count: 4 path: test/selenium/Table/OperationsTest.php + - + message: "#^Offset string does not exist on array\\\\|null\\.$#" + count: 2 + path: test/selenium/Table/OperationsTest.php + + - + message: "#^Offset 'c' does not exist on array\\\\|null\\.$#" + count: 2 + path: test/selenium/Table/OperationsTest.php + - message: "#^Cannot access property \\$num_rows on bool\\|mysqli_result\\|void\\.$#" count: 1 path: test/selenium/Table/OperationsTest.php + - + message: "#^Unreachable statement \\- code above always terminates\\.$#" + count: 4 + path: test/selenium/TestBase.php + + - + message: "#^Parameter \\#1 \\$selenium_server_url of static method Facebook\\\\WebDriver\\\\Remote\\\\RemoteWebDriver\\:\\:create\\(\\) expects string, string\\|null given\\.$#" + count: 1 + path: test/selenium/TestBase.php + - message: "#^Cannot call method free\\(\\) on mysqli_result\\|void\\|true\\.$#" count: 1 @@ -3692,8 +5760,3 @@ parameters: count: 1 path: test/selenium/TrackingTest.php - - - message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#" - count: 1 - path: libraries/classes/Util.php - diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 88840ff703..6576359f3c 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -3,13 +3,15 @@ includes: parameters: level: max paths: - - %rootDir%/../../../ - bootstrap: %rootDir%/../../../test/bootstrap-phpstan.php + - . + bootstrap: test/bootstrap-phpstan.php reportUnmatchedIgnoredErrors: true inferPrivatePropertyTypeFromConstructor: true + checkMissingIterableValueType: false + checkGenericClassInNonGenericObjectType: false excludes_analyse: - - %rootDir%/../../../examples/openid.php - - %rootDir%/../../../node_modules/* - - %rootDir%/../../../test/sami-config.php - - %rootDir%/../../../tmp/* - - %rootDir%/../../../vendor/* + - examples/openid.php + - node_modules/* + - test/sami-config.php + - tmp/* + - vendor/*