PECL UUID extension does not yet work in PHP 7

This commit is contained in:
Ben Ramsey
2015-03-21 20:42:32 +00:00
parent 2c1c525d70
commit 6cfb4fc4c4
+9 -1
View File
@@ -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__));
}
}
}