Skip to content

Commit

Permalink
Merge pull request #6 from Yurunsoft/master
Browse files Browse the repository at this point in the history
Add support phpunit 9
  • Loading branch information
exussum12 authored Nov 30, 2020
2 parents 8e2b216 + ca530c1 commit f5567ec
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor
/composer.lock
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"ext-bcmath": "*"
},
"require-dev": {
"phpunit/phpunit": "^7.1|^8.0"
"phpunit/phpunit": "^7.1|^8.0|^9.0"
},
"autoload": {
"psr-4": {
Expand Down
3 changes: 3 additions & 0 deletions tests/FFIH64HashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ public function testDifferntSeed()
}
public function testStaticCall()
{
if(version_compare(PHP_VERSION, '7.0', '>=')) {
$this->markTestSkipped('Static call is deprecated');
}
$this->assertSame(
'4fdcca5ddb678139',
V64::hash('test')
Expand Down
3 changes: 3 additions & 0 deletions tests/FFIHashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public function testDifferntSeed()
}
public function testStaticCall()
{
if(version_compare(PHP_VERSION, '7.0', '>=')) {
$this->markTestSkipped('Static call is deprecated');
}
$this->assertSame(
'3e2023cf',
V32::hash('test')
Expand Down
3 changes: 3 additions & 0 deletions tests/HashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public function testDifferntSeed()
}
public function testStaticCall()
{
if(version_compare(PHP_VERSION, '7.0', '>=')) {
$this->markTestSkipped('Static call is deprecated');
}
$this->assertSame(
'3e2023cf',
V32::hash('test')
Expand Down

0 comments on commit f5567ec

Please sign in to comment.