diff options
author | Kamil Tekiela <tekiela246@gmail.com> | 2022-10-16 23:33:12 +0300 |
---|---|---|
committer | Kamil Tekiela <tekiela246@gmail.com> | 2022-10-17 16:43:28 +0300 |
commit | 1e7997b76182fee68b7cb8ff56bd551f29096708 (patch) | |
tree | 1b06fd30d9b0bf6a40d39db16ba1f34c02deb8ef /phpstan-baseline.neon | |
parent | 53b832211c395679849fad823568df1b1f38c813 (diff) |
Set property type to string
It must be string as it's used only in string context.
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Diffstat (limited to 'phpstan-baseline.neon')
-rw-r--r-- | phpstan-baseline.neon | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index a14f3df71e..6b8909b054 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1226,23 +1226,8 @@ parameters: path: libraries/classes/Controllers/Export/ExportController.php - - message: "#^Parameter \\#1 \\$dumpBuffer of method PhpMyAdmin\\\\Export\\:\\:compress\\(\\) expects array\\|string, mixed given\\.$#" - count: 1 - path: libraries/classes/Controllers/Export/ExportController.php - - - - message: "#^Parameter \\#1 \\(mixed\\) of echo cannot be converted to string\\.$#" - count: 1 - path: libraries/classes/Controllers/Export/ExportController.php - - - - message: "#^Parameter \\#2 \\$dumpBuffer of method PhpMyAdmin\\\\Export\\:\\:closeFile\\(\\) expects string, mixed given\\.$#" - count: 1 - path: libraries/classes/Controllers/Export/ExportController.php - - - - message: "#^Parameter \\#3 \\$what of static method PhpMyAdmin\\\\Encoding\\:\\:convertString\\(\\) expects string, mixed given\\.$#" - count: 1 + message: "#^Property PhpMyAdmin\\\\Export\\:\\:\\$dumpBuffer \\(string\\) does not accept array\\|bool\\|string\\.$#" + count: 2 path: libraries/classes/Controllers/Export/ExportController.php - @@ -3401,16 +3386,6 @@ parameters: path: libraries/classes/Export.php - - message: "#^Parameter \\#1 \\$str of static method PhpMyAdmin\\\\Encoding\\:\\:kanjiStrConv\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: libraries/classes/Export.php - - - - message: "#^Parameter \\#3 \\$what of static method PhpMyAdmin\\\\Encoding\\:\\:convertString\\(\\) expects string, string\\|null given\\.$#" - count: 1 - path: libraries/classes/Export.php - - - message: "#^Property PhpMyAdmin\\\\Export\\:\\:\\$dumpBufferObjects type has no value type specified in iterable type array\\.$#" count: 1 path: libraries/classes/Export.php |