[phpmyadmin/phpmyadmin] ba0250: Clean up exportHeader
Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: ba0250fdca94f048d81bcbe95595524299869369 https://github.com/phpmyadmin/phpmyadmin/commit/ba0250fdca94f048d81bcbe95595... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Plugins/Export/ExportCodegen.php M src/Plugins/Export/ExportCsv.php M src/Plugins/Export/ExportExcel.php M src/Plugins/Export/ExportMediawiki.php M src/Plugins/Export/ExportPdf.php M src/Plugins/Export/ExportTexytext.php M src/Plugins/ExportPlugin.php M tests/unit/Plugins/Export/ExportExcelTest.php M tests/unit/Plugins/Export/ExportPdfTest.php Log Message: ----------- Clean up exportHeader Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 09a60731d4a6818f89542cd4a9ce2da3b5447924 https://github.com/phpmyadmin/phpmyadmin/commit/09a60731d4a6818f89542cd4a9ce... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Plugins/Export/ExportCodegen.php M src/Plugins/Export/ExportCsv.php M src/Plugins/Export/ExportExcel.php M src/Plugins/Export/ExportLatex.php M src/Plugins/Export/ExportMediawiki.php M src/Plugins/Export/ExportPhparray.php M src/Plugins/Export/ExportTexytext.php M src/Plugins/ExportPlugin.php Log Message: ----------- Clean up exportFooter Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: f80d2b7f12a7a16f9df3708480ba5acb59e1d8b6 https://github.com/phpmyadmin/phpmyadmin/commit/f80d2b7f12a7a16f9df3708480ba... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Plugins/Export/ExportCodegen.php M src/Plugins/Export/ExportCsv.php M src/Plugins/Export/ExportExcel.php M src/Plugins/Export/ExportMediawiki.php M src/Plugins/Export/ExportOds.php M src/Plugins/Export/ExportPdf.php M src/Plugins/Export/ExportYaml.php M src/Plugins/ExportPlugin.php Log Message: ----------- Clean up exportDBHeader Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: bcb8bd7c3eb29c9aedc73b4ded7ce743f95bb365 https://github.com/phpmyadmin/phpmyadmin/commit/bcb8bd7c3eb29c9aedc73b4ded7c... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Plugins/Export/ExportCodegen.php M src/Plugins/Export/ExportCsv.php M src/Plugins/Export/ExportExcel.php M src/Plugins/Export/ExportHtmlword.php M src/Plugins/Export/ExportJson.php M src/Plugins/Export/ExportLatex.php M src/Plugins/Export/ExportMediawiki.php M src/Plugins/Export/ExportOds.php M src/Plugins/Export/ExportOdt.php M src/Plugins/Export/ExportPdf.php M src/Plugins/Export/ExportPhparray.php M src/Plugins/Export/ExportTexytext.php M src/Plugins/Export/ExportYaml.php M src/Plugins/ExportPlugin.php Log Message: ----------- Clean up exportDBFooter Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 4bbbb95727c70126c67f61e7cefddaa9a22b1188 https://github.com/phpmyadmin/phpmyadmin/commit/4bbbb95727c70126c67f61e7cefd... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Plugins/Export/ExportCodegen.php M src/Plugins/Export/ExportCsv.php M src/Plugins/Export/ExportExcel.php M src/Plugins/Export/ExportHtmlword.php M src/Plugins/Export/ExportJson.php M src/Plugins/Export/ExportLatex.php M src/Plugins/Export/ExportMediawiki.php M src/Plugins/Export/ExportOds.php M src/Plugins/Export/ExportOdt.php M src/Plugins/Export/ExportPdf.php M src/Plugins/Export/ExportPhparray.php M src/Plugins/Export/ExportTexytext.php M src/Plugins/Export/ExportXml.php M src/Plugins/Export/ExportYaml.php M src/Plugins/ExportPlugin.php Log Message: ----------- Clean up exportDBCreate Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 73f870ad4ac14bd56deec3aeb69c9f8f71c97496 https://github.com/phpmyadmin/phpmyadmin/commit/73f870ad4ac14bd56deec3aeb69c... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Plugins/Export/ExportOds.php M src/Plugins/Export/ExportOdt.php M src/Plugins/Export/ExportPdf.php M src/Plugins/ExportPlugin.php M tests/unit/Plugins/Export/ExportPdfTest.php Log Message: ----------- Clean up ExportPdf Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 13b34aa4719ca26f0db3c2ef7fac4f0e47187a33 https://github.com/phpmyadmin/phpmyadmin/commit/13b34aa4719ca26f0db3c2ef7fac... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: A src/Export/OutputHandler.php M phpstan-baseline.neon M psalm-baseline.xml M src/Controllers/Export/ExportController.php M src/Export/Export.php M src/Plugins/Export/ExportCodegen.php M src/Plugins/Export/ExportCsv.php M src/Plugins/Export/ExportExcel.php M src/Plugins/Export/ExportHtmlword.php M src/Plugins/Export/ExportJson.php M src/Plugins/Export/ExportLatex.php M src/Plugins/Export/ExportMediawiki.php M src/Plugins/Export/ExportOds.php M src/Plugins/Export/ExportOdt.php M src/Plugins/Export/ExportPdf.php M src/Plugins/Export/ExportPhparray.php M src/Plugins/Export/ExportSql.php M src/Plugins/Export/ExportTexytext.php M src/Plugins/Export/ExportXml.php M src/Plugins/Export/ExportYaml.php M src/Table/TableMover.php M tests/unit/Export/ExportTest.php M tests/unit/Plugins/Export/ExportCodegenTest.php M tests/unit/Plugins/Export/ExportCsvTest.php M tests/unit/Plugins/Export/ExportExcelTest.php M tests/unit/Plugins/Export/ExportHtmlwordTest.php M tests/unit/Plugins/Export/ExportJsonTest.php M tests/unit/Plugins/Export/ExportLatexTest.php M tests/unit/Plugins/Export/ExportMediawikiTest.php M tests/unit/Plugins/Export/ExportOdsTest.php M tests/unit/Plugins/Export/ExportOdtTest.php M tests/unit/Plugins/Export/ExportPdfTest.php M tests/unit/Plugins/Export/ExportPhparrayTest.php M tests/unit/Plugins/Export/ExportSqlTest.php M tests/unit/Plugins/Export/ExportTexytextTest.php M tests/unit/Plugins/Export/ExportXmlTest.php M tests/unit/Plugins/Export/ExportYamlTest.php Log Message: ----------- OutputHandler Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 0781ef6b35bce059908b353526054a4cc92a3cfd https://github.com/phpmyadmin/phpmyadmin/commit/0781ef6b35bce059908b35352605... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Controllers/Export/ExportController.php M src/Export/OutputHandler.php Log Message: ----------- Remove $saveOnServer Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 29f48465caea437dcacfe0ab1f1119d02abda642 https://github.com/phpmyadmin/phpmyadmin/commit/29f48465caea437dcacfe0ab1f11... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Controllers/Export/ExportController.php M src/Export/Export.php M src/Export/OutputHandler.php M tests/unit/Export/ExportTest.php Log Message: ----------- Clean up $compression Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 75ee3e84162da7031f6a4ca1db8de65c0d86487c https://github.com/phpmyadmin/phpmyadmin/commit/75ee3e84162da7031f6a4ca1db8d... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Controllers/Export/ExportController.php M src/Export/OutputHandler.php Log Message: ----------- Clean up the code Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: f89bfd594acf6f715fce1201caa42dee8686a34a https://github.com/phpmyadmin/phpmyadmin/commit/f89bfd594acf6f715fce1201caa4... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M phpstan-baseline.neon M src/Export/OutputHandler.php M src/Plugins.php M src/Plugins/Export/ExportCodegen.php M src/Plugins/Export/ExportCsv.php M src/Plugins/Export/ExportExcel.php M src/Plugins/Export/ExportHtmlword.php M src/Plugins/Export/ExportJson.php M src/Plugins/Export/ExportLatex.php M src/Plugins/Export/ExportMediawiki.php M src/Plugins/Export/ExportOds.php M src/Plugins/Export/ExportOdt.php M src/Plugins/Export/ExportPdf.php M src/Plugins/Export/ExportPhparray.php M src/Plugins/Export/ExportSql.php M src/Plugins/Export/ExportTexytext.php M src/Plugins/Export/ExportXml.php M src/Plugins/Export/ExportYaml.php M src/Plugins/ExportPlugin.php M tests/unit/Export/ExportTest.php M tests/unit/Plugins/Export/ExportCodegenTest.php M tests/unit/Plugins/Export/ExportCsvTest.php M tests/unit/Plugins/Export/ExportExcelTest.php M tests/unit/Plugins/Export/ExportHtmlwordTest.php M tests/unit/Plugins/Export/ExportJsonTest.php M tests/unit/Plugins/Export/ExportLatexTest.php M tests/unit/Plugins/Export/ExportMediawikiTest.php M tests/unit/Plugins/Export/ExportOdsTest.php M tests/unit/Plugins/Export/ExportOdtTest.php M tests/unit/Plugins/Export/ExportPdfTest.php M tests/unit/Plugins/Export/ExportPhparrayTest.php M tests/unit/Plugins/Export/ExportSqlTest.php M tests/unit/Plugins/Export/ExportTexytextTest.php M tests/unit/Plugins/Export/ExportXmlTest.php M tests/unit/Plugins/Export/ExportYamlTest.php M tests/unit/PluginsTest.php Log Message: ----------- Replace Export with OutputHandler Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 59aed69062651d7b738a3e6d35711e4b2a9c4bc4 https://github.com/phpmyadmin/phpmyadmin/commit/59aed69062651d7b738a3e6d3571... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Controllers/Export/ExportController.php M tests/unit/Plugins/Export/ExportCsvTest.php Log Message: ----------- Split up long lines Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 0833498c0e42351363641abdbb013175a8a7c284 https://github.com/phpmyadmin/phpmyadmin/commit/0833498c0e42351363641abdbb01... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M app/services.php M src/Export/Export.php M src/Plugins.php M tests/unit/Controllers/Export/ExportControllerTest.php M tests/unit/Export/ExportTest.php Log Message: ----------- Use DI for the new class Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: a513eb45df65f9bdecd598090e847cee99f37093 https://github.com/phpmyadmin/phpmyadmin/commit/a513eb45df65f9bdecd598090e84... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Controllers/Export/ExportController.php M src/Export/Export.php Log Message: ----------- Remove $_POST from openFile Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 79987b5b49cc6f9fd9f71b21f4aa4ce39f1e2aff https://github.com/phpmyadmin/phpmyadmin/commit/79987b5b49cc6f9fd9f71b21f4aa... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Controllers/Export/ExportController.php M src/Export/Export.php M src/Export/OutputHandler.php Log Message: ----------- Move openFile to the new class Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 1519d2bda70f36c060d7747bf4a4908780a12b36 https://github.com/phpmyadmin/phpmyadmin/commit/1519d2bda70f36c060d7747bf4a4... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M psalm-baseline.xml M src/Export/OutputHandler.php Log Message: ----------- Refactor closeFile Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 69a2a313db4ffba743b5c5ab55064d675eb64c01 https://github.com/phpmyadmin/phpmyadmin/commit/69a2a313db4ffba743b5c5ab5506... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml M src/Controllers/Export/ExportController.php M src/Export/OutputHandler.php Log Message: ----------- Refactor openFile Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 3d8f0ae747dc136ecc381add4bcd93f95cd74bbb https://github.com/phpmyadmin/phpmyadmin/commit/3d8f0ae747dc136ecc381add4bcd... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Plugins/Export/ExportCsv.php Log Message: ----------- Refactor ExportCsv Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 89d3769f0ab4af9048c886453b672ed2457ddb84 https://github.com/phpmyadmin/phpmyadmin/commit/89d3769f0ab4af9048c886453b67... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Export/OutputHandler.php Log Message: ----------- Reducing nesting level in addLine Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 928ad061f0bc4040f70b40479db69efdf9c8a03e https://github.com/phpmyadmin/phpmyadmin/commit/928ad061f0bc4040f70b40479db6... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-22 (Sat, 11 November 2025) +00:00 Changed paths: M src/Controllers/Export/ExportController.php M src/Export/OutputHandler.php Log Message: ----------- Remove dead code There is no way this has ever worked. The conditions are inverted and the logic doesn't make sense. Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 58b4fc74fa781e0c4766473f0909c8e5db0034f1 https://github.com/phpmyadmin/phpmyadmin/commit/58b4fc74fa781e0c4766473f0909... Author: Kamil Tekiela <tekiela246@gmail.com> Date: 2025-11-23 (Sun, 11 November 2025) +00:00 Changed paths: M tests/end-to-end/ExportTest.php Log Message: ----------- Fix ExportTest Signed-off-by: Kamil Tekiela <tekiela246@gmail.com> Commit: 88eb22bc5728bd409f6f88a0fdf36db58170ab61 https://github.com/phpmyadmin/phpmyadmin/commit/88eb22bc5728bd409f6f88a0fdf3... Author: MaurĂcio Meneghini Fauth <mauricio@mfauth.com.br> Date: 2025-12-15 (Mon, 12 December 2025) -03:00 Changed paths: A src/Export/OutputHandler.php M app/services.php M phpstan-baseline.neon M psalm-baseline.xml M src/Controllers/Export/ExportController.php M src/Export/Export.php M src/Plugins.php M src/Plugins/Export/ExportCodegen.php M src/Plugins/Export/ExportCsv.php M src/Plugins/Export/ExportExcel.php M src/Plugins/Export/ExportHtmlword.php M src/Plugins/Export/ExportJson.php M src/Plugins/Export/ExportLatex.php M src/Plugins/Export/ExportMediawiki.php M src/Plugins/Export/ExportOds.php M src/Plugins/Export/ExportOdt.php M src/Plugins/Export/ExportPdf.php M src/Plugins/Export/ExportPhparray.php M src/Plugins/Export/ExportSql.php M src/Plugins/Export/ExportTexytext.php M src/Plugins/Export/ExportXml.php M src/Plugins/Export/ExportYaml.php M src/Plugins/ExportPlugin.php M src/Table/TableMover.php M tests/unit/Controllers/Export/ExportControllerTest.php M tests/unit/Export/ExportTest.php M tests/unit/Plugins/Export/ExportCodegenTest.php M tests/unit/Plugins/Export/ExportCsvTest.php M tests/unit/Plugins/Export/ExportExcelTest.php M tests/unit/Plugins/Export/ExportHtmlwordTest.php M tests/unit/Plugins/Export/ExportJsonTest.php M tests/unit/Plugins/Export/ExportLatexTest.php M tests/unit/Plugins/Export/ExportMediawikiTest.php M tests/unit/Plugins/Export/ExportOdsTest.php M tests/unit/Plugins/Export/ExportOdtTest.php M tests/unit/Plugins/Export/ExportPdfTest.php M tests/unit/Plugins/Export/ExportPhparrayTest.php M tests/unit/Plugins/Export/ExportSqlTest.php M tests/unit/Plugins/Export/ExportTexytextTest.php M tests/unit/Plugins/Export/ExportXmlTest.php M tests/unit/Plugins/Export/ExportYamlTest.php M tests/unit/PluginsTest.php Log Message: ----------- Merge pull request #19957 from kamil-tekiela/Refactor-ExportPlugin Refactor export plugins
participants (1)
-
Kamil Tekiela