Drop $errorUrl from exportTable

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
Kamil Tekiela 2024-12-12 22:16:01 +00:00
parent ae57858586
commit c0adbd6181
4 changed files with 1 additions and 18 deletions

View File

@ -2956,7 +2956,7 @@ parameters:
path: src/Controllers/Export/ExportController.php
-
message: '#^Parameter \#5 \$errorUrl of method PhpMyAdmin\\Export\\Export\:\:exportTable\(\) expects string, mixed given\.$#'
message: '#^Parameter \#5 \$exportType of method PhpMyAdmin\\Export\\Export\:\:exportTable\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
@ -2967,12 +2967,6 @@ parameters:
count: 2
path: src/Controllers/Export/ExportController.php
-
message: '#^Parameter \#6 \$exportType of method PhpMyAdmin\\Export\\Export\:\:exportTable\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: src/Controllers/Export/ExportController.php
-
message: '#^Parameter \#7 \$exportType of method PhpMyAdmin\\Export\\Export\:\:exportDatabase\(\) expects string, mixed given\.$#'
identifier: argument.type

View File

@ -1546,8 +1546,6 @@
<code><![CDATA[$GLOBALS['compression']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
@ -1685,8 +1683,6 @@
<code><![CDATA[$GLOBALS['compression']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
@ -1703,8 +1699,6 @@
<code><![CDATA[$GLOBALS['compression']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['errorUrl']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
<code><![CDATA[$GLOBALS['export_type']]]></code>
@ -5521,7 +5515,6 @@
</PossiblyNullArrayAccess>
<PossiblyUnusedParam>
<code><![CDATA[$errorUrl]]></code>
<code><![CDATA[$errorUrl]]></code>
</PossiblyUnusedParam>
<RiskyTruthyFalsyComparison>
<code><![CDATA[! ini_get('zlib.output_compression')]]></code>

View File

@ -446,7 +446,6 @@ final class ExportController implements InvocableController
Current::$table,
$whatStrucOrData,
$exportPlugin,
$GLOBALS['errorUrl'],
$GLOBALS['export_type'],
$doRelation,
$doComments,
@ -467,7 +466,6 @@ final class ExportController implements InvocableController
Current::$table,
$whatStrucOrData,
$exportPlugin,
$GLOBALS['errorUrl'],
$GLOBALS['export_type'],
$doRelation,
$doComments,

View File

@ -854,7 +854,6 @@ class Export
* @param string $table the table to export
* @param string $whatStrucOrData structure or data or both
* @param ExportPlugin $exportPlugin the selected export plugin
* @param string $errorUrl the URL in case of error
* @param string $exportType the export type
* @param bool $doRelation whether to export relation info
* @param bool $doComments whether to add comments
@ -871,7 +870,6 @@ class Export
string $table,
string $whatStrucOrData,
ExportPlugin $exportPlugin,
string $errorUrl,
string $exportType,
bool $doRelation,
bool $doComments,