Merge #19898 - remove references for htmlexcel

Pull-request: #19898
Fixes: #19897
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
This commit is contained in:
Maurício Meneghini Fauth 2025-10-23 14:16:50 -03:00
commit 57aee0f702
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
3 changed files with 11 additions and 14 deletions

View File

@ -674,7 +674,6 @@ class ConfigFile
'codegen',
'csv',
'excel',
'htmlexcel',
'htmlword',
'latex',
'ods',

View File

@ -136,7 +136,7 @@ final class Export
*
* @link https://docs.phpmyadmin.net/en/latest/config.html#cfg_Export_format
*
* @psalm-var 'codegen'|'csv'|'excel'|'htmlexcel'|'htmlword'|'latex'|'ods'|'odt'|'pdf'|'sql'|'texytext'|'xml'|'yaml'
* @psalm-var 'codegen'|'csv'|'excel'|'htmlword'|'latex'|'ods'|'odt'|'pdf'|'sql'|'texytext'|'xml'|'yaml'
*/
public string $format;
@ -1222,7 +1222,7 @@ final class Export
/**
* @param array<int|string, mixed> $export
*
* @psalm-return 'codegen'|'csv'|'excel'|'htmlexcel'|'htmlword'|'latex'|'ods'|'odt'|'pdf'|'sql'|'texytext'|'xml'|'yaml'
* @psalm-return 'codegen'|'csv'|'excel'|'htmlword'|'latex'|'ods'|'odt'|'pdf'|'sql'|'texytext'|'xml'|'yaml'
*/
private function setFormat(array $export): string
{
@ -1231,7 +1231,6 @@ final class Export
'codegen',
'csv',
'excel',
'htmlexcel',
'htmlword',
'latex',
'ods',

View File

@ -29,16 +29,15 @@ class ExportTest extends TestCase
yield 'valid value' => ['codegen', 'codegen'];
yield 'valid value 2' => ['csv', 'csv'];
yield 'valid value 3' => ['excel', 'excel'];
yield 'valid value 4' => ['htmlexcel', 'htmlexcel'];
yield 'valid value 5' => ['htmlword', 'htmlword'];
yield 'valid value 6' => ['latex', 'latex'];
yield 'valid value 7' => ['ods', 'ods'];
yield 'valid value 8' => ['odt', 'odt'];
yield 'valid value 9' => ['pdf', 'pdf'];
yield 'valid value 10' => ['sql', 'sql'];
yield 'valid value 11' => ['texytext', 'texytext'];
yield 'valid value 12' => ['xml', 'xml'];
yield 'valid value 13' => ['yaml', 'yaml'];
yield 'valid value 4' => ['htmlword', 'htmlword'];
yield 'valid value 5' => ['latex', 'latex'];
yield 'valid value 6' => ['ods', 'ods'];
yield 'valid value 7' => ['odt', 'odt'];
yield 'valid value 8' => ['pdf', 'pdf'];
yield 'valid value 9' => ['sql', 'sql'];
yield 'valid value 10' => ['texytext', 'texytext'];
yield 'valid value 11' => ['xml', 'xml'];
yield 'valid value 12' => ['yaml', 'yaml'];
yield 'invalid value' => ['invalid', 'sql'];
}