Branch: refs/heads/master Home: https://github.com/phpmyadmin/phpmyadmin Commit: 93fa48e286def43b336a207ca7e87472e1300e41 https://github.com/phpmyadmin/phpmyadmin/commit/93fa48e286def43b336a207ca7e87472e1300e41 Author: Maurício Meneghini Fauth <mauri...@fauth.dev> Date: 2023-08-12 (Sat, 08 August 2023) -03:00
Changed paths: A test/classes/Controllers/HomeControllerTest.php M libraries/classes/Application.php M libraries/classes/Controllers/HomeController.php M libraries/classes/DatabaseInterface.php M libraries/classes/Footer.php M libraries/classes/Http/ServerRequest.php M libraries/classes/Menu.php M libraries/classes/Plugins/Auth/AuthenticationCookie.php M libraries/classes/Routing/Routing.php M libraries/services_controllers.php M psalm-baseline.xml M test/classes/ApplicationTest.php M test/classes/Http/ServerRequestTest.php Log Message: ----------- Refactor the ServerRequest::getRoute() method Extracts the redirection to database and table pages to the HomeController for an actual redirection instead of an implicit one. Removes the Application::getRequest() method as the ServerRequest object should be an immutable object. Adds a Routing::$route static variable to be used at the places that the ServerRequest object is not available. Signed-off-by: Maurício Meneghini Fauth <mauri...@fauth.dev> Commit: 7e9ce8df8ce2f1c5970f134e25433a56aef2567b https://github.com/phpmyadmin/phpmyadmin/commit/7e9ce8df8ce2f1c5970f134e25433a56aef2567b Author: Maurício Meneghini Fauth <mauri...@fauth.dev> Date: 2023-08-12 (Sat, 08 August 2023) -03:00 Changed paths: A test/classes/Controllers/HomeControllerTest.php M libraries/classes/Application.php M libraries/classes/Controllers/HomeController.php M libraries/classes/DatabaseInterface.php M libraries/classes/Footer.php M libraries/classes/Http/ServerRequest.php M libraries/classes/Menu.php M libraries/classes/Plugins/Auth/AuthenticationCookie.php M libraries/classes/Routing/Routing.php M libraries/services_controllers.php M psalm-baseline.xml M test/classes/ApplicationTest.php M test/classes/Http/ServerRequestTest.php Log Message: ----------- Merge pull request #18616 from MauricioFauth/server-request-route Refactor the `ServerRequest::getRoute()` method _______________________________________________ Git mailing list -- git@phpmyadmin.net To unsubscribe send an email to git-le...@phpmyadmin.net