Skip to content

Commit

Permalink
Add ChangeLog entry for #16304
Browse files Browse the repository at this point in the history
> Add support for INET6 column type

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Aug 15, 2020
1 parent 5931d5a commit 37beb12
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -44,6 +44,7 @@ phpMyAdmin - ChangeLog
- issue #16139 Use a textarea for JSON columns
- issue #16223 Make JSON input transformation editor less narrow
- issue #14340 Add a button on Export Page to show the SQL Query
- issue #16304 Add support for INET6 column type

5.0.3 (not yet released)
- issue #15983 Require twig ^2.9
Expand Down
4 changes: 2 additions & 2 deletions libraries/classes/Types.php
Expand Up @@ -9,6 +9,7 @@

use function array_diff;
use function array_merge;
use function array_push;
use function htmlspecialchars;
use function in_array;
use function mb_strtoupper;
Expand Down Expand Up @@ -394,8 +395,7 @@ public function getTypeDescription($type)
case 'INET6':
return __('Intended for storage of IPv6 addresses, as well as IPv4 '
. 'addresses assuming conventional mapping of IPv4 addresses '
. 'into IPv6 addresses'
);
. 'into IPv6 addresses');
}

return '';
Expand Down
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Expand Up @@ -2725,6 +2725,11 @@ parameters:
count: 3
path: libraries/classes/Twig/I18n/NodeTrans.php

-
message: "#^Parameter \\#1 \\$stack of function array_push expects array, array\\<int, string\\>\\|string given\\.$#"
count: 1
path: libraries/classes/Types.php

-
message: "#^Method PhpMyAdmin\\\\Types\\:\\:getColumns\\(\\) should return array\\<string\\> but returns array\\<int\\|string, array\\<int, string\\>\\|string\\>\\.$#"
count: 1
Expand Down
3 changes: 3 additions & 0 deletions psalm-baseline.xml
Expand Up @@ -2389,6 +2389,9 @@
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
<PossiblyInvalidArgument occurrences="1">
<code>$ret[_pgettext('string types', 'String')]</code>
</PossiblyInvalidArgument>
</file>
<file src="libraries/classes/Util.php">
<EmptyArrayAccess occurrences="1">
Expand Down

0 comments on commit 37beb12

Please sign in to comment.