Replaces $this->method() with self::method(). Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
27 lines
478 B
PHP
27 lines
478 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace PhpMyAdmin\Tests;
|
|
|
|
use PHPUnit\Framework\Attributes\CoversNothing;
|
|
|
|
use function version_compare;
|
|
|
|
use const PHP_VERSION;
|
|
|
|
#[CoversNothing]
|
|
class EnvironmentTest extends AbstractTestCase
|
|
{
|
|
/**
|
|
* Tests PHP version
|
|
*/
|
|
public function testPhpVersion(): void
|
|
{
|
|
self::assertTrue(
|
|
version_compare('8.1.2', PHP_VERSION, '<='),
|
|
'phpMyAdmin requires PHP 8.1.2 or above',
|
|
);
|
|
}
|
|
}
|