[phpmyadmin/phpmyadmin] 00418f: Extract EventsControllerTest fixtures into files
Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: 00418f6507a1fd0adc7ac8c5dd9778b1dd52d1dc https://github.com/phpmyadmin/phpmyadmin/commit/00418f6507a1fd0adc7ac8c5dd97... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-12 (Mon, 10 October 2026) -03:00 Changed paths: A tests/unit/Controllers/Database/Fixtures/Events-testWithEvents.html A tests/unit/Controllers/Database/Fixtures/Events-testWithoutEvents.html M .editorconfig M phpstan-baseline.neon M psalm-baseline.xml M tests/unit/Controllers/Database/EventsControllerTest.php Log Message: ----------- Extract EventsControllerTest fixtures into files Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Commit: fc3c643dc80c41ef98e0ed09736207cc36a34653 https://github.com/phpmyadmin/phpmyadmin/commit/fc3c643dc80c41ef98e0ed097362... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-12 (Mon, 10 October 2026) -03:00 Changed paths: A resources/templates/events/editor-form.twig A resources/templates/events/index.twig A resources/templates/events/row.twig A src/Controllers/Events/IndexController.php A tests/unit/Controllers/Events/Fixtures/Index-testWithEvents.html A tests/unit/Controllers/Events/Fixtures/Index-testWithoutEvents.html A tests/unit/Controllers/Events/IndexControllerTest.php M app/services_controllers.php M phpstan-baseline.neon M psalm-baseline.xml M tests/unit/Routing/RoutesTest.php D resources/templates/database/events/editor_form.twig D resources/templates/database/events/index.twig D resources/templates/database/events/row.twig D src/Controllers/Database/EventsController.php D tests/unit/Controllers/Database/EventsControllerTest.php D tests/unit/Controllers/Database/Fixtures/Events-testWithEvents.html D tests/unit/Controllers/Database/Fixtures/Events-testWithoutEvents.html Log Message: ----------- Move Database\EventsController to Events\IndexController Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Commit: 2b5b66989bc94c4fe94fb3a853252e8ef4e408d2 https://github.com/phpmyadmin/phpmyadmin/commit/2b5b66989bc94c4fe94fb3a85325... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-12 (Mon, 10 October 2026) -03:00 Changed paths: M resources/templates/events/editor-form.twig M resources/templates/events/index.twig M resources/templates/events/row.twig M src/Config/SpecialSchemaLinks.php M src/Controllers/Events/IndexController.php M src/Menu.php M src/Navigation/Nodes/NodeEvent.php M src/Navigation/Nodes/NodeEventContainer.php M tests/unit/Config/SpecialSchemaLinksTest.php M tests/unit/Controllers/Events/Fixtures/Index-testWithEvents.html M tests/unit/Controllers/Events/Fixtures/Index-testWithoutEvents.html M tests/unit/Navigation/Nodes/NodeEventContainerTest.php M tests/unit/Navigation/Nodes/NodeEventTest.php M tests/unit/Routing/RoutesTest.php Log Message: ----------- Rename route /database/events to /events Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Commit: da70d30b7525a27fa56caaddf8637c0384abb08f https://github.com/phpmyadmin/phpmyadmin/commit/da70d30b7525a27fa56caaddf863... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-12 (Mon, 10 October 2026) -03:00 Changed paths: A resources/js/events.ts M src/Controllers/Events/IndexController.php M webpack.config.cjs D resources/js/database/events.ts Log Message: ----------- Move js/database/events.ts to js/events.ts Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Commit: 6bc9e8da1a41e7a062f35308e1b5dc8b19d26999 https://github.com/phpmyadmin/phpmyadmin/commit/6bc9e8da1a41e7a062f35308e1b5... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-12 (Mon, 10 October 2026) -03:00 Changed paths: A src/Events/Events.php A tests/end-to-end/Events/EventsTest.php A tests/unit/Events/EventsTest.php M app/services.php M app/services_controllers.php M phpstan-baseline.neon M psalm-baseline.xml M src/Controllers/Events/IndexController.php M src/Operations.php M src/Plugins/Export/ExportSql.php M src/Plugins/Export/ExportXml.php M tests/unit/Container/ContainerBuilderTest.php M tests/unit/Controllers/Events/IndexControllerTest.php D src/Database/Events.php D tests/end-to-end/Database/EventsTest.php D tests/unit/Database/EventsTest.php Log Message: ----------- Move class Database\Events to Events\Events Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Commit: 3727b25df4e0a7d5c46f5f59424f98dbdca87fce https://github.com/phpmyadmin/phpmyadmin/commit/3727b25df4e0a7d5c46f5f59424f... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-12 (Mon, 10 October 2026) -03:00 Changed paths: M src/Controllers/Events/IndexController.php M tests/unit/Controllers/Events/IndexControllerTest.php Log Message: ----------- Add unit tests for events export Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Commit: 5cb2daea60344f60300d7bde6685d22ab52c5497 https://github.com/phpmyadmin/phpmyadmin/commit/5cb2daea60344f60300d7bde6685... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-12 (Mon, 10 October 2026) -03:00 Changed paths: A src/Controllers/Events/ExportController.php A tests/unit/Controllers/Events/ExportControllerTest.php M app/services_controllers.php M psalm-baseline.xml M resources/templates/events/index.twig M resources/templates/events/row.twig M src/Controllers/Events/IndexController.php M src/Events/Events.php M tests/unit/Controllers/Events/Fixtures/Index-testWithEvents.html M tests/unit/Controllers/Events/IndexControllerTest.php M tests/unit/Routing/RoutesTest.php Log Message: ----------- Extract event export action into Events\ExportController Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Commit: 37b73b3e5922058aeaf24cdd797e8de9aa733f7f https://github.com/phpmyadmin/phpmyadmin/commit/37b73b3e5922058aeaf24cdd797e... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-12 (Mon, 10 October 2026) -03:00 Changed paths: A tests/unit/Controllers/Events/Fixtures/Index-testCreateEvent.html M app/services_controllers.php M psalm-baseline.xml M resources/templates/events/editor-form.twig M src/Controllers/Events/IndexController.php M src/Events/Events.php M tests/unit/Controllers/Events/IndexControllerTest.php Log Message: ----------- Add unit tests for create event action in Events\IndexController Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Commit: d250d31a410ba3e11179b9160386775303d704d7 https://github.com/phpmyadmin/phpmyadmin/commit/d250d31a410ba3e11179b9160386... Author: Maurício Meneghini Fauth <mauricio@mfauth.com.br> Date: 2026-10-13 (Tue, 10 October 2026) -03:00 Changed paths: A resources/js/events.ts A resources/templates/events/editor-form.twig A resources/templates/events/index.twig A resources/templates/events/row.twig A src/Controllers/Events/ExportController.php A src/Controllers/Events/IndexController.php A src/Events/Events.php A tests/end-to-end/Events/EventsTest.php A tests/unit/Controllers/Events/ExportControllerTest.php A tests/unit/Controllers/Events/Fixtures/Index-testCreateEvent.html A tests/unit/Controllers/Events/Fixtures/Index-testWithEvents.html A tests/unit/Controllers/Events/Fixtures/Index-testWithoutEvents.html A tests/unit/Controllers/Events/IndexControllerTest.php A tests/unit/Events/EventsTest.php M .editorconfig M app/services.php M app/services_controllers.php M phpstan-baseline.neon M psalm-baseline.xml M src/Config/SpecialSchemaLinks.php M src/Menu.php M src/Navigation/Nodes/NodeEvent.php M src/Navigation/Nodes/NodeEventContainer.php M src/Operations.php M src/Plugins/Export/ExportSql.php M src/Plugins/Export/ExportXml.php M tests/unit/Config/SpecialSchemaLinksTest.php M tests/unit/Container/ContainerBuilderTest.php M tests/unit/Navigation/Nodes/NodeEventContainerTest.php M tests/unit/Navigation/Nodes/NodeEventTest.php M tests/unit/Routing/RoutesTest.php M webpack.config.cjs D resources/js/database/events.ts D resources/templates/database/events/editor_form.twig D resources/templates/database/events/index.twig D resources/templates/database/events/row.twig D src/Controllers/Database/EventsController.php D src/Database/Events.php D tests/end-to-end/Database/EventsTest.php D tests/unit/Controllers/Database/EventsControllerTest.php D tests/unit/Database/EventsTest.php Log Message: ----------- Merge pull request #20524 from MauricioFauth/events-controller-refactor Refactor the Database\EventsController
participants (1)
-
Maurício Meneghini Fauth