Fix TS coding standard issue
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
4d031f1d1d
commit
475871160d
@ -1282,6 +1282,7 @@ const makeGrid = function (t, enableResize = undefined, enableReorder = undefine
|
||||
if (typeof conditionArrayContent === 'undefined') {
|
||||
conditionArrayContent = '{}';
|
||||
}
|
||||
|
||||
var conditionArray = JSON.parse(conditionArrayContent);
|
||||
|
||||
/**
|
||||
|
||||
@ -560,6 +560,11 @@ parameters:
|
||||
count: 1
|
||||
path: libraries/classes/Config/Validator.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$subject of function preg_match expects string, \\(int\\|string\\) given\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Config/Validator.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$subject of function str_replace expects array\\|string, \\(int\\|string\\) given\\.$#"
|
||||
count: 1
|
||||
@ -2235,11 +2240,21 @@ parameters:
|
||||
count: 1
|
||||
path: libraries/classes/Controllers/Table/ReplaceController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#2 \\$relationField of method PhpMyAdmin\\\\InsertEdit\\:\\:getLinkForRelationalDisplayField\\(\\) expects string, \\(int\\|string\\) given\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Controllers/Table/ReplaceController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$columnName of method PhpMyAdmin\\\\InsertEdit\\:\\:verifyWhetherValueCanBeTruncatedAndAppendExtraData\\(\\) expects string, mixed given\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Controllers/Table/ReplaceController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$relationField of method PhpMyAdmin\\\\InsertEdit\\:\\:getDisplayValueForForeignTableColumn\\(\\) expects string, \\(int\\|string\\) given\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Controllers/Table/ReplaceController.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#3 \\$type of class PhpMyAdmin\\\\EditField constructor expects string, mixed given\\.$#"
|
||||
count: 1
|
||||
@ -5377,7 +5392,7 @@ parameters:
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset mixed on mixed\\.$#"
|
||||
count: 10
|
||||
count: 6
|
||||
path: libraries/classes/Plugins/Export/ExportSql.php
|
||||
|
||||
-
|
||||
@ -5387,7 +5402,7 @@ parameters:
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset string on mixed\\.$#"
|
||||
count: 10
|
||||
count: 14
|
||||
path: libraries/classes/Plugins/Export/ExportSql.php
|
||||
|
||||
-
|
||||
@ -6345,6 +6360,11 @@ parameters:
|
||||
count: 2
|
||||
path: libraries/classes/Plugins/Schema/Pdf/RelationStatsPdf.php
|
||||
|
||||
-
|
||||
message: "#^Binary operation \"\\+\\=\" between float\\|int and array\\<float\\>\\|float results in an error\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Plugins/Schema/Pdf/TableStatsPdf.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset '\\-' on mixed\\.$#"
|
||||
count: 3
|
||||
@ -7212,7 +7232,7 @@ parameters:
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 0 on mixed\\.$#"
|
||||
count: 1
|
||||
count: 2
|
||||
path: libraries/classes/Server/Privileges.php
|
||||
|
||||
-
|
||||
@ -7280,6 +7300,11 @@ parameters:
|
||||
count: 1
|
||||
path: libraries/classes/Server/Privileges.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$query of method PhpMyAdmin\\\\DatabaseInterface\\:\\:query\\(\\) expects string, mixed given\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Server/Privileges.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$query of method PhpMyAdmin\\\\DatabaseInterface\\:\\:tryQuery\\(\\) expects string, mixed given\\.$#"
|
||||
count: 3
|
||||
@ -7655,6 +7680,11 @@ parameters:
|
||||
count: 1
|
||||
path: libraries/classes/Sql.php
|
||||
|
||||
-
|
||||
message: "#^Binary operation \"\\+\" between int\\<min, \\-1\\>\\|int\\<1, max\\> and int\\|string results in an error\\.$#"
|
||||
count: 1
|
||||
path: libraries/classes/Sql.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset 'Type' on mixed\\.$#"
|
||||
count: 1
|
||||
@ -7987,7 +8017,7 @@ parameters:
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$identifier of static method PhpMyAdmin\\\\Util\\:\\:backquote\\(\\) expects string\\|Stringable\\|null, mixed given\\.$#"
|
||||
count: 5
|
||||
count: 7
|
||||
path: libraries/classes/Table.php
|
||||
|
||||
-
|
||||
@ -8096,7 +8126,7 @@ parameters:
|
||||
path: libraries/classes/Table/ColumnsDefinition.php
|
||||
|
||||
-
|
||||
message: "#^Cannot access offset int\\|string on mixed\\.$#"
|
||||
message: "#^Cannot access offset \\(int\\|string\\) on mixed\\.$#"
|
||||
count: 2
|
||||
path: libraries/classes/Table/ColumnsDefinition.php
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user