phpmyadmin/libraries/classes/Exceptions/ExitException.php
Maurício Meneghini Fauth 22c6a2f9d8
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@fauth.dev>
2023-06-06 21:54:07 -03:00

15 lines
208 B
PHP

<?php
declare(strict_types=1);
namespace PhpMyAdmin\Exceptions;
use Exception;
/**
* Used in tests as a replacement for the 'exit' language construct.
*/
final class ExitException extends Exception
{
}