phpmyadmin/test/classes/EnvironmentTest.php
Maurício Meneghini Fauth 0b9c35a056 Remove uses statements from the same namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-05-24 13:00:24 -03:00

30 lines
520 B
PHP

<?php
/**
* tests for environment like OS, PHP, modules, ...
*/
declare(strict_types=1);
namespace PhpMyAdmin\Tests;
use const PHP_VERSION;
use function version_compare;
/**
* Environment tests
*/
class EnvironmentTest extends AbstractTestCase
{
/**
* Tests PHP version
*
* @return void
*/
public function testPhpVersion()
{
$this->assertTrue(
version_compare('7.1.3', PHP_VERSION, '<='),
'phpMyAdmin requires PHP 7.1.3 or above'
);
}
}