phpmyadmin/tests/bootstrap-static.php
Maurício Meneghini Fauth 120f5ae847
Remove PMA_PATH_TO_BASEDIR constant
It's always an empty string.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-07-07 19:40:41 -03:00

26 lines
569 B
PHP

<?php
/**
* Bootstrap file for psalm
*
* The checks for defined are because psalm --alter can use this file multiple times
*/
declare(strict_types=1);
if (! defined('ROOT_PATH')) {
// phpcs:disable PSR1.Files.SideEffects
define('ROOT_PATH', dirname(__DIR__) . DIRECTORY_SEPARATOR);
// phpcs:enable
}
// phpcs:disable PSR1.Files.SideEffects
if (! defined('TESTSUITE')) {
define('TESTSUITE', true);
}
// phpcs:enable
include_once ROOT_PATH . 'examples/signon-script.php';
require_once ROOT_PATH . 'app/constants.php';
require_once AUTOLOAD_FILE;