Skip to content

Commit

Permalink
add php version test
Browse files Browse the repository at this point in the history
  • Loading branch information
ArrayIterator committed Nov 10, 2023
1 parent 4e1ba52 commit 4fb95c7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/DNSClientPhpVersionTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);

namespace {

use PHPUnit\Framework\TestCase;

class DNSClientPhpVersionTest extends TestCase
{
public function testPhpVersion()
{
$this->assertTrue(
version_compare(phpversion(), '8.1', '>='),
sprintf(
'Php version should greater than %s',
'8.1'
)
);
}
}
}

0 comments on commit 4fb95c7

Please sign in to comment.