Drop $errorUrl from exportTable
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
ae57858586
commit
c0adbd6181
@ -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
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user