mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-26 17:46:38 +03:00
PECL UUID extension does not yet work in PHP 7
This commit is contained in:
@@ -40,6 +40,10 @@ class PeclUuidTest extends \PHPUnit_Framework_TestCase
|
||||
$this->markTestSkipped('PECL Uuid extension not available in HHVM');
|
||||
}
|
||||
|
||||
if (version_compare(PHP_VERSION, '7.0.0-dev', '>=')) {
|
||||
$this->markTestSkipped('PECL Uuid extension does not yet work in PHP 7');
|
||||
}
|
||||
|
||||
$this->mockFactory->expects($this->never())
|
||||
->method('uuid1');
|
||||
|
||||
@@ -95,6 +99,10 @@ class PeclUuidTest extends \PHPUnit_Framework_TestCase
|
||||
$this->markTestSkipped('PECL Uuid extension not available in HHVM');
|
||||
}
|
||||
|
||||
if (version_compare(PHP_VERSION, '7.0.0-dev', '>=')) {
|
||||
$this->markTestSkipped('PECL Uuid extension does not yet work in PHP 7');
|
||||
}
|
||||
|
||||
$this->mockFactory->expects($this->never())
|
||||
->method('uuid4');
|
||||
|
||||
@@ -117,4 +125,4 @@ class PeclUuidTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
Uuid::uuid5(Uuid::NAMESPACE_DNS, str_replace('\\', '.', __NAMESPACE__));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user