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>
15 lines
208 B
PHP
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
|
|
{
|
|
}
|