You've already forked phpmyadmin
mirror of
https://github.com/phpmyadmin/phpmyadmin.git
synced 2026-10-25 06:39:48 +03:00
27 lines
469 B
PHP
27 lines
469 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Tests;
|
|
|
|
use PHPUnit\Framework\Attributes\CoversNothing;
|
|
|
|
use function version_compare;
|
|
|
|
use const PHP_VERSION;
|
|
|
|
/**
|
|
* @coversNothing
|
|
*/
|
|
#[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');
|
|
}
|
|
}
|