[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 22c6a2: Add a wrapper around the exit language construct

Maurício Meneghini Fauth mauricio at fauth.dev
Wed Jun 7 12:37:20 CEST 2023


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 22c6a2f9d87947eb4e686690cb5a1397322d40b0
https://github.com/phpmyadmin/phpmyadmin/commit/22c6a2f9d87947eb4e686690cb5a1397322d40b0
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2023-06-06 (Tue, 06 June 2023) -03:00

Changed paths: 
A libraries/classes/Exceptions/ExitException.php
M libraries/classes/Config/PageSettings.php
M libraries/classes/Controllers/AbstractController.php
M libraries/classes/Controllers/Export/ExportController.php
M libraries/classes/Controllers/Table/RelationController.php
M libraries/classes/Controllers/Table/Structure/SaveController.php
M libraries/classes/Database/Events.php
M libraries/classes/Database/Routines.php
M libraries/classes/DatabaseInterface.php
M libraries/classes/DbTableExists.php
M libraries/classes/ErrorHandler.php
M libraries/classes/Html/Generator.php
M libraries/classes/Import.php
M libraries/classes/Pdf.php
M libraries/classes/Plugins/Auth/AuthenticationConfig.php
M libraries/classes/Plugins/Auth/AuthenticationCookie.php
M libraries/classes/Plugins/Auth/AuthenticationHttp.php
M libraries/classes/Plugins/Auth/AuthenticationSignon.php
M libraries/classes/Plugins/AuthenticationPlugin.php
M libraries/classes/Plugins/Schema/ExportRelationSchema.php
M libraries/classes/Plugins/Schema/TableStats.php
M libraries/classes/ResponseRenderer.php
M libraries/classes/Sql.php
M libraries/classes/Triggers/Triggers.php
M libraries/classes/UrlRedirector.php
M psalm-baseline.xml
M test/classes/Controllers/AbstractControllerTest.php
M test/classes/ErrorHandlerTest.php
M test/classes/Plugins/Auth/AuthenticationConfigTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php
M test/classes/Plugins/Auth/AuthenticationHttpTest.php
M test/classes/Plugins/Auth/AuthenticationSignonTest.php
M test/classes/Setup/FormProcessingTest.php
M test/classes/Stubs/ResponseRenderer.php

Log Message:
-----------
Add a wrapper around the exit language construct

Creates the PhpMyAdmin\ResponseRenderer::callExit() method as a wrapper
to the exit language construct. That makes the tests more correct as the
method will always stop the code execution.

Signed-off-by: Maurício Meneghini Fauth <mauricio at fauth.dev>

Commit: 4fc73229c77d9f3223a5d48508a5076186e3bed9
https://github.com/phpmyadmin/phpmyadmin/commit/4fc73229c77d9f3223a5d48508a5076186e3bed9
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2023-06-07 (Wed, 06 June 2023) -03:00

Changed paths: 
A libraries/classes/Exceptions/ExitException.php
M libraries/classes/Config/PageSettings.php
M libraries/classes/Controllers/AbstractController.php
M libraries/classes/Controllers/Export/ExportController.php
M libraries/classes/Controllers/Table/RelationController.php
M libraries/classes/Controllers/Table/Structure/SaveController.php
M libraries/classes/Database/Events.php
M libraries/classes/Database/Routines.php
M libraries/classes/DatabaseInterface.php
M libraries/classes/DbTableExists.php
M libraries/classes/ErrorHandler.php
M libraries/classes/Html/Generator.php
M libraries/classes/Import.php
M libraries/classes/Pdf.php
M libraries/classes/Plugins/Auth/AuthenticationConfig.php
M libraries/classes/Plugins/Auth/AuthenticationCookie.php
M libraries/classes/Plugins/Auth/AuthenticationHttp.php
M libraries/classes/Plugins/Auth/AuthenticationSignon.php
M libraries/classes/Plugins/AuthenticationPlugin.php
M libraries/classes/Plugins/Schema/ExportRelationSchema.php
M libraries/classes/Plugins/Schema/TableStats.php
M libraries/classes/ResponseRenderer.php
M libraries/classes/Sql.php
M libraries/classes/Triggers/Triggers.php
M libraries/classes/UrlRedirector.php
M psalm-baseline.xml
M test/classes/Controllers/AbstractControllerTest.php
M test/classes/ErrorHandlerTest.php
M test/classes/Plugins/Auth/AuthenticationConfigTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php
M test/classes/Plugins/Auth/AuthenticationHttpTest.php
M test/classes/Plugins/Auth/AuthenticationSignonTest.php
M test/classes/Setup/FormProcessingTest.php
M test/classes/Stubs/ResponseRenderer.php

Log Message:
-----------
Merge pull request #18485 from MauricioFauth/exit-wrapper

Add a wrapper around the `exit` language construct



More information about the Git mailing list