Backports #18907 to QA_5_2. This makes merging QA_5_2 into master easier. Changes done using Rector. - #18907 Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
24 lines
403 B
PHP
24 lines
403 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Tests;
|
|
|
|
use function version_compare;
|
|
|
|
use const PHP_VERSION;
|
|
|
|
/**
|
|
* @coversNothing
|
|
*/
|
|
class EnvironmentTest extends AbstractTestCase
|
|
{
|
|
/**
|
|
* Tests PHP version
|
|
*/
|
|
public function testPhpVersion(): void
|
|
{
|
|
self::assertTrue(version_compare('7.2.5', PHP_VERSION, '<='), 'phpMyAdmin requires PHP 7.2.5 or above');
|
|
}
|
|
}
|